DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Help with EMF - Multipage editor
Notices
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Default Help with EMF - Multipage editor - 01-22-2009, 08:34 PM

Hi,

I have to build a graphical interface (like EMF generated editor) to build models to describe environmental systems. I already build my model (ecore) and generate
the editor with EMF. But I want to display a different page as different elements are selected. For all model the selecion page will be displayed as the main page. A secondary page will be displayed in response to the type of selected element. For example, if the element selected is of type one, the page will be a text editor, if the element selected is of type two, the page that will be displayed will be a graphical editor, and so on.

How can I do this?

Thanks
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Join Date: Jan 2009
Location: Hyderabad, India
Send a message via Skype™ to rajeshk21
Default multipage editor - 01-24-2009, 01:52 AM

If you want to create graphical editor then you need to build GMF models to generate graphical editor. And If u want to create multi page text editor You can do this by using multi page editor template plugin.

thanks
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Default 01-24-2009, 12:01 PM

Thanks,

I already create a multi page editor using EMF. But I don't know how to do the "dynamic" creation (display) a page in response by the selected element type.
I need two pages: a main page (selection page generated by EMF that display the model in a tree) and a second page - that will display a different editor for each element types. For example, if the type of the selected element is a automaton, the second page has to display a graphical editor. If the type of selected element is a function for example, the second page has to display a text editor.

How can I do this? Identify the selected element in the selection page generated by the EMF editor and create or display in a second page a different editor for each element type.

Understand my difficulty? thanks for help
Reply With Quote
Reply

Tags
eclipse, editor, emf, multipage, plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating GMF editor with a custom Eclipse Forms editor llednicki Eclipse 0 12-21-2008 03:43 AM
multipage wizard, action when 'Next'-Button is pressed j.seifried Java 0 10-13-2008 05:16 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com