Creating a simple Dialog (Button, Textfield, Label) [message #417867] |
Thu, 27 March 2008 15:57 |
Eclipse User |
|
|
|
Originally posted by: muba_u.web.de
Hi guys,
I searched a lot to find something that could help me, but either I am
not using the right keywords or its too simple and noone bothered to ask
that yet.
I am working on a vocable programm. I can add vocables and so one and
now I want to make a dialog where people can actually test how much they
have learned.
So basically I want a dialog where I have a Label which will be set to
an vocable and the user can enter the translation into a textfield.
Then he presses a Button and he get the result whether it was right or
wrong and gets the next vocable.
My problem is that I dont know how to implement the visual stuff. I
don't even know how to implement just an button on a empty dialog. If
you could tell me how to do that I might be able to figure out how the
whole thing works.
It would be cool to get it on a extra view (like Outline, Property are
seperates Views). But if that does not work I will just use an extra tab
on an existing view.
|
|
|
|
|
Re: Creating a simple Dialog (Button, Textfield, Label) [message #417876 is a reply to message #417874] |
Thu, 27 March 2008 18:30 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Mostly it's about building controls with SWT. For 2.4, EMF has
integration support for JFace data binding, so that might help a little
bit... But I haven't got any EMF-specific information I can point you
to for any of this...
draGy wrote:
> So this has nothing to do with EMF?
> Don't I have to modify a method or something? Because I want to access
> the Model I am using. Isn't there some tutorial or something like that
> that uses emf with some custom dialogs?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03072 seconds