intentions ui cleanup
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Fri, 30 Dec 2011 10:29:41 +0000 (14:29 +0400)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Fri, 30 Dec 2011 11:02:58 +0000 (15:02 +0400)
platform/lang-impl/src/com/intellij/codeInsight/intention/impl/config/IntentionDescriptionPanel.form
platform/lang-impl/src/com/intellij/codeInsight/intention/impl/config/IntentionDescriptionPanel.java

index f778120a12973eb932553217a248e2c0e9aff7e6..928e7dea908a943526bfa7d9e52223df1f87c896 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.intellij.codeInsight.intention.impl.config.IntentionDescriptionPanel">
   <grid id="d0bf1" binding="myPanel" layout-manager="GridLayoutManager" row-count="3" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
-    <margin top="0" left="5" bottom="0" right="0"/>
+    <margin top="0" left="0" bottom="0" right="0"/>
     <constraints>
       <xy x="26" y="23" width="498" height="354"/>
     </constraints>
@@ -30,7 +30,7 @@
             <properties/>
             <border type="none"/>
             <children>
-              <component id="3f761" class="javax.swing.JEditorPane" binding="myDescriptionBrowser" custom-create="true">
+              <component id="3f761" class="javax.swing.JEditorPane" binding="myDescriptionBrowser">
                 <constraints/>
                 <properties>
                   <contentType value="text/html" noi18n="true"/>
@@ -75,7 +75,7 @@
               <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="7" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
             </constraints>
             <properties>
-              <text value="Before:"/>
+              <text value="Before"/>
             </properties>
           </component>
           <component id="967ce" class="com.intellij.ui.TitledSeparator" binding="myAfterSeparator">
             </constraints>
             <properties>
               <alignmentY value="0.2"/>
-              <text value="After:"/>
+              <text value="After"/>
             </properties>
           </component>
         </children>
       </grid>
-      <grid id="2dd7d" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
-        <margin top="0" left="0" bottom="0" right="0"/>
+      <grid id="ed462" binding="myPoweredByPanel" layout-manager="BorderLayout" hgap="0" vgap="0">
         <constraints>
           <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
         </constraints>
         <properties/>
-        <border type="none"/>
-        <children>
-          <grid id="1048c" binding="myPoweredByPanel" layout-manager="BorderLayout" hgap="0" vgap="0">
-            <constraints>
-              <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
-            </constraints>
-            <properties/>
-            <clientProperties>
-              <BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent"/>
-            </clientProperties>
-            <border type="none" title-resource-bundle="messages/CodeInsightBundle" title-key="powered.by"/>
-            <children/>
-          </grid>
-        </children>
+        <clientProperties>
+          <BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent"/>
+        </clientProperties>
+        <border type="none" title-resource-bundle="messages/CodeInsightBundle" title-key="powered.by"/>
+        <children/>
       </grid>
     </children>
   </grid>
index 8ff483061ab6677e3d2b2f8a608052a691adb3f3..65845e38e71a213addecdd141ee471892d03f7b4 100644 (file)
@@ -139,10 +139,6 @@ public class IntentionDescriptionPanel {
     }
   }
 
-  private void createUIComponents() {
-    // TODO: place custom component creation code here
-  }
-
   private static void showUsages(final JPanel panel,
                                  final TitledSeparator separator,
                                  final List<IntentionUsagePanel> usagePanels,