Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Default launches in common tab
Default launches in common tab [message #54096] Thu, 29 May 2003 16:01 Go to next message
Patrick Baker is currently offline Patrick BakerFriend
Messages: 18
Registered: July 2009
Junior Member
The common tab of the launch configuration dialog allows the user to specify
the perspective to switch to when either a debug or normal run is launched.
Now, I have my own launch configuration type (extension point:
org.eclipse.debug.core.launchConfigurationTypes) and I would like to be able
to specify a default value for the perspective to switch to when I start a
debug run. This way launches based on my type will be default use my debug
perspective instead of the generic debug perspective. Can anybody tell me
how I can do this?

Thanks in advance.

Patrick Baker
Re: Default launches in common tab [message #56391 is a reply to message #54096] Fri, 30 May 2003 17:33 Go to previous message
Patrick Baker is currently offline Patrick BakerFriend
Messages: 18
Registered: July 2009
Junior Member
Well, in the end this is how I solved my problem. I was hoping not to do any
subclassing, but it turned out to not be so bad.

class MyCommonTab extends org.eclipse.debug.ui.CommonTab
{
public void setDefaults(ILaunchConfigurationWorkingCopy config)
{
super.setDefaults (config);
config.setAttribute(IDebugUIConstants.ATTR_TARGET_DEBUG_PERS PECTIVE,
"com.blah-blah.debug.gui.MyDebugPerspective");
}
}
Previous Topic:How to get Details button to show on ErrorDialog
Next Topic:Can a plugin fragment define a workbench View?
Goto Forum:
  


Current Time: Sun Jun 30 13:17:06 GMT 2024

Powered by FUDForum. Page generated in 0.03653 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top