Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Eclipse - need support

Thread view: 
kakaru@op.pl - 27 Apr 2006 18:56 GMT
Welcome!
I started work on Eclipse and got stucked :)

I'm writing a pluginfor editing some xml files and have 2 problems:

1) Is there a built-in class which definied a simple Open Dialog Window
(to choose the file) - I couldn't find it in documentation and decided
to use the JFileChooser, but it looks different, and it;s just a
temporary solution.

2) I'd like to choose the file from the OpenDialogWindow ( above ) and
open it in eclipse using my plugin/editor (works on GEF). How can I do
it ???

My editor has similar structure to schemaeditor from:
http://www.eclipse.org/articles/Article-GEF-editor/gef-schema-editor.html

Any help appreciated

Best Regards
Kuba Dziedzina
Thomas Fritsch - 28 Apr 2006 10:22 GMT
> 1) Is there a built-in class which definied a simple Open Dialog Window
> (to choose the file) - I couldn't find it in documentation and decided
> to use the JFileChooser, but it looks different, and it;s just a
> temporary solution.
Use class org.eclipse.swt.widgets.FileDialog.
By the way: You can find eclipse's API docu in "Help"-menu -> "Help
contents" -> "Platform Plug-in Developer Guide" -> "Reference" -> "API
Reference".

Signature

"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.