Updating the toolWindow sample plugin.
authorAlexey <Alexey.Chursin@jetbrains.com>
Thu, 2 Sep 2010 09:14:27 +0000 (13:14 +0400)
committerAlexey <Alexey.Chursin@jetbrains.com>
Thu, 2 Sep 2010 09:43:09 +0000 (13:43 +0400)
samples/toolWindow/.idea/misc.xml
samples/toolWindow/src/META-INF/plugin.xml
samples/toolWindow/src/myToolWindow/Calendar-icon.png [moved from samples/toolWindow/src/com/intellij/openapi/toolWindow/Calendar-icon.png with 100% similarity]
samples/toolWindow/src/myToolWindow/MyToolWindow.form [moved from samples/toolWindow/src/com/intellij/openapi/toolWindow/MyToolWindow.form with 97% similarity]
samples/toolWindow/src/myToolWindow/MyToolWindowFactory.java [moved from samples/toolWindow/src/com/intellij/openapi/toolWindow/MyToolWindowFactory.java with 93% similarity]
samples/toolWindow/src/myToolWindow/Time-icon.png [moved from samples/toolWindow/src/com/intellij/openapi/toolWindow/Time-icon.png with 100% similarity]
samples/toolWindow/src/myToolWindow/Time-zone-icon.png [moved from samples/toolWindow/src/com/intellij/openapi/toolWindow/Time-zone-icon.png with 100% similarity]
samples/toolWindow/src/myToolWindow/plus.png [moved from samples/toolWindow/src/com/intellij/openapi/toolWindow/plus.png with 100% similarity]
samples/toolWindow/toolWindow.iml

index f55b22d76ca9355b77bc1db44879d59c43c37b4c..f10bc702e27892595e4ea6ae7c5351030099b435 100644 (file)
     <option name="LOCALE" />
     <option name="OPEN_IN_BROWSER" value="true" />
   </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA IC-96.705" project-jdk-type="IDEA JDK">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA IC-96.1068" project-jdk-type="IDEA JDK">
     <output url="file://$PROJECT_DIR$/out" />
   </component>
+  <component name="SvnConfiguration" maxAnnotateRevisions="500">
+    <option name="USER" value="" />
+    <option name="PASSWORD" value="" />
+    <option name="LAST_MERGED_REVISION" />
+    <option name="UPDATE_RUN_STATUS" value="false" />
+    <option name="MERGE_DRY_RUN" value="false" />
+    <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
+    <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
+    <option name="IGNORE_SPACES_IN_MERGE" value="false" />
+    <option name="DETECT_NESTED_COPIES" value="true" />
+    <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
+    <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
+    <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
+    <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
+  </component>
 </project>
 
index cbb1c2ef5b3e5e76bd4606bd7ab00aef353fcb83..920f28a4b21271065ad3ecff4e211f2c0b6ffd6a 100644 (file)
@@ -21,7 +21,7 @@
 
   <extensions defaultExtensionNs="com.intellij">
     <!-- Add your extensions here -->                       
-     <toolWindow id="Sample Calendar"   secondary="true" icon="/com/intellij/openapi/toolWindow/plus.png" anchor="right" factoryClass="com.intellij.openapi.toolWindow.MyToolWindowFactory"   >
+     <toolWindow id="Sample Calendar"   secondary="true" icon="/myToolWindow/plus.png" anchor="right" factoryClass="myToolWindow.MyToolWindowFactory"   >
          
      </toolWindow>
   </extensions>
similarity index 97%
rename from samples/toolWindow/src/com/intellij/openapi/toolWindow/MyToolWindow.form
rename to samples/toolWindow/src/myToolWindow/MyToolWindow.form
index 9f96ba9a95dd4daa056b31e027ac89cc64a65a02..515e603378894646fde3b2b660c2224257747a3b 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.intellij.openapi.toolWindow.MyToolWindowFactory">
+<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="myToolWindow.MyToolWindowFactory">
   <grid id="27dc6" binding="myToolWindowContent" layout-manager="GridLayoutManager" row-count="2" column-count="5" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
     <margin top="0" left="0" bottom="0" right="0"/>
     <constraints>
similarity index 93%
rename from samples/toolWindow/src/com/intellij/openapi/toolWindow/MyToolWindowFactory.java
rename to samples/toolWindow/src/myToolWindow/MyToolWindowFactory.java
index ad015ecc281854e98480ea475c046e093e2804b4..2800ad4d9417fedef189dc9ca1ab50a70b95dba8 100644 (file)
@@ -1,4 +1,4 @@
-package com.intellij.openapi.toolWindow;
+package myToolWindow;
 
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.wm.ToolWindow;
@@ -56,7 +56,7 @@ public class MyToolWindowFactory implements ToolWindowFactory {
         Calendar instance = Calendar.getInstance();
         currentDate.setText(String.valueOf(instance.get(Calendar.DAY_OF_MONTH)) + "/"
                 + String.valueOf(instance.get(Calendar.MONTH) + 1) + "/" + String.valueOf(instance.get(Calendar.YEAR)));
-        currentDate.setIcon(new ImageIcon(getClass().getResource("/com/intellij/openapi/toolWindow/Calendar-icon.png")));
+        currentDate.setIcon(new ImageIcon(getClass().getResource("/myToolWindow/Calendar-icon.png")));
         int min = instance.get(Calendar.MINUTE);
         String strMin;
         if (min < 10) {
@@ -65,13 +65,13 @@ public class MyToolWindowFactory implements ToolWindowFactory {
             strMin = String.valueOf(min);
         }
         currentTime.setText(instance.get(Calendar.HOUR_OF_DAY) + ":" + strMin);
-        currentTime.setIcon(new ImageIcon(getClass().getResource("/com/intellij/openapi/toolWindow/Time-icon.png")));
+        currentTime.setIcon(new ImageIcon(getClass().getResource("/myToolWindow/Time-icon.png")));
         // Get time zone
         long gmt_Offset = instance.get(Calendar.ZONE_OFFSET); // offset from GMT in milliseconds
         String str_gmt_Offset = String.valueOf(gmt_Offset / 3600000);
         str_gmt_Offset = (gmt_Offset > 0) ? "GMT + " + str_gmt_Offset : "GMT - " + str_gmt_Offset;
         timeZone.setText(str_gmt_Offset);
-        timeZone.setIcon(new ImageIcon(getClass().getResource("/com/intellij/openapi/toolWindow/Time-zone-icon.png")));
+        timeZone.setIcon(new ImageIcon(getClass().getResource("/myToolWindow/Time-zone-icon.png")));
 
 
     }
index 6bada6d4c479e76c6ec83c487aeeb170eab6ad32..09647c68eae8c29c7f909d64c7c117197b74eef7 100644 (file)
@@ -6,7 +6,7 @@
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
     </content>
-    <orderEntry type="jdk" jdkName="IDEA IC-96.705" jdkType="IDEA JDK" />
+    <orderEntry type="jdk" jdkName="IDEA IC-96.1068" jdkType="IDEA JDK" />
     <orderEntry type="sourceFolder" forTests="false" />
   </component>
 </module>