Eclipse - need support

K

kakaru

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
 
T

Thomas Fritsch

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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top