How do i run my Gef Application? [message #212457] |
Thu, 23 March 2006 09:43 |
Eclipse User |
|
|
|
Originally posted by: poonam_um.rediffmail.com
I have defined all my editparts, editpolicies and edit domain etc for the GefGraphicalEditor as mentioned in the IBM red book.But after running the project as an Eclipse Application, I cannot see any Graphical Editor or palette.Is there any specific way i need to initiate the graphical Editor.
If i use Merlin to generate the plugin i get 2 options to open the model after running it.
But when i run my GEF application with the defined Editparts, i get only one option which opens the model in tree viewer.
Can anybody help me in going about getting my Graphical Editor working?
I would be grateful if i get a stepwise procedure of how to go about. Thanks.
|
|
|
Re: How do i run my Gef Application? [message #212471 is a reply to message #212457] |
Thu, 23 March 2006 15:45 |
Eclipse User |
|
|
|
Originally posted by: kd3725.gmail.com
Poonam U wrote:
> I have defined all my editparts, editpolicies and edit domain etc for the GefGraphicalEditor as mentioned in the IBM red book.But after running the project as an Eclipse Application, I cannot see any Graphical Editor or palette.Is there any specific way i need to initiate the graphical Editor.
> If i use Merlin to generate the plugin i get 2 options to open the model after running it.
> But when i run my GEF application with the defined Editparts, i get only one option which opens the model in tree viewer.
> Can anybody help me in going about getting my Graphical Editor working?
> I would be grateful if i get a stepwise procedure of how to go about. Thanks.
What I did is add a newCreationWizard to the file menu for my file type.
Since my GEF editor is assigned as the default editor of that file
extension, creating that file opens up my GEF editor as well. See the
shapes example for what a newCreationWizard looks like.
hth,
kd3
|
|
|
Powered by
FUDForum. Page generated in 0.02850 seconds