[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-ui-dev] Creating New Launch Tab Group
|
Harihar,
Tab groups belong to JDT Launching component (part of JDT UI) so you should
post this question on their mailing list (jdt-ui-dev).
Regards,
Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745 T/L 969-2745
Fax. 905 413-4854
Harihar Narasimha
Iyer To: <pde-ui-dev@xxxxxxxxxxx>
<narash@xxxxxxxxx cc:
u> Subject: [pde-ui-dev] Creating New Launch Tab Group
Sent by:
pde-ui-dev-admin@
eclipse.org
06/23/2003 11:00
PM
Please respond to
pde-ui-dev
Hi,
I am trying to make a custom Tab Group for launching a particular
application from my plugin.
Since I am new to this,I tried making a file in my Package which
is the same as
org/eclipse/jdt/debug/ui/launchConfigurations/LocalJavaApplicationTabGroup.java
When I try to access this particular tab group from the Run menu,I am
getting the following error:
Unhandled exception caught in event loop. Reason:
org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup
Here is the code for the java file in my Package
package xyz;
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup; import
org.eclipse.debug.ui.CommonTab; import
org.eclipse.debug.ui.ILaunchConfigurationDialog; import
org.eclipse.debug.ui.ILaunchConfigurationTab; import
org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab;
public class
LocalJavaApplicationTabGroup extends AbstractLaunchConfigurationTabGroup {
public void createTabs(ILaunchConfigurationDialog dialog, String
mode) {
ILaunchConfigurationTab[] tabs = new
ILaunchConfigurationTab[] {
new JavaMainTab(),
//new JavaArgumentsTab(),
//new JavaJRETab(),
//new JavaClasspathTab(),
//new JavaSourceLookupTab(),
new CommonTab()
};
setTabs(tabs);
}
I am importing the following plugins in my plugin.xml
<requires>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.jdt.core"/>
<import plugin="org.eclipse.debug.core"/>
<import plugin="org.eclipse.jdt.debug"/>
<import plugin="org.eclipse.jdt.launching"/>
<import plugin="org.apache.xerces"/>
<import plugin="org.eclipse.jdt.debug.ui"/>
</requires>
Any help would be appreciated
Thanks in advance
Harihar N Iyer
Research Programmer
Dept.Of Computer Science
Rensselaer Polytechnic Institute
Troy.NY-12180
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/pde-ui-dev
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/pde-ui-dev