Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-06-09 08:33:41 +0000
committerEike Stepper2012-06-09 08:33:41 +0000
commitd51d976aef900f5a8d9c46af3fee6479531e1a0f (patch)
treeac1cfe10df6a5d01ec88fc6e5881d33956a8315e /plugins
parent12604fdf9e7ce736fdffdc04b6f86c493880f146 (diff)
downloadcdo-d51d976aef900f5a8d9c46af3fee6479531e1a0f.tar.gz
cdo-d51d976aef900f5a8d9c46af3fee6479531e1a0f.tar.xz
cdo-d51d976aef900f5a8d9c46af3fee6479531e1a0f.zip
[381472] Design a repository administration API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381472
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java b/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java
index 411e8f054e..afe39cc0ce 100644
--- a/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java
+++ b/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java
@@ -54,7 +54,7 @@ public class CDOAdminView extends ContainerView
private IAction addConnectionAction;
- private int lastSessionNumber;
+ private static int lastSessionNumber;
public CDOAdminView()
{
@@ -66,11 +66,6 @@ public class CDOAdminView extends ContainerView
return adminManager;
}
- protected int getNextSessionNumber()
- {
- return ++lastSessionNumber;
- }
-
@Override
protected ContainerItemProvider<IContainer<Object>> createContainerItemProvider()
{
@@ -197,6 +192,11 @@ public class CDOAdminView extends ContainerView
super.fillLocalToolBar(manager);
}
+ public static int getNextSessionNumber()
+ {
+ return ++lastSessionNumber;
+ }
+
/**
* @author Eike Stepper
*/

Back to the top