Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Shell for LaunchConfigurationDelegate subclass(Shell for LaunchConfigurationDelegate subclass)
Shell for LaunchConfigurationDelegate subclass [message #640479] Mon, 22 November 2010 09:31
No real name is currently offline No real nameFriend
Messages: 1
Registered: November 2010
Junior Member
I am creating debug plugin. My requriement is when I click on debug option. A ListSelectionDialog should open.

I have extended LaunchConfigurationDelegate class. in launch method I created ListSelectionDialog, which requires parent shell object.

If I create new shell. eclipse and dialog are independent.

Here is the code:

public class ACLaunchDelegate extends LaunchConfigurationDelegate {

public void launch() {
ListSelectionDialog dlg = new ListSelectionDialog(
shell,
sessionIds,
new ArrayContentProvider(),
new LabelProvider(),
"Select session id:");
}


I tried passing different shell object from workbench, Display.getDefault. Everytime I am getting Invalid Thread access.

Please kindly do the needfull.
Previous Topic:eclipse version
Next Topic:problems with the workspace handling in RCP/Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 20:22:58 GMT 2024

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

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

Back to the top