From 455476b5e62e700ef0afa00143ef0fb44d0c969b Mon Sep 17 00:00:00 2001 From: NVlad Date: Wed, 28 Dec 2016 22:02:25 +0300 Subject: [PATCH] remove undevelopment entries --- resources/META-INF/plugin.xml | 11 ---- .../yii2framework/migrations/Condition.java | 19 ------ .../yii2framework/migrations/ToolWindow.java | 21 ------- .../settings/SearchableConfigurable.java | 63 ------------------- .../yii2framework/settings/SettingsForm.form | 44 ------------- .../yii2framework/settings/SettingsForm.java | 17 ----- 6 files changed, 175 deletions(-) delete mode 100644 src/com/yii2framework/migrations/Condition.java delete mode 100644 src/com/yii2framework/migrations/ToolWindow.java delete mode 100644 src/com/yii2framework/settings/SearchableConfigurable.java delete mode 100644 src/com/yii2framework/settings/SettingsForm.form delete mode 100644 src/com/yii2framework/settings/SettingsForm.java diff --git a/resources/META-INF/plugin.xml b/resources/META-INF/plugin.xml index c73c5046..816ce1dd 100644 --- a/resources/META-INF/plugin.xml +++ b/resources/META-INF/plugin.xml @@ -27,17 +27,6 @@ com.intellij.modules.platform - diff --git a/src/com/yii2framework/migrations/Condition.java b/src/com/yii2framework/migrations/Condition.java deleted file mode 100644 index 5012efa3..00000000 --- a/src/com/yii2framework/migrations/Condition.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.yii2framework.migrations; - -import com.intellij.notification.Notification; -import com.intellij.notification.NotificationType; -import com.intellij.notification.Notifications; - -/** - * Created by NVlad on 27.12.2016. - * - */ -public class Condition implements com.intellij.openapi.util.Condition { - - @Override - public boolean value(Object o) { - Notifications.Bus.notify(new Notification("Yii2Framework", "Yii2 Framework :: Migrations", "Condition not realized.", NotificationType.ERROR)); - - return false; - } -} diff --git a/src/com/yii2framework/migrations/ToolWindow.java b/src/com/yii2framework/migrations/ToolWindow.java deleted file mode 100644 index 6b92f2b8..00000000 --- a/src/com/yii2framework/migrations/ToolWindow.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.yii2framework.migrations; - -import com.intellij.openapi.project.Project; -import com.intellij.openapi.wm.ToolWindowFactory; -import org.jetbrains.annotations.NotNull; - -/** - * Created by NVlad on 27.12.2016. - */ -public class ToolWindow implements ToolWindowFactory { - - @Override - public void init(com.intellij.openapi.wm.ToolWindow window) { - - } - - @Override - public void createToolWindowContent(@NotNull Project project, @NotNull com.intellij.openapi.wm.ToolWindow toolWindow) { - - } -} diff --git a/src/com/yii2framework/settings/SearchableConfigurable.java b/src/com/yii2framework/settings/SearchableConfigurable.java deleted file mode 100644 index 07bff60f..00000000 --- a/src/com/yii2framework/settings/SearchableConfigurable.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.yii2framework.settings; - -import com.intellij.openapi.options.ConfigurationException; -import org.jetbrains.annotations.Nls; -import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; - -import javax.swing.*; - -/** - * Created by NVlad on 27.12.2016. - * - */ -public class SearchableConfigurable implements com.intellij.openapi.options.SearchableConfigurable { - private SettingsForm settingsForm; - - @NotNull - @Override - public String getId() { - return "yii2framework.settings"; - } - - @Nls - @Override - public String getDisplayName() { - return "Yii2 Framework Plugin"; - } - - @Nullable - @Override - public String getHelpTopic() { - return null; - } - - @Nullable - @Override - public JComponent createComponent() { - settingsForm = new SettingsForm(); - - return settingsForm.getRootPane(); - } - - @Override - public boolean isModified() { - return false; - } - - @Override - public void apply() throws ConfigurationException { - - } - - @Override - public void reset() { - - } - - @Nullable - @Override - public Runnable enableSearch(String option) { - return null; - } -} diff --git a/src/com/yii2framework/settings/SettingsForm.form b/src/com/yii2framework/settings/SettingsForm.form deleted file mode 100644 index ed1ff218..00000000 --- a/src/com/yii2framework/settings/SettingsForm.form +++ /dev/null @@ -1,44 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/src/com/yii2framework/settings/SettingsForm.java b/src/com/yii2framework/settings/SettingsForm.java deleted file mode 100644 index 0c69ba55..00000000 --- a/src/com/yii2framework/settings/SettingsForm.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.yii2framework.settings; - -import javax.swing.*; - -/** - * Created by NVlad on 27.12.2016. - * - */ -public class SettingsForm { - private JTextField textField1; - private JButton button1; - private JPanel rootPane; - - public JPanel getRootPane() { - return rootPane; - } -}