Author: koen.aers(a)jboss.com
Date: 2008-07-30 10:15:48 -0400 (Wed, 30 Jul 2008)
New Revision: 9436
Added:
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/icons/connection.gif
Removed:
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/icons/processV.gif
Modified:
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/plugin.xml
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/src/main/java/org/jboss/tools/process/ruleflow/editor/RuleFlowPaletteFactory.java
Log:
generalized the auto layout actions
Added: trunk/drools/plugins/org.jboss.tools.flow.ruleflow/icons/connection.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/icons/connection.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/drools/plugins/org.jboss.tools.flow.ruleflow/icons/processV.gif
===================================================================
(Binary files differ)
Modified: trunk/drools/plugins/org.jboss.tools.flow.ruleflow/plugin.xml
===================================================================
--- trunk/drools/plugins/org.jboss.tools.flow.ruleflow/plugin.xml 2008-07-30 14:15:10 UTC
(rev 9435)
+++ trunk/drools/plugins/org.jboss.tools.flow.ruleflow/plugin.xml 2008-07-30 14:15:48 UTC
(rev 9436)
@@ -13,7 +13,7 @@
</editor>
</extension>
- <extension
+<!-- <extension
point = "org.eclipse.ui.editorActions">
<editorContribution
id="org.jboss.tools.process.editor.action.VerticalAutoLayoutAction"
@@ -39,6 +39,6 @@
class="org.jboss.tools.flow.editor.action.HorizontalAutoLayoutAction"
/>
</editorContribution>
- </extension>
+ </extension> -->
</plugin>
Modified:
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/src/main/java/org/jboss/tools/process/ruleflow/editor/RuleFlowPaletteFactory.java
===================================================================
---
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/src/main/java/org/jboss/tools/process/ruleflow/editor/RuleFlowPaletteFactory.java 2008-07-30
14:15:10 UTC (rev 9435)
+++
trunk/drools/plugins/org.jboss.tools.flow.ruleflow/src/main/java/org/jboss/tools/process/ruleflow/editor/RuleFlowPaletteFactory.java 2008-07-30
14:15:48 UTC (rev 9436)
@@ -26,7 +26,6 @@
import org.eclipse.gef.palette.PaletteRoot;
import org.eclipse.gef.requests.SimpleFactory;
import org.eclipse.jface.resource.ImageDescriptor;
-import org.jboss.tools.flow.JBossToolsProcessPlugin;
import org.jboss.tools.flow.editor.PaletteFactory;
import org.jboss.tools.process.ruleflow.Activator;
import org.jboss.tools.process.ruleflow.editor.core.ConnectionWrapper;
@@ -51,8 +50,8 @@
"Connection Creation",
"Creating connections",
new SimpleFactory(ConnectionWrapper.class),
-
ImageDescriptor.createFromURL(JBossToolsProcessPlugin.getDefault().getBundle().getEntry("icons/connection.gif")),
-
ImageDescriptor.createFromURL(JBossToolsProcessPlugin.getDefault().getBundle().getEntry("icons/connection.gif"))
+
ImageDescriptor.createFromURL(Activator.getDefault().getBundle().getEntry("icons/connection.gif")),
+
ImageDescriptor.createFromURL(Activator.getDefault().getBundle().getEntry("icons/connection.gif"))
);
}