diff --git a/samples/actions/actions.iml b/samples/actions/actions.iml index f4a7753e79e3..09647c68eae8 100644 --- a/samples/actions/actions.iml +++ b/samples/actions/actions.iml @@ -1,16 +1,13 @@ - + - - - + - + - diff --git a/samples/actions/actions.ipr b/samples/actions/actions.ipr index daccfdbd69be..100a83133f7d 100644 --- a/samples/actions/actions.ipr +++ b/samples/actions/actions.ipr @@ -1,16 +1,10 @@ - + - - - - - diff --git a/samples/actions/build/build.xml b/samples/actions/build/build.xml deleted file mode 100644 index 182deab8ef89..000000000000 --- a/samples/actions/build/build.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/actions/src/META-INF/plugin.xml b/samples/actions/src/META-INF/plugin.xml index fdb4597be730..1be2273a38d3 100644 --- a/samples/actions/src/META-INF/plugin.xml +++ b/samples/actions/src/META-INF/plugin.xml @@ -13,33 +13,34 @@ IntelliJ + - com.intellij.openapi.samples.ActionsPlugin + myActions.ActionsPlugin - com.intellij.openapi.samples.ActionsPlugin + myActions.ActionsPlugin - + - + - - + + - + @@ -48,7 +49,7 @@ - + diff --git a/samples/actions/src/com/intellij/openapi/samples/ActionsPlugin.java b/samples/actions/src/myActions/ActionsPlugin.java similarity index 95% rename from samples/actions/src/com/intellij/openapi/samples/ActionsPlugin.java rename to samples/actions/src/myActions/ActionsPlugin.java index 7a08663173d1..a5829933f0df 100644 --- a/samples/actions/src/com/intellij/openapi/samples/ActionsPlugin.java +++ b/samples/actions/src/myActions/ActionsPlugin.java @@ -13,7 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.intellij.openapi.samples; +package myActions; + import com.intellij.openapi.components.ApplicationComponent; @@ -40,7 +41,7 @@ public class ActionsPlugin implements ApplicationComponent { } /** - * Returns the name of component + * Returns the name of component * * @return String representing component name. Use PluginName.ComponentName notation * to avoid conflicts. diff --git a/samples/actions/src/com/intellij/openapi/samples/GarbageCollectionAction.java b/samples/actions/src/myActions/GarbageCollectionAction.java similarity index 97% rename from samples/actions/src/com/intellij/openapi/samples/GarbageCollectionAction.java rename to samples/actions/src/myActions/GarbageCollectionAction.java index 8971be754cb0..eb095665c1d0 100644 --- a/samples/actions/src/com/intellij/openapi/samples/GarbageCollectionAction.java +++ b/samples/actions/src/myActions/GarbageCollectionAction.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.intellij.openapi.samples; +package myActions; import com.intellij.openapi.actionSystem.ActionPlaces; import com.intellij.openapi.actionSystem.AnAction; diff --git a/samples/actions/src/com/intellij/openapi/samples/HelloWorldAction.java b/samples/actions/src/myActions/HelloWorldAction.java similarity index 82% rename from samples/actions/src/com/intellij/openapi/samples/HelloWorldAction.java rename to samples/actions/src/myActions/HelloWorldAction.java index 713c46561e58..cc3623b0f132 100644 --- a/samples/actions/src/com/intellij/openapi/samples/HelloWorldAction.java +++ b/samples/actions/src/myActions/HelloWorldAction.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.intellij.openapi.samples; +package myActions; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; @@ -23,7 +23,7 @@ import com.intellij.openapi.ui.Messages; public class HelloWorldAction extends AnAction { public void actionPerformed(AnActionEvent event) { - Project project = event.getData(PlatformDataKeys.PROJECT); - Messages.showMessageDialog(project, "Hello World!", "Information", Messages.getInformationIcon()); + // Project project = event.getData(PlatformDataKeys.PROJECT); + Messages.showMessageDialog("Hello World!", "Information", Messages.getInformationIcon()); } }