images plugin now part of a CE
authorAlexey Pegov <alexey.pegov@jetbrains.com>
Thu, 5 Nov 2009 12:28:29 +0000 (15:28 +0300)
committerAlexey Pegov <alexey.pegov@jetbrains.com>
Thu, 5 Nov 2009 12:28:29 +0000 (15:28 +0300)
81 files changed:
.idea/modules.xml
build/scripts/layouts.gant
images/images.iml [moved from plugins/images/images.iml with 100% similarity]
images/src/org/intellij/images/ImagesBundle.java [moved from plugins/images/src/org/intellij/images/ImagesBundle.java with 100% similarity]
images/src/org/intellij/images/ImagesBundle.properties [moved from plugins/images/src/org/intellij/images/ImagesBundle.properties with 100% similarity]
images/src/org/intellij/images/actions/EditExternalyAction.java [moved from plugins/images/src/org/intellij/images/actions/EditExternalyAction.java with 100% similarity]
images/src/org/intellij/images/actions/ShowThumbnailsAction.java [moved from plugins/images/src/org/intellij/images/actions/ShowThumbnailsAction.java with 100% similarity]
images/src/org/intellij/images/actions/ToggleTransparencyChessboardAction.java [moved from plugins/images/src/org/intellij/images/actions/ToggleTransparencyChessboardAction.java with 50% similarity]
images/src/org/intellij/images/completion/ImageLookupInfoProvider.java [moved from plugins/images/src/org/intellij/images/completion/ImageLookupInfoProvider.java with 100% similarity]
images/src/org/intellij/images/editor/ImageDocument.java [moved from plugins/images/src/org/intellij/images/editor/ImageDocument.java with 100% similarity]
images/src/org/intellij/images/editor/ImageEditor.java [moved from plugins/images/src/org/intellij/images/editor/ImageEditor.java with 100% similarity]
images/src/org/intellij/images/editor/ImageFileEditor.java [moved from plugins/images/src/org/intellij/images/editor/ImageFileEditor.java with 100% similarity]
images/src/org/intellij/images/editor/ImageZoomModel.java [moved from plugins/images/src/org/intellij/images/editor/ImageZoomModel.java with 100% similarity]
images/src/org/intellij/images/editor/actionSystem/ImageEditorActionUtil.java [moved from plugins/images/src/org/intellij/images/editor/actionSystem/ImageEditorActionUtil.java with 100% similarity]
images/src/org/intellij/images/editor/actionSystem/ImageEditorActions.java [moved from plugins/images/src/org/intellij/images/editor/actionSystem/ImageEditorActions.java with 100% similarity]
images/src/org/intellij/images/editor/actions/ActualSizeAction.java [moved from plugins/images/src/org/intellij/images/editor/actions/ActualSizeAction.java with 100% similarity]
images/src/org/intellij/images/editor/actions/ToggleGridAction.java [moved from plugins/images/src/org/intellij/images/editor/actions/ToggleGridAction.java with 66% similarity]
images/src/org/intellij/images/editor/actions/ZoomInAction.java [moved from plugins/images/src/org/intellij/images/editor/actions/ZoomInAction.java with 100% similarity]
images/src/org/intellij/images/editor/actions/ZoomOutAction.java [moved from plugins/images/src/org/intellij/images/editor/actions/ZoomOutAction.java with 100% similarity]
images/src/org/intellij/images/editor/impl/ImageEditorImpl.java [moved from plugins/images/src/org/intellij/images/editor/impl/ImageEditorImpl.java with 100% similarity]
images/src/org/intellij/images/editor/impl/ImageEditorManagerImpl.java [moved from plugins/images/src/org/intellij/images/editor/impl/ImageEditorManagerImpl.java with 100% similarity]
images/src/org/intellij/images/editor/impl/ImageEditorUI.java [moved from plugins/images/src/org/intellij/images/editor/impl/ImageEditorUI.java with 100% similarity]
images/src/org/intellij/images/editor/impl/ImageFileEditorImpl.java [moved from plugins/images/src/org/intellij/images/editor/impl/ImageFileEditorImpl.java with 100% similarity]
images/src/org/intellij/images/editor/impl/ImageFileEditorProvider.java [moved from plugins/images/src/org/intellij/images/editor/impl/ImageFileEditorProvider.java with 100% similarity]
images/src/org/intellij/images/fileTypes/ImageDocumentationProvider.java [moved from plugins/images/src/org/intellij/images/fileTypes/ImageDocumentationProvider.java with 100% similarity]
images/src/org/intellij/images/fileTypes/ImageFileTypeManager.java [moved from plugins/images/src/org/intellij/images/fileTypes/ImageFileTypeManager.java with 100% similarity]
images/src/org/intellij/images/fileTypes/impl/ImageFileTypeManagerImpl.java [moved from plugins/images/src/org/intellij/images/fileTypes/impl/ImageFileTypeManagerImpl.java with 100% similarity]
images/src/org/intellij/images/icons/ActualSize.png [moved from plugins/images/src/org/intellij/images/icons/ActualSize.png with 100% similarity]
images/src/org/intellij/images/icons/EditExternaly.png [moved from plugins/images/src/org/intellij/images/icons/EditExternaly.png with 100% similarity]
images/src/org/intellij/images/icons/ImagesConfigurable.png [moved from plugins/images/src/org/intellij/images/icons/ImagesConfigurable.png with 100% similarity]
images/src/org/intellij/images/icons/ImagesFileType.png [moved from plugins/images/src/org/intellij/images/icons/ImagesFileType.png with 100% similarity]
images/src/org/intellij/images/icons/ThumbnailBlank.png [moved from plugins/images/src/org/intellij/images/icons/ThumbnailBlank.png with 100% similarity]
images/src/org/intellij/images/icons/ThumbnailDirectory.png [moved from plugins/images/src/org/intellij/images/icons/ThumbnailDirectory.png with 100% similarity]
images/src/org/intellij/images/icons/ThumbnailToolWindow.png [moved from plugins/images/src/org/intellij/images/icons/ThumbnailToolWindow.png with 100% similarity]
images/src/org/intellij/images/icons/ToggleGrid.png [moved from plugins/images/src/org/intellij/images/icons/ToggleGrid.png with 100% similarity]
images/src/org/intellij/images/icons/ToggleTransparencyChessboard.png [moved from plugins/images/src/org/intellij/images/icons/ToggleTransparencyChessboard.png with 100% similarity]
images/src/org/intellij/images/icons/ZoomIn.png [moved from plugins/images/src/org/intellij/images/icons/ZoomIn.png with 100% similarity]
images/src/org/intellij/images/icons/ZoomOut.png [moved from plugins/images/src/org/intellij/images/icons/ZoomOut.png with 100% similarity]
images/src/org/intellij/images/index/ImageInfoIndex.java [moved from plugins/images/src/org/intellij/images/index/ImageInfoIndex.java with 100% similarity]
images/src/org/intellij/images/options/EditorOptions.java [moved from plugins/images/src/org/intellij/images/options/EditorOptions.java with 100% similarity]
images/src/org/intellij/images/options/ExternalEditorOptions.java [moved from plugins/images/src/org/intellij/images/options/ExternalEditorOptions.java with 100% similarity]
images/src/org/intellij/images/options/GridOptions.java [moved from plugins/images/src/org/intellij/images/options/GridOptions.java with 100% similarity]
images/src/org/intellij/images/options/Options.java [moved from plugins/images/src/org/intellij/images/options/Options.java with 100% similarity]
images/src/org/intellij/images/options/OptionsManager.java [moved from plugins/images/src/org/intellij/images/options/OptionsManager.java with 100% similarity]
images/src/org/intellij/images/options/TransparencyChessboardOptions.java [moved from plugins/images/src/org/intellij/images/options/TransparencyChessboardOptions.java with 100% similarity]
images/src/org/intellij/images/options/ZoomOptions.java [moved from plugins/images/src/org/intellij/images/options/ZoomOptions.java with 100% similarity]
images/src/org/intellij/images/options/impl/EditorOptionsImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/EditorOptionsImpl.java with 100% similarity]
images/src/org/intellij/images/options/impl/ExternalEditorOptionsImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/ExternalEditorOptionsImpl.java with 100% similarity]
images/src/org/intellij/images/options/impl/GridOptionsImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/GridOptionsImpl.java with 100% similarity]
images/src/org/intellij/images/options/impl/JDOMExternalizerEx.java [moved from plugins/images/src/org/intellij/images/options/impl/JDOMExternalizerEx.java with 100% similarity]
images/src/org/intellij/images/options/impl/Options.form [moved from plugins/images/src/org/intellij/images/options/impl/Options.form with 100% similarity]
images/src/org/intellij/images/options/impl/OptionsConfigurabe.java [moved from plugins/images/src/org/intellij/images/options/impl/OptionsConfigurabe.java with 100% similarity]
images/src/org/intellij/images/options/impl/OptionsImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/OptionsImpl.java with 100% similarity]
images/src/org/intellij/images/options/impl/OptionsManagerImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/OptionsManagerImpl.java with 100% similarity]
images/src/org/intellij/images/options/impl/OptionsUIForm.java [moved from plugins/images/src/org/intellij/images/options/impl/OptionsUIForm.java with 100% similarity]
images/src/org/intellij/images/options/impl/TransparencyChessboardOptionsImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/TransparencyChessboardOptionsImpl.java with 100% similarity]
images/src/org/intellij/images/options/impl/ZoomOptionsImpl.java [moved from plugins/images/src/org/intellij/images/options/impl/ZoomOptionsImpl.java with 100% similarity]
images/src/org/intellij/images/thumbnail/ThumbnailManager.java [moved from plugins/images/src/org/intellij/images/thumbnail/ThumbnailManager.java with 100% similarity]
images/src/org/intellij/images/thumbnail/ThumbnailView.java [moved from plugins/images/src/org/intellij/images/thumbnail/ThumbnailView.java with 100% similarity]
images/src/org/intellij/images/thumbnail/actionSystem/ThumbnailViewActionUtil.java [moved from plugins/images/src/org/intellij/images/thumbnail/actionSystem/ThumbnailViewActionUtil.java with 100% similarity]
images/src/org/intellij/images/thumbnail/actionSystem/ThumbnailViewActions.java [moved from plugins/images/src/org/intellij/images/thumbnail/actionSystem/ThumbnailViewActions.java with 100% similarity]
images/src/org/intellij/images/thumbnail/actions/EnterAction.java [moved from plugins/images/src/org/intellij/images/thumbnail/actions/EnterAction.java with 100% similarity]
images/src/org/intellij/images/thumbnail/actions/HideThumbnailsAction.java [moved from plugins/images/src/org/intellij/images/thumbnail/actions/HideThumbnailsAction.java with 100% similarity]
images/src/org/intellij/images/thumbnail/actions/ToggleRecursiveAction.java [moved from plugins/images/src/org/intellij/images/thumbnail/actions/ToggleRecursiveAction.java with 100% similarity]
images/src/org/intellij/images/thumbnail/actions/UpFolderAction.java [moved from plugins/images/src/org/intellij/images/thumbnail/actions/UpFolderAction.java with 100% similarity]
images/src/org/intellij/images/thumbnail/impl/ThumbnailManagerImpl.java [moved from plugins/images/src/org/intellij/images/thumbnail/impl/ThumbnailManagerImpl.java with 100% similarity]
images/src/org/intellij/images/thumbnail/impl/ThumbnailSelectInTarget.java [moved from plugins/images/src/org/intellij/images/thumbnail/impl/ThumbnailSelectInTarget.java with 100% similarity]
images/src/org/intellij/images/thumbnail/impl/ThumbnailViewImpl.java [moved from plugins/images/src/org/intellij/images/thumbnail/impl/ThumbnailViewImpl.java with 100% similarity]
images/src/org/intellij/images/thumbnail/impl/ThumbnailViewUI.java [moved from plugins/images/src/org/intellij/images/thumbnail/impl/ThumbnailViewUI.java with 100% similarity]
images/src/org/intellij/images/ui/ImageComponent.java [moved from plugins/images/src/org/intellij/images/ui/ImageComponent.java with 100% similarity]
images/src/org/intellij/images/ui/ImageComponentDecorator.java [moved from plugins/images/src/org/intellij/images/ui/ImageComponentDecorator.java with 100% similarity]
images/src/org/intellij/images/ui/ImageComponentUI.java [moved from plugins/images/src/org/intellij/images/ui/ImageComponentUI.java with 100% similarity]
images/src/org/intellij/images/ui/ThumbnailComponent.java [moved from plugins/images/src/org/intellij/images/ui/ThumbnailComponent.java with 100% similarity]
images/src/org/intellij/images/ui/ThumbnailComponentUI.java [moved from plugins/images/src/org/intellij/images/ui/ThumbnailComponentUI.java with 100% similarity]
images/src/org/intellij/images/util/ImageInfoReader.java [moved from plugins/images/src/org/intellij/images/util/ImageInfoReader.java with 100% similarity]
images/src/org/intellij/images/vfs/IfsUtil.java [moved from plugins/images/src/org/intellij/images/vfs/IfsUtil.java with 100% similarity]
plugins/commander/src/META-INF/plugin.xml
plugins/images/imagesPlugin.iml [deleted file]
plugins/images/src/META-INF/images-commander-integration.xml [deleted file]
resources/src/META-INF/IdeaPlugin.xml
resources/src/META-INF/ImagesPlugin.xml [moved from plugins/images/src/META-INF/plugin.xml with 89% similarity]

index afc6d2a0623cd38dfff40e68ba84a1b73f95c9dd..323302d1f7243291478083a88f02b3f71b1cc7f3 100644 (file)
@@ -35,7 +35,7 @@
       <module fileurl="file://$PROJECT_DIR$/plugins/groovy/rt/groovy-rt.iml" filepath="$PROJECT_DIR$/plugins/groovy/rt/groovy-rt.iml" />
       <module fileurl="file://$PROJECT_DIR$/platform/icons/icons.iml" filepath="$PROJECT_DIR$/platform/icons/icons.iml" group="platform" />
       <module fileurl="file://$PROJECT_DIR$/java/idea-ui/idea-ui.iml" filepath="$PROJECT_DIR$/java/idea-ui/idea-ui.iml" group="java" />
-      <module fileurl="file://$PROJECT_DIR$/plugins/images/images.iml" filepath="$PROJECT_DIR$/plugins/images/images.iml" />
+      <module fileurl="file://$PROJECT_DIR$/images/images.iml" filepath="$PROJECT_DIR$/images/images.iml" />
       <module fileurl="file://$PROJECT_DIR$/plugins/java-i18n/java-i18n.iml" filepath="$PROJECT_DIR$/plugins/java-i18n/java-i18n.iml" group="plugins" />
       <module fileurl="file://$PROJECT_DIR$/java/java-impl/java-impl.iml" filepath="$PROJECT_DIR$/java/java-impl/java-impl.iml" group="java" />
       <module fileurl="file://$PROJECT_DIR$/java/java-runtime/java-runtime.iml" filepath="$PROJECT_DIR$/java/java-runtime/java-runtime.iml" group="java" />
index 38ad668574e88b3ac243550b8690ba31c0c3a6a6..2ef163ed660df5dee5e917a6e7e3384316157a69 100644 (file)
@@ -36,6 +36,7 @@ private List platformImplementationModules() {
           "testFramework",
           "xml",
           "lvcs-impl",
+          "images",
   ]
 }
 
@@ -146,7 +147,7 @@ def layoutFull(String home, String targetDirectory) {
     }
 
     dir("plugins") {
-      def simplePlugins = ["commander", "copyright", "properties", "java-i18n", "images", "devkit", "eclipse"]
+      def simplePlugins = ["commander", "copyright", "properties", "java-i18n", "devkit", "eclipse"]
 
       simplePlugins.each {
         layoutPlugin it
similarity index 100%
rename from plugins/images/images.iml
rename to images/images.iml
similarity index 50%
rename from plugins/images/src/org/intellij/images/actions/ToggleTransparencyChessboardAction.java
rename to images/src/org/intellij/images/actions/ToggleTransparencyChessboardAction.java
index b9411078e86b451f68d849c400196829979a5bec..0fd76172942c9454b1d71d18d04f282e553fb2f7 100644 (file)
@@ -26,21 +26,22 @@ import org.intellij.images.ui.ImageComponentDecorator;
  * @see org.intellij.images.ui.ImageComponentDecorator#setTransparencyChessboardVisible
  */
 public final class ToggleTransparencyChessboardAction extends ToggleAction {
-    public boolean isSelected(AnActionEvent e) {
-        ImageComponentDecorator decorator = (ImageComponentDecorator) e.getDataContext().getData(ImageComponentDecorator.class.getName());
-        return decorator != null && decorator.isEnabledForActionPlace(e.getPlace()) && decorator.isTransparencyChessboardVisible();
-    }
+  public boolean isSelected(AnActionEvent e) {
+    ImageComponentDecorator decorator = (ImageComponentDecorator)e.getDataContext().getData(ImageComponentDecorator.class.getName());
+    return decorator != null && decorator.isEnabledForActionPlace(e.getPlace()) && decorator.isTransparencyChessboardVisible();
+  }
 
-    public void setSelected(AnActionEvent e, boolean state) {
-        ImageComponentDecorator decorator = (ImageComponentDecorator) e.getDataContext().getData(ImageComponentDecorator.class.getName());
-        if (decorator != null && decorator.isEnabledForActionPlace(e.getPlace())) {
-            decorator.setTransparencyChessboardVisible(state);
-        }
+  public void setSelected(AnActionEvent e, boolean state) {
+    ImageComponentDecorator decorator = (ImageComponentDecorator)e.getDataContext().getData(ImageComponentDecorator.class.getName());
+    if (decorator != null && decorator.isEnabledForActionPlace(e.getPlace())) {
+      decorator.setTransparencyChessboardVisible(state);
     }
+  }
 
-    public void update(final AnActionEvent e) {
-        super.update(e);
-        ImageComponentDecorator decorator = (ImageComponentDecorator) e.getDataContext().getData(ImageComponentDecorator.class.getName());
-        e.getPresentation().setEnabled(decorator != null && decorator.isEnabledForActionPlace(e.getPlace()));
-    }
+  public void update(final AnActionEvent e) {
+    super.update(e);
+    ImageComponentDecorator decorator = (ImageComponentDecorator)e.getDataContext().getData(ImageComponentDecorator.class.getName());
+    e.getPresentation().setEnabled(decorator != null && decorator.isEnabledForActionPlace(e.getPlace()));
+    e.getPresentation().setText(isSelected(e) ? "Hide Chessboard" : "Show Chessboard");
+  }
 }
similarity index 66%
rename from plugins/images/src/org/intellij/images/editor/actions/ToggleGridAction.java
rename to images/src/org/intellij/images/editor/actions/ToggleGridAction.java
index 07e53f81e9c7e73feb11a459d86bdf58219adb0c..53ca4b2f7354dbfa6d2677f598ecf554374b528f 100644 (file)
@@ -27,20 +27,21 @@ import org.intellij.images.editor.actionSystem.ImageEditorActionUtil;
  * @see ImageEditor#setGridVisible
  */
 public final class ToggleGridAction extends ToggleAction {
-    public boolean isSelected(AnActionEvent e) {
-        ImageEditor editor = ImageEditorActionUtil.getValidEditor(e);
-        return editor != null && editor.isGridVisible();
-    }
+  public boolean isSelected(AnActionEvent e) {
+    ImageEditor editor = ImageEditorActionUtil.getValidEditor(e);
+    return editor != null && editor.isGridVisible();
+  }
 
-    public void setSelected(AnActionEvent e, boolean state) {
-        ImageEditor editor = ImageEditorActionUtil.getValidEditor(e);
-        if (editor != null) {
-            editor.setGridVisible(state);
-        }
+  public void setSelected(AnActionEvent e, boolean state) {
+    ImageEditor editor = ImageEditorActionUtil.getValidEditor(e);
+    if (editor != null) {
+      editor.setGridVisible(state);
     }
+  }
 
-    public void update(final AnActionEvent e) {
-        super.update(e);
-        ImageEditorActionUtil.setEnabled(e);
-    }
+  public void update(final AnActionEvent e) {
+    super.update(e);
+    ImageEditorActionUtil.setEnabled(e);
+    e.getPresentation().setText(isSelected(e) ? "Hide Grid" : "Show Grid");
+  }
 }
index d7f2a457b04d3e5bfcb54d1f5164a1c0ba2e2da6..d87bd706216b6c246561fa28a66aa8d67aef7231 100644 (file)
     <action id="CommanderSwapPanels" class="com.intellij.ide.actions.SwapPanelsAction" icon="/actions/swapPanels.png">
       <add-to-group group-id="PairFileActions" anchor="first"/>
     </action>
+
+    <group id="ImagesCommanderActions1" text="Images Commander Actions (1)">
+      <reference id="Images.EditExternaly"/>
+      <add-to-group anchor="after" group-id="CommanderPopupMenu" relative-to-action="EditSource"/>
+    </group>
+
+    <group id="ImagesCommanderActions2" text="Images Commander Actions (2)">
+      <reference id="Images.ShowThumbnails"/>
+      <add-to-group anchor="after" group-id="CommanderPopupMenu" relative-to-action="AddToFavorites"/>
+    </group>
   </actions>
 </idea-plugin>
 
diff --git a/plugins/images/imagesPlugin.iml b/plugins/images/imagesPlugin.iml
deleted file mode 100644 (file)
index 4e12d30..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="PLUGIN_MODULE" version="4">
-  <component name="DevKit.ModuleBuildProperties" url="file://$MODULE_DIR$/src/META-INF/plugin.xml" />
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <output url="file://$MODULE_DIR$/classes" />
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntryProperties />
-  </component>
-</module>
-
diff --git a/plugins/images/src/META-INF/images-commander-integration.xml b/plugins/images/src/META-INF/images-commander-integration.xml
deleted file mode 100644 (file)
index 57fbe8a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-
-<!DOCTYPE idea-plugin PUBLIC "Plugin/DTD" "http://plugins.intellij.net/plugin.dtd">
-
-<idea-plugin version="2">
-  <actions>
-    <group id="ImagesCommanderActions1" text="Images Commander Actions (1)">
-      <reference id="Images.EditExternaly"/>
-      <add-to-group anchor="after" group-id="CommanderPopupMenu" relative-to-action="EditSource"/>
-    </group>
-
-    <group id="ImagesCommanderActions2" text="Images Commander Actions (2)">
-      <reference id="Images.ShowThumbnails"/>
-      <add-to-group anchor="after" group-id="CommanderPopupMenu" relative-to-action="AddToFavorites"/>
-    </group>
-  </actions>
-
-</idea-plugin>
index 2ad476b943390b043f202fddbfcf49e87af8bb0e..a9489a80aa7c4cd19ed95b5ed9fbf4b024441033 100644 (file)
   <xi:include href="/META-INF/XmlPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
   <xi:include href="/META-INF/DomPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
   <xi:include href="/META-INF/RegExpPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
+  <xi:include href="/META-INF/ImagesPlugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
 </idea-plugin>
similarity index 89%
rename from plugins/images/src/META-INF/plugin.xml
rename to resources/src/META-INF/ImagesPlugin.xml
index fd6c38e97885e1b3ab9f22c85ecad631eeb6e6a0..528aa894faa80e763e3cdf473f9391021539afdf 100644 (file)
@@ -1,13 +1,10 @@
-<idea-plugin>
+<idea-plugin version="2" xmlns:xi="http://www.w3.org/2001/XInclude">
 
   <vendor>Alexey Efimov</vendor>
 
   <name>Images</name>
   <version>1.1</version>
 
-  <depends>com.intellij.modules.lang</depends>
-  <depends optional="true" config-file="images-commander-integration.xml">com.intellij.commander</depends>
-
   <resource-bundle>org.intellij.images.ImagesBundle</resource-bundle>
 
   <extensions defaultExtensionNs="com.intellij">
   <actions>
     <action class="org.intellij.images.actions.EditExternalyAction"
             id="Images.EditExternaly"
-            icon="/org/intellij/images/icons/EditExternaly.png">
+            icon="/org/intellij/images/icons/EditExternaly.png"
+            text="Open image in external editor">
       <keyboard-shortcut first-keystroke="control alt F4" keymap="$default"/>
       <add-to-group anchor="after" group-id="ProjectViewPopupMenu" relative-to-action="EditSource"/>
     </action>
     <action class="org.intellij.images.actions.ShowThumbnailsAction"
-            id="Images.ShowThumbnails">
+            id="Images.ShowThumbnails" text="Show image thumbnails">
       <keyboard-shortcut first-keystroke="shift control T" keymap="$default"/>
       <add-to-group anchor="after" group-id="ProjectViewPopupMenu" relative-to-action="AddToFavorites"/>
     </action>
     <action class="org.intellij.images.actions.ToggleTransparencyChessboardAction"
             id="Images.ToggleTransparencyChessboard"
-            icon="/org/intellij/images/icons/ToggleTransparencyChessboard.png">
+            icon="/org/intellij/images/icons/ToggleTransparencyChessboard.png"
+            text="Show Chessboard">
     </action>
     <group id="Images.EditorToolbar">
       <reference id="Images.ToggleTransparencyChessboard"/>
       <action class="org.intellij.images.editor.actions.ToggleGridAction"
               id="Images.Editor.ToggleGrid"
-              icon="/org/intellij/images/icons/ToggleGrid.png">
+              icon="/org/intellij/images/icons/ToggleGrid.png"
+              text="Show Grid">
         <keyboard-shortcut first-keystroke="control QUOTE" keymap="$default"/>
       </action>
       <separator/>
       <action class="org.intellij.images.editor.actions.ZoomInAction"
               id="Images.Editor.ZoomIn"
-              icon="/org/intellij/images/icons/ZoomIn.png">
+              icon="/org/intellij/images/icons/ZoomIn.png"
+              text="Zoom In">
         <keyboard-shortcut first-keystroke="control ADD" keymap="$default"/>
         <keyboard-shortcut first-keystroke="control EQUALS" keymap="$default"/>
       </action>
       <action class="org.intellij.images.editor.actions.ZoomOutAction"
               id="Images.Editor.ZoomOut"
-              icon="/org/intellij/images/icons/ZoomOut.png">
+              icon="/org/intellij/images/icons/ZoomOut.png"
+              text="Zoom Out">
         <keyboard-shortcut first-keystroke="control SUBTRACT" keymap="$default"/>
         <keyboard-shortcut first-keystroke="control MINUS" keymap="$default"/>
       </action>
       <action class="org.intellij.images.editor.actions.ActualSizeAction"
               id="Images.Editor.ActualSize"
-              icon="/org/intellij/images/icons/ActualSize.png">
+              icon="/org/intellij/images/icons/ActualSize.png"
+              text="Zoom to actual size">
         <keyboard-shortcut first-keystroke="control DIVIDE" keymap="$default"/>
         <keyboard-shortcut first-keystroke="control SLASH" keymap="$default"/>
       </action>