[code] package structure changed

This commit is contained in:
Anna Bulenkova 2015-01-19 14:37:51 +01:00
parent 3bb3c53bd2
commit c4bd710d27
20 changed files with 38 additions and 38 deletions

View File

@ -29,15 +29,15 @@
<idea-version since-build="139.000" until-build="999"/>
<!-- Resource bundle from which the text of plugin descriptions, action names and etc. will be loaded -->
<resource-bundle>org.jetbrains.plugins.sample.PluginSampleBundle</resource-bundle>
<resource-bundle>org.jetbrains.tutorials.sample.PluginSampleBundle</resource-bundle>
<!-- Plugin's application components -->
<application-components>
<component>
<!-- Component's interface class -->
<interface-class>org.jetbrains.plugins.sample.DummyApplicationComponent</interface-class>
<interface-class>org.jetbrains.tutorials.sample.DummyApplicationComponent</interface-class>
<!-- Component's implementation class -->
<implementation-class>org.jetbrains.plugins.sample.DummyApplicationComponentImpl</implementation-class>
<implementation-class>org.jetbrains.tutorials.sample.DummyApplicationComponentImpl</implementation-class>
</component>
</application-components>
@ -45,8 +45,8 @@
<project-components>
<component>
<!-- Interface and implementation classes are the same -->
<interface-class>org.jetbrains.plugins.sample.DummyProjectComponent</interface-class>
<implementation-class>org.jetbrains.plugins.sample.DummyProjectComponentImpl</implementation-class>
<interface-class>org.jetbrains.tutorials.sample.DummyProjectComponent</interface-class>
<implementation-class>org.jetbrains.tutorials.sample.DummyProjectComponentImpl</implementation-class>
<!-- If the "workspace" option is set "true", the component saves its state to the .iws file
instead of the .ipr file. Note that the <option> element is used only if the component implements the JDOMExternalizable interface. Otherwise, the use of the <option> element takes no effect.-->
@ -59,8 +59,8 @@
<!-- Plugin's module components -->
<module-components>
<component>
<interface-class>org.jetbrains.plugins.sample.DummyModuleComponent</interface-class>
<implementation-class>org.jetbrains.plugins.sample.DummyModuleComponentImpl</implementation-class>
<interface-class>org.jetbrains.tutorials.sample.DummyModuleComponent</interface-class>
<implementation-class>org.jetbrains.tutorials.sample.DummyModuleComponentImpl</implementation-class>
</component>
</module-components>
@ -73,7 +73,7 @@
The optional "use-shortcut-of" attribute specifies the ID of the action whose keyboard shortcut this action will use.
The optional "description" attribute specifies the text which is displayed in the status bar when the action is focused.
The optional "icon" attribute specifies the icon which is displayed on the toolbar button or next to the menu item. -->
<action id="PluginSample.DummyAction" class="org.jetbrains.plugins.sample.actions.SimpleAction" text="Dummy Action"
<action id="PluginSample.DummyAction" class="org.jetbrains.tutorials.sample.actions.SimpleAction" text="Dummy Action"
description="Illustrates how to plug an action in">
<!-- The <keyboard-shortcut> node specifies the keyboard shortcut for the action. An action can have several keyboard shortcuts.
The mandatory "first-keystroke" attribute specifies the first keystroke of the action. The key strokes are specified according to the regular Swing rules.
@ -107,12 +107,12 @@
The optional "popup" attribute specifies how the group is presented in the menu. If a group has popup="true", actions in it
are placed in a submenu; for popup="false", actions are displayed as a section of the same menu delimited by separators. -->
<group id="DummyDefaultActionGroup" text="Default action group">
<action class="org.jetbrains.plugins.sample.actions.GroupedToDefaultAction" id="PluginSample.GroupedToDefaultAction"/>
<action class="org.jetbrains.tutorials.sample.actions.GroupedToDefaultAction" id="PluginSample.GroupedToDefaultAction"/>
</group>
<group class="org.jetbrains.plugins.sample.actions.DummyActionGroup" id="DummyActionGroup" text="Action Group"
<group class="org.jetbrains.tutorials.sample.actions.DummyActionGroup" id="DummyActionGroup" text="Action Group"
description="Illustration of an action group"
icon="icons/testgroup.png" popup="true">
<action id="PluginSample.GroupedAction" class="org.jetbrains.plugins.sample.actions.GroupedAction"
<action id="PluginSample.GroupedAction" class="org.jetbrains.tutorials.sample.actions.GroupedAction"
text="Grouped Action" description="An action in the group"/>
<!-- The <separator> element defines a separator between actions. It can also have an <add-to-group> child element. -->
<separator/>

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample;
package org.jetbrains.tutorials.sample;
import com.intellij.openapi.components.ApplicationComponent;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample;
package org.jetbrains.tutorials.sample;
import org.jetbrains.annotations.NotNull;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample;
package org.jetbrains.tutorials.sample;
import com.intellij.openapi.module.ModuleComponent;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample;
package org.jetbrains.tutorials.sample;
import org.jetbrains.annotations.NotNull;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample;
package org.jetbrains.tutorials.sample;
import com.intellij.openapi.components.ProjectComponent;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample;
package org.jetbrains.tutorials.sample;
import org.jetbrains.annotations.NotNull;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.actions;
package org.jetbrains.tutorials.sample.actions;
import com.intellij.openapi.actionSystem.ActionGroup;
import com.intellij.openapi.actionSystem.AnAction;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.actions;
package org.jetbrains.tutorials.sample.actions;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.actions;
package org.jetbrains.tutorials.sample.actions;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.actions;
package org.jetbrains.tutorials.sample.actions;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;

View File

@ -13,7 +13,7 @@
<depends>com.intellij.modules.lang</depends>
<extensions defaultExtensionNs="com.intellij">
<projectViewPane implementation="org.jetbrains.plugins.sample.pane.ImagesProjectViewPane"/>
<projectViewPane implementation="org.jetbrains.tutorials.sample.pane.ImagesProjectViewPane"/>
</extensions>
<application-components>

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.pane;
package org.jetbrains.tutorials.sample.pane;
import com.intellij.icons.AllIcons;
import com.intellij.ide.projectView.PresentationData;

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.pane;
package org.jetbrains.tutorials.sample.pane;
import com.intellij.icons.AllIcons;
import com.intellij.ide.SelectInTarget;

View File

@ -13,7 +13,7 @@
<depends>com.intellij.modules.lang</depends>
<extensions defaultExtensionNs="com.intellij">
<treeStructureProvider implementation="org.jetbrains.plugins.sample.tree.TextOnlyTreeStructureProvider"/>
<treeStructureProvider implementation="org.jetbrains.tutorials.sample.tree.TextOnlyTreeStructureProvider"/>
</extensions>
<application-components>

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.sample.tree;
package org.jetbrains.tutorials.sample.tree;
import com.intellij.ide.projectView.TreeStructureProvider;
import com.intellij.ide.projectView.ViewSettings;

View File

@ -24,7 +24,7 @@ To register an action as a menu item, an <action> attribute should be added to t
The optional "description" attribute specifies the text which is displayed in the status bar when the action is focused.
The optional "icon" attribute specifies the icon which is displayed on the toolbar button or next to the menu item. -->
<action id="PluginSample.DummyAction" class="org.jetbrains.plugins.sample.actions.SimpleAction" text="Dummy Action" description="Illustrates how to plug an action in">
<action id="PluginSample.DummyAction" class="SimpleAction" text="Dummy Action" description="Illustrates how to plug an action in">
<!-- The <keyboard-shortcut> node specifies the keyboard shortcut for the action. An action can have several keyboard shortcuts.
The mandatory "first-keystroke" attribute specifies the first keystroke of the action. The key strokes are specified according to the regular Swing rules.
@ -107,7 +107,7 @@ file. In most of the cases you simply need to leave "class" attribute of the <gr
will be created and filled with actions defined within it.
<group id="DummyDefaultActionGroup" text="Default action group">
<action class="org.jetbrains.plugins.sample.actions.GroupedToDefaultAction" id="PluginSample.GroupedToDefaultAction"/>
<action class="GroupedToDefaultAction" id="PluginSample.GroupedToDefaultAction"/>
</group>
See
[GroupedToDefaultAction.java] (https://github.com/JetBrains/intellij-sdk/blob/master/code_samples/plugin_sample/src/org/jetbrains/plugins/sample/actions/GroupedToDefaultAction.java)
@ -132,10 +132,10 @@ belonging to this group.
The optional "icon" attribute specifies the icon which is displayed on the toolbar button or next to the group.
The optional "popup" attribute specifies how the group is presented in the menu. If a group has popup="true", actions in it
are placed in a submenu; for popup="false", actions are displayed as a section of the same menu delimited by separators. -->
<group class="org.jetbrains.plugins.sample.actions.DummyActionGroup" id="DummyActionGroup" text="Action Group"
<group class="DummyActionGroup" id="DummyActionGroup" text="Action Group"
description="Illustration of an action group"
icon="icons/testgroup.png" popup="true">
<action id="PluginSample.GroupedAction" class="org.jetbrains.plugins.sample.actions.GroupedAction"
<action id="PluginSample.GroupedAction" class="GroupedAction"
text="Grouped Action" description="An action in the group"/>
<!-- The <separator> element defines a separator between actions. It can also have an <add-to-group> child element. -->
<separator/>

View File

@ -43,9 +43,9 @@ This configuration file contains description, components, information about depe
<application-components>
<component>
<!-- Component's interface class -->
<interface-class>org.jetbrains.plugins.sample.DummyApplicationComponent</interface-class>
<interface-class>DummyApplicationComponent</interface-class>
<!-- Component's implementation class -->
<implementation-class>org.jetbrains.plugins.sample.DummyApplicationComponentImpl</implementation-class>
<implementation-class>DummyApplicationComponentImpl</implementation-class>
</component>
</application-components>
@ -53,8 +53,8 @@ This configuration file contains description, components, information about depe
<project-components>
<component>
<!-- Interface and implementation classes are the same -->
<interface-class>org.jetbrains.plugins.sample.DummyProjectComponent</interface-class>
<implementation-class>org.jetbrains.plugins.sample.DummyProjectComponentImpl</implementation-class>
<interface-class>DummyProjectComponent</interface-class>
<implementation-class>DummyProjectComponentImpl</implementation-class>
<!-- If the "workspace" option is set "true", the component saves its state to the .iws file
instead of the .ipr file. Note that the <option> element is used only if the component implements the JDOMExternalizable interface. Otherwise, the use of the <option> element takes no effect.-->
@ -67,14 +67,14 @@ This configuration file contains description, components, information about depe
<!-- Plugin's module components -->
<module-components>
<component>
<interface-class>org.jetbrains.plugins.sample.DummyModuleComponent</interface-class>
<implementation-class>org.jetbrains.plugins.sample.DummyModuleComponentImpl</implementation-class>
<interface-class>DummyModuleComponent</interface-class>
<implementation-class>DummyModuleComponentImpl</implementation-class>
</component>
</module-components>
<!-- Actions -->
<actions>
<action id="PluginSample.DummyAction" class="org.jetbrains.plugins.sample.actions.SimpleAction" text="Dummy Action" description="Illustrates how to plug an action in">
<action id="PluginSample.DummyAction" class="SimpleAction" text="Dummy Action" description="Illustrates how to plug an action in">
<keyboard-shortcut first-keystroke="control alt A" second-keystroke="C" keymap="$default"/>
</action>
</actions>

View File

@ -13,7 +13,7 @@ in the
configuration file:
<extensions defaultExtensionNs="com.intellij">
<treeStructureProvider implementation="org.jetbrains.plugins.sample.tree.TextOnlyTreeStructureProvider"/>
<treeStructureProvider implementation="TextOnlyTreeStructureProvider"/>
</extensions>
Two methods of the parent class need to be overridden.