Commits

hani  committed 550bf4b

Improve default layout when we have no graphs loaded yet

  • Participants
  • Parent commits 13048e5

Comments (0)

Files changed (4)

File osworkflow.iml

         </SOURCES>
       </library>
     </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/lib/optional/propertyset-ejb-1.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/lib/optional/propertyset-ofbiz-1.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/lib/optional/propertyset-hibernate-1.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
     <orderEntryProperties />
   </component>
   <component name="RetroweaverPlugin">

File osworkflow.ipr

   </component>
   <component name="CompilerConfiguration">
     <option name="DEFAULT_COMPILER" value="Javac" />
-    <option name="CLEAR_OUTPUT_DIRECTORY" value="true" />
+    <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
     <option name="DEPLOY_AFTER_MAKE" value="2" />
     <resourceExtensions>
       <entry name=".+\.(properties|xml|html)" />

File src/designer/com/opensymphony/workflow/designer/WorkflowDesigner.java

 
     // layout
     leftSplitPane = new EmptyBorderSplitPane(JSplitPane.VERTICAL_SPLIT, flowsPanel, detailFramePanel);
-    mainSplitPane = new EmptyBorderSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftSplitPane, graphTabs);
+    JPanel mainBody = new JPanel(new GridLayout(1, 1));
+    mainBody.add(graphTabs);
+    mainSplitPane = new EmptyBorderSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftSplitPane, mainBody);
     graphTabs.setVisible(false);
 
     splash.setProgress(60);
       }
     }
     mainSplitPane.setDividerLocation(Prefs.INSTANCE.getInt(Prefs.MAIN_DIVIDER_LOCATION, 150));
-    leftSplitPane.setDividerLocation(Prefs.INSTANCE.getInt(Prefs.DETAIL_DIVIDER_LOCATION, 50));
+    leftSplitPane.setDividerLocation(Prefs.INSTANCE.getInt(Prefs.DETAIL_DIVIDER_LOCATION, 150));
   }
 
   public void graphChanged(GraphModelEvent e)

File src/java/com/opensymphony/workflow/spi/hibernate/HibernateWorkflowStore.java

     /**
      * returns the correct name of the field given or "1" if none is found
      * which matches the input.
-     * @param field
-     * @return
      */
     private String getFieldName(int field) {
         switch (field) {