]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java
Move to SLC legacy
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ide.ui / src / main / java / org / argeo / slc / ide / ui / launch / osgi / EclipseBootLauncherTabGroup.java
index 7d77ce624437cdb1e895ba7524accf6c9bb6aac1..53794ed78d43636e3c9d53fba7099d303008482b 100644 (file)
@@ -1,7 +1,5 @@
 package org.argeo.slc.ide.ui.launch.osgi;
 
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
 import org.eclipse.debug.ui.CommonTab;
 import org.eclipse.debug.ui.EnvironmentTab;
 import org.eclipse.debug.ui.ILaunchConfigurationDialog;
@@ -20,30 +18,32 @@ public class EclipseBootLauncherTabGroup extends EclipseLauncherTabGroup {
                ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
                                new OsgiBootMainTab(true),
                                new MainTab(),
-                               new PluginsTab() {
-                                       private boolean activating = false;
-
-                                       @Override
-                                       public void performApply(
-                                                       ILaunchConfigurationWorkingCopy config) {
-                                               super.performApply(config);
-                                               if (activating) {
-                                                       try {
-                                                               config.doSave();
-                                                       } catch (CoreException e) {
-                                                               e.printStackTrace();
-                                                       }
-                                                       activating = false;
-                                               }
-                                       }
-
-                                       @Override
-                                       public void activated(
-                                                       ILaunchConfigurationWorkingCopy workingCopy) {
-                                               activating = true;
-                                       }
-                               }, new OSGiSettingsTab(), new EnvironmentTab(),
-                               new TracingTab(), new CommonTab() };
+                               new PluginsTab(),
+                               // new PluginsTab() {
+                               // private boolean activating = false;
+                               //
+                               // @Override
+                               // public void performApply(
+                               // ILaunchConfigurationWorkingCopy config) {
+                               // super.performApply(config);
+                               // if (activating) {
+                               // try {
+                               // config.doSave();
+                               // } catch (CoreException e) {
+                               // e.printStackTrace();
+                               // }
+                               // activating = false;
+                               // }
+                               // }
+                               //
+                               // @Override
+                               // public void activated(
+                               // ILaunchConfigurationWorkingCopy workingCopy) {
+                               // activating = true;
+                               // }
+                               // },
+                               new OSGiSettingsTab(), new EnvironmentTab(), new TracingTab(),
+                               new CommonTab() };
                setTabs(tabs);
        }