Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Issues Creating Windows for Eclipse Plugin
Issues Creating Windows for Eclipse Plugin [message #1829408] Thu, 02 July 2020 21:46 Go to next message
Katya Doersam is currently offline Katya DoersamFriend
Messages: 26
Registered: June 2020
Junior Member
I am building an Eclipse plugin.I want to be able to click the button in the menu bar to open up a window. I want the window to include a check box that will be used to enable a function and a button to click that will open up a org.eclipse.swt.widgets.FileDialog.

When I run the program, and click the button, eclipse does not open up a separate window. It opens into the workbench directly as a grey window. Any advice on how to fix this issue?

Note: The naming is awful. Sorry! I created this project so I could figure out how to create a custom window without affecting the pieces of the original project that have already been developed.
Re: Issues Creating Windows for Eclipse Plugin [message #1829411 is a reply to message #1829408] Thu, 02 July 2020 23:56 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3953
Registered: July 2009
Senior Member

You never created a new Window of your own. The active window when your handler was invoked was Eclipse's original window, and you only added more into the existing shell.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Java won't let me run hello world
Next Topic:JavaFX Sanity Check
Goto Forum:

Current Time: Sat Jan 16 01:22:14 GMT 2021

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

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

Back to the top