diff --git a/plugin_sample/plugin_sample.iml b/plugin_sample/plugin_sample.iml deleted file mode 100644 index 3700dfbf1..000000000 --- a/plugin_sample/plugin_sample.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/plugin_sample/resources/META-INF/plugin.xml b/plugin_sample/resources/META-INF/plugin.xml deleted file mode 100644 index c3984eba7..000000000 --- a/plugin_sample/resources/META-INF/plugin.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - org.jetbrains.plugins.sample.PluginSample - Basic plugin example - 1.0 - JetBrains - Samples - - most HTML tags may be used - ]]> - - most HTML tags may be used - ]]> - - - - - com.intellij.modules.platform - - - - - - - - org.jetbrains.tutorials.sample.PluginSampleBundle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugin_sample/resources/org/jetbrains/tutorials/sample/PluginSampleBundle.properties b/plugin_sample/resources/org/jetbrains/tutorials/sample/PluginSampleBundle.properties deleted file mode 100644 index 4b1033298..000000000 --- a/plugin_sample/resources/org/jetbrains/tutorials/sample/PluginSampleBundle.properties +++ /dev/null @@ -1 +0,0 @@ -key=value \ No newline at end of file diff --git a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/DummyActionGroup.java b/plugin_sample/src/org/jetbrains/tutorials/sample/actions/DummyActionGroup.java deleted file mode 100644 index d33122b45..000000000 --- a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/DummyActionGroup.java +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - -package org.jetbrains.tutorials.sample.actions; - -import com.intellij.openapi.actionSystem.*; -import org.jetbrains.annotations.NotNull; - -/** - * @author Anna Bulenkova - */ -public class DummyActionGroup extends DefaultActionGroup { - @NotNull - @Override - public AnAction[] getChildren(AnActionEvent anActionEvent) { - return new GroupedAction[0]; - } -} diff --git a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/GroupedAction.java b/plugin_sample/src/org/jetbrains/tutorials/sample/actions/GroupedAction.java deleted file mode 100644 index 363747ae7..000000000 --- a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/GroupedAction.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - -package org.jetbrains.tutorials.sample.actions; - -import com.intellij.openapi.actionSystem.*; -import org.jetbrains.annotations.NotNull; - -/** - * @author Anna Bulenkova - */ -public class GroupedAction extends AnAction { - @Override - public void actionPerformed(@NotNull AnActionEvent anActionEvent) { - - } -} diff --git a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/GroupedToDefaultAction.java b/plugin_sample/src/org/jetbrains/tutorials/sample/actions/GroupedToDefaultAction.java deleted file mode 100644 index 9a2904336..000000000 --- a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/GroupedToDefaultAction.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - -package org.jetbrains.tutorials.sample.actions; - -import com.intellij.openapi.actionSystem.*; -import org.jetbrains.annotations.NotNull; - -/** - * @author Anna Bulenkova - */ -public class GroupedToDefaultAction extends AnAction { - @Override - public void actionPerformed(@NotNull AnActionEvent anActionEvent) { - - } -} diff --git a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/SimpleAction.java b/plugin_sample/src/org/jetbrains/tutorials/sample/actions/SimpleAction.java deleted file mode 100644 index 5442192da..000000000 --- a/plugin_sample/src/org/jetbrains/tutorials/sample/actions/SimpleAction.java +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - -package org.jetbrains.tutorials.sample.actions; - -import com.intellij.openapi.actionSystem.*; -import com.intellij.openapi.project.Project; -import org.jetbrains.annotations.NotNull; - -/** - * @author Anna Bulenkova - */ -public class SimpleAction extends AnAction { - @Override - public void actionPerformed(@NotNull AnActionEvent anActionEvent) { - } - - @Override - public void update(@NotNull AnActionEvent e) { - //Make action visible and available only when project is defined - final Project project = e.getProject(); - boolean isAvailable = project != null; - e.getPresentation().setVisible(isAvailable); - e.getPresentation().setEnabled(isAvailable); - } -}