Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Run/Debug Perspective Preference setting for plugin
Run/Debug Perspective Preference setting for plugin [message #31625] Fri, 07 November 2008 05:29 Go to next message
Richard Deadman is currently offline Richard DeadmanFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm working on migrating an older plugin to Ganymede. The plugin defines
a custom editor and debugger perspective for a non-Java language. In the
Preference -> Run/Debug -> Perspectives window the Custom "Application
Type/Launcher" comes up for the language but it is set with [Debug] to
the default Java Debugger "Debug". The user can change it to my custom
DebugPerspective, but the "Restore Defaults" returns it to the Java
Debug perspective.

I would like the plugin to provide default preferences for this that set
the [Debug] value to my plugin's DebugPerspective, but can't work out
how to properly do this.

Thanks for any help...


Richard
Re: Run/Debug Perspective Preference setting for plugin [message #32294 is a reply to message #31625] Thu, 13 November 2008 03:40 Go to previous message
Richard Deadman is currently offline Richard DeadmanFriend
Messages: 4
Registered: July 2009
Junior Member
I never did get an answer but finally worked it out and thought the
newsgroup might be interested. The trick is to add two launch modes to a
org.eclipse.debug.ui.launchConfigurationTabGroups extension point.

QED


Richard

Richard Deadman wrote:
> Hi,
>
> I'm working on migrating an older plugin to Ganymede. The plugin defines
> a custom editor and debugger perspective for a non-Java language. In the
> Preference -> Run/Debug -> Perspectives window the Custom "Application
> Type/Launcher" comes up for the language but it is set with [Debug] to
> the default Java Debugger "Debug". The user can change it to my custom
> DebugPerspective, but the "Restore Defaults" returns it to the Java
> Debug perspective.
>
> I would like the plugin to provide default preferences for this that set
> the [Debug] value to my plugin's DebugPerspective, but can't work out
> how to properly do this.
>
> Thanks for any help...
>
>
> Richard
Re: Run/Debug Perspective Preference setting for plugin [message #584859 is a reply to message #31625] Thu, 13 November 2008 03:40 Go to previous message
Richard Deadman is currently offline Richard DeadmanFriend
Messages: 4
Registered: July 2009
Junior Member
I never did get an answer but finally worked it out and thought the
newsgroup might be interested. The trick is to add two launch modes to a
org.eclipse.debug.ui.launchConfigurationTabGroups extension point.

QED


Richard

Richard Deadman wrote:
> Hi,
>
> I'm working on migrating an older plugin to Ganymede. The plugin defines
> a custom editor and debugger perspective for a non-Java language. In the
> Preference -> Run/Debug -> Perspectives window the Custom "Application
> Type/Launcher" comes up for the language but it is set with [Debug] to
> the default Java Debugger "Debug". The user can change it to my custom
> DebugPerspective, but the "Restore Defaults" returns it to the Java
> Debug perspective.
>
> I would like the plugin to provide default preferences for this that set
> the [Debug] value to my plugin's DebugPerspective, but can't work out
> how to properly do this.
>
> Thanks for any help...
>
>
> Richard
Previous Topic:Problem exporting as Deployable Feature
Next Topic:Problem with ResourcChangeListener
Goto Forum:
  


Current Time: Fri Apr 26 01:11:32 GMT 2024

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

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

Back to the top