Author: koen.aers(a)jboss.com
Date: 2010-04-16 10:27:17 -0400 (Fri, 16 Apr 2010)
New Revision: 21536
Added:
branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/StartupClass.java
Modified:
branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/plugin.xml
Log:
JBIDE-5951
Modified: branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/plugin.xml
===================================================================
--- branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/plugin.xml 2010-04-16 14:26:42
UTC (rev 21535)
+++ branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/plugin.xml 2010-04-16 14:27:17
UTC (rev 21536)
@@ -1531,4 +1531,8 @@
</propertySections>
</extension>
+ <extension point="org.eclipse.ui.startup">
+ <startup class="org.jbpm.gd.jpdl.StartupClass"/>
+ </extension>
+
</plugin>
Added:
branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/StartupClass.java
===================================================================
---
branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/StartupClass.java
(rev 0)
+++
branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/StartupClass.java 2010-04-16
14:27:17 UTC (rev 21536)
@@ -0,0 +1,13 @@
+package org.jbpm.gd.jpdl;
+
+import org.eclipse.ui.IStartup;
+import org.jbpm.gd.jpdl.prefs.Jbpm3PreferencesManager;
+
+public class StartupClass implements IStartup {
+
+ public void earlyStartup() {
+ // Reference the Jbpm3PreferencesManager to trigger the initialization.
+ Jbpm3PreferencesManager.INSTANCE.toString();
+ }
+
+}
Property changes on:
branches/jbosstools-3.1.x/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/StartupClass.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date