Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2014-02-27 08:52:30 +0000
committerEike Stepper2014-02-27 08:52:30 +0000
commitaefadbf81a2bfb513d68274d2b240184aa79b97d (patch)
tree894b47f98b59012530503803893228234edbd99d
parent075a5581eb537039174164158c5cd63ff40f6a28 (diff)
downloadcdo-aefadbf81a2bfb513d68274d2b240184aa79b97d.tar.gz
cdo-aefadbf81a2bfb513d68274d2b240184aa79b97d.tar.xz
cdo-aefadbf81a2bfb513d68274d2b240184aa79b97d.zip
[428897] [Oomph] Add an analysis and repair tool for bundle pools
https://bugs.eclipse.org/bugs/show_bug.cgi?id=428897
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/internal/setup/ui/BundlePoolComposite.java59
1 files changed, 2 insertions, 57 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/internal/setup/ui/BundlePoolComposite.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/internal/setup/ui/BundlePoolComposite.java
index 3e1caace6b..59d64b5121 100644
--- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/internal/setup/ui/BundlePoolComposite.java
+++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/internal/setup/ui/BundlePoolComposite.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-2014 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -100,18 +100,8 @@ public class BundlePoolComposite extends Composite
private Button deleteArtifactsButton;
- // private Button deleteProfileButton;
-
- // private Button deleteProfileButton;
-
private BundlePoolAnalyzer analyzer;
- // private Button deleteProfileButton;
-
- // private Button deleteProfileButton;
-
- // private Button deleteProfileButton;
-
private BundlePool currentBundlePool;
public BundlePoolComposite(final Composite parent, int style)
@@ -218,45 +208,9 @@ public class BundlePoolComposite extends Composite
profileViewer.setSelection(StructuredSelection.EMPTY);
profileContentProvider.setInput(profileViewer, currentBundlePool);
-
- // bundlePoolMoveButton.setEnabled(true);
- // bundlePoolDeleteButton.setEnabled(true);
-
- // updateProfileButtons(currentBundlePool);
}
});
- // Composite composite = new Composite(composite_3, SWT.NONE);
- // composite.setLayoutData(new GridData(SWT.RIGHT, SWT.FILL, true, false));
- // GridLayout gl_composite = new GridLayout(2, false);
- // gl_composite.marginWidth = 0;
- // gl_composite.marginHeight = 0;
- // composite.setLayout(gl_composite);
- //
- // final Button bundlePoolMoveButton = new Button(composite, SWT.NONE);
- // bundlePoolMoveButton.setText("Move...");
- // bundlePoolMoveButton.setEnabled(false);
- // bundlePoolMoveButton.addSelectionListener(new SelectionAdapter()
- // {
- // @Override
- // public void widgetSelected(SelectionEvent e)
- // {
- // moveBundlePool(getCurrentBundlePool());
- // }
- // });
- //
- // final Button bundlePoolDeleteButton = new Button(composite, SWT.NONE);
- // bundlePoolDeleteButton.setText("Delete All Artifacts...");
- // bundlePoolDeleteButton.setEnabled(false);
- // bundlePoolDeleteButton.addSelectionListener(new SelectionAdapter()
- // {
- // @Override
- // public void widgetSelected(SelectionEvent e)
- // {
- // deleteBundlePool(getCurrentBundlePool());
- // }
- // });
-
new Label(bundlePoolComposite, SWT.NONE);
}
@@ -423,6 +377,7 @@ public class BundlePoolComposite extends Composite
@Override
protected void doSelectionChanged(SelectionChangedEvent event)
{
+ // Do nothing
}
@Override
@@ -713,11 +668,6 @@ public class BundlePoolComposite extends Composite
}
}
- // private void deleteProfiles(Profile[] profiles)
- // {
- // MessageDialog.openInformation(getShell(), AbstractSetupDialog.SHELL_TEXT, "Not yet implemented.");
- // }
-
/**
* @author Eike Stepper
*/
@@ -748,11 +698,6 @@ public class BundlePoolComposite extends Composite
}
}
- // private void deleteProfiles(Profile[] profiles)
- // {
- // MessageDialog.openInformation(getShell(), AbstractSetupDialog.SHELL_TEXT, "Not yet implemented.");
- // }
-
/**
* @author Eike Stepper
*/

Back to the top