Rename class
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<implementation-class>org.jetbrains.jet.plugin.versions.OutdatedKotlinRuntimeNotification</implementation-class>
|
||||
</component>
|
||||
<component>
|
||||
<implementation-class>org.jetbrains.jet.plugin.configuration.ui.NonConfiguredKotlinProjectNotification</implementation-class>
|
||||
<implementation-class>org.jetbrains.jet.plugin.configuration.ui.NonConfiguredKotlinProjectComponent</implementation-class>
|
||||
</component>
|
||||
<component>
|
||||
<implementation-class>org.jetbrains.jet.plugin.ktSignature.KotlinSignatureInJavaMarkerUpdater</implementation-class>
|
||||
|
||||
+2
-2
@@ -24,10 +24,10 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.util.messages.MessageBusConnection;
|
||||
import org.jetbrains.jet.plugin.configuration.ConfigureKotlinInProjectUtils;
|
||||
|
||||
public class NonConfiguredKotlinProjectNotification extends AbstractProjectComponent {
|
||||
public class NonConfiguredKotlinProjectComponent extends AbstractProjectComponent {
|
||||
public static final String CONFIGURE_NOTIFICATION_GROUP_ID = "Configure Kotlin in Project";
|
||||
|
||||
protected NonConfiguredKotlinProjectNotification(Project project) {
|
||||
protected NonConfiguredKotlinProjectComponent(Project project) {
|
||||
super(project);
|
||||
|
||||
NotificationsConfiguration.getNotificationsConfiguration().
|
||||
+2
-2
@@ -26,7 +26,7 @@ import com.intellij.util.Function;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jet.plugin.configuration.ConfigureKotlinInProjectUtils;
|
||||
import org.jetbrains.jet.plugin.configuration.KotlinProjectConfigurator;
|
||||
import org.jetbrains.jet.plugin.configuration.ui.NonConfiguredKotlinProjectNotification;
|
||||
import org.jetbrains.jet.plugin.configuration.ui.NonConfiguredKotlinProjectComponent;
|
||||
|
||||
import javax.swing.event.HyperlinkEvent;
|
||||
import java.util.Collection;
|
||||
@@ -40,7 +40,7 @@ public class ConfigureKotlinNotification extends Notification {
|
||||
@NotNull final Project project,
|
||||
@NotNull String notificationText
|
||||
) {
|
||||
super(NonConfiguredKotlinProjectNotification.CONFIGURE_NOTIFICATION_GROUP_ID, TITLE, notificationText, NotificationType.WARNING, new NotificationListener() {
|
||||
super(NonConfiguredKotlinProjectComponent.CONFIGURE_NOTIFICATION_GROUP_ID, TITLE, notificationText, NotificationType.WARNING, new NotificationListener() {
|
||||
@Override
|
||||
public void hyperlinkUpdate(@NotNull Notification notification, @NotNull HyperlinkEvent event) {
|
||||
if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
|
||||
|
||||
Reference in New Issue
Block a user