]> 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/OsgiBootLauncherTabGroup.java
Add webdav support
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ide.ui / src / main / java / org / argeo / slc / ide / ui / launch / osgi / OsgiBootLauncherTabGroup.java
index d7fa841a542eec1b110e76a0f3900d220a8697c7..48d9268f03f302db801da6c463052bf3f646d5f0 100644 (file)
@@ -1,7 +1,6 @@
 package org.argeo.slc.ide.ui.launch.osgi;
 
 import org.eclipse.core.runtime.CoreException;
-import org.eclipse.debug.core.ILaunchConfiguration;
 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
 import org.eclipse.debug.ui.CommonTab;
 import org.eclipse.debug.ui.EnvironmentTab;
@@ -16,14 +15,33 @@ public class OsgiBootLauncherTabGroup extends OSGiLauncherTabGroup {
 
        @Override
        public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
+//             JavaArgumentsTab javaArgumentsTab = new JavaArgumentsTab() {
+//                     private boolean initializing = false;
+//
+//                     @Override
+//                     public void performApply(
+//                                     ILaunchConfigurationWorkingCopy configuration) {
+//                             if (initializing)
+//                                     return;
+//                             initializing = true;
+//                             initializeFrom(configuration);
+//                             initializing = false;
+//                     }
+//
+//                     @Override
+//                     public boolean isValid(ILaunchConfiguration config) {
+//                             return true;
+//                     }
+//             };
+
                ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
-                               new OsgiBootMainTab(), new EnvironmentTab(), new BundlesTab() {
+                               new OsgiBootMainTab(),
+                               new BundlesTab() {
                                        private boolean activating = false;
 
                                        @Override
                                        public void performApply(
                                                        ILaunchConfigurationWorkingCopy config) {
-                                               System.out.println("performApply");
                                                super.performApply(config);
                                                if (activating) {
                                                        try {
@@ -40,7 +58,8 @@ public class OsgiBootLauncherTabGroup extends OSGiLauncherTabGroup {
                                                        ILaunchConfigurationWorkingCopy workingCopy) {
                                                activating = true;
                                        }
-                               }, new OSGiSettingsTab(), new TracingTab(), new CommonTab() };
+                               }, new OSGiSettingsTab(), new EnvironmentTab(),
+                               new TracingTab(), new CommonTab() };
                setTabs(tabs);
        }