org.eclipse.ui.ide,
org.eclipse.core.variables,
org.eclipse.pde.build,
- org.eclipse.pde.ui;bundle-version="3.4.0"
+ org.eclipse.pde.ui;bundle-version="3.4.0",
+ org.eclipse.jdt.ui;bundle-version="3.4.2"
Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: Argeo
package org.argeo.slc.ui.launch;\r
\r
+import org.eclipse.jdt.ui.JavaUI;\r
import org.eclipse.ui.IFolderLayout;\r
import org.eclipse.ui.IPageLayout;\r
import org.eclipse.ui.IPerspectiveFactory;\r
\r
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25f,\r
editorArea);\r
- topLeft.addView(IPageLayout.ID_RES_NAV);\r
+ topLeft.addView(JavaUI.ID_PACKAGES);\r
\r
IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.66f,\r
editorArea);\r
private Boolean debug = false;
private String springOsgiExtenderId = "org.springframework.osgi.extender";
+ private String slcSupportEquinoxId = "org.argeo.slc.support.equinox";
// private String slcAgentId = "org.argeo.slc.agent";
// private String osgiBootId = "org.argeo.slc.osgiboot";
public SlcLaunchShortcut() {
super();
defaultBundlesToStart.add(springOsgiExtenderId);
+ defaultBundlesToStart.add(slcSupportEquinoxId);
// defaultBundlesToStart.add(slcAgentId);
}
- @Override
public void launch(ISelection selection, String mode) {
this.selection = selection;
this.name = new StringBuffer();
bundlesToStart = null;
}
- @Override
protected void initializeConfiguration(
ILaunchConfigurationWorkingCopy configuration) {
try {
}
}
- @Override
protected String getName(ILaunchConfigurationType type) {
- if (name != null)
+ if (name != null && !name.toString().trim().equals(""))
return name.toString();
else
return "SLC";