SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by unebonnevie » Mon Oct 04, 2004 4:39 pm
Hi,
I downloaded version 2.1.1 and have been using it for a couple days. I have two questions.
(1) How can make sure my dialog shell be centered on the screen? I created a SWT Dialog application. But the shell/dialog always get positioned in the upper left corner.
(2) There is a ResourceManager.java class provided. Can I safely call its dispose() method in my plugin's stop() method? The ResourceManager.java's methods can be used per plugin?
Thanks.
AL
-
unebonnevie
-
- Posts: 1
- Joined: Mon Oct 04, 2004 4:27 pm
by Eric Clayberg » Tue Oct 05, 2004 7:42 pm
unebonnevie wrote:(1) How can make sure my dialog shell be centered on the screen? I created a SWT Dialog application. But the shell/dialog always get positioned in the upper left corner.
Tale a look at Eclipse
SWT Snippet #120.
unebonnevie wrote:(2) There is a ResourceManager.java class provided. Can I safely call its dispose() method in my plugin's stop() method?
Yes.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to SWT Designer
Who is online
Users browsing this forum: No registered users and 1 guest