Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-10-18 10:07:27 +0000
committerEike Stepper2010-10-18 10:07:27 +0000
commit6e584140d4942669e1bc4a6d9b0684b2a421060e (patch)
tree04745a4c2ad89772bfecffc9e0538bc4179151c7 /plugins/org.eclipse.net4j.util.ui
parent8a60628572ccb8cc0776d7f37b4e60ec4e11d61a (diff)
downloadcdo-6e584140d4942669e1bc4a6d9b0684b2a421060e.tar.gz
cdo-6e584140d4942669e1bc4a6d9b0684b2a421060e.tar.xz
cdo-6e584140d4942669e1bc4a6d9b0684b2a421060e.zip
[327405] Provide an offline CDOWorkspace with Checkout/Update/Commit workflows
https://bugs.eclipse.org/bugs/show_bug.cgi?id=327405
Diffstat (limited to 'plugins/org.eclipse.net4j.util.ui')
-rw-r--r--plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/UIActivator.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/UIActivator.java b/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/UIActivator.java
index 24dc3a6bb5..fcdb99516d 100644
--- a/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/UIActivator.java
+++ b/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/UIActivator.java
@@ -12,7 +12,7 @@ package org.eclipse.net4j.util.ui;
import org.eclipse.net4j.util.om.OMBundle;
import org.eclipse.net4j.util.om.OSGiActivator;
-import org.eclipse.net4j.util.om.OSGiActivator.ConfigHandler;
+import org.eclipse.net4j.util.om.OSGiActivator.StateHandler;
import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -113,24 +113,24 @@ public class UIActivator extends AbstractUIPlugin
* @author Eike Stepper
* @since 3.1
*/
- public static abstract class WithConfig extends UIActivator
+ public static abstract class WithState extends UIActivator
{
- private ConfigHandler handler = new ConfigHandler(getOMBundle())
+ private StateHandler handler = new StateHandler(getOMBundle())
{
@Override
- protected void startWithConfig(Object config) throws Exception
+ protected void startWithState(Object state) throws Exception
{
- doStartWithConfig(config);
+ doStartWithState(state);
}
@Override
- protected Object stopWithConfig() throws Exception
+ protected Object stopWithState() throws Exception
{
- return doStopWithConfig();
+ return doStopWithState();
}
};
- public WithConfig(OMBundle bundle)
+ public WithState(OMBundle bundle)
{
super(bundle);
}
@@ -147,8 +147,8 @@ public class UIActivator extends AbstractUIPlugin
handler.stop();
}
- protected abstract void doStartWithConfig(Object config) throws Exception;
+ protected abstract void doStartWithState(Object state) throws Exception;
- protected abstract Object doStopWithConfig() throws Exception;
+ protected abstract Object doStopWithState() throws Exception;
}
}

Back to the top