Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Graphical Editor as "subeditor" of another editor
Graphical Editor as "subeditor" of another editor [message #148279] Fri, 20 August 2004 19:21 Go to next message
Eclipse UserFriend
Originally posted by: genemb.pacbell.net

All,
So I traced my menu issues to the fact that My parent editor has a
Tab control which has 4 tabs, each with their own editor. One of the
pages contains a Graphical Editor based on the GEF. When I launch the
graphical editor as a stand alone editor, the menus behave as expected.
But what I need if for the menu to be tied to each of the individual
editors when they have focus. Is there a way to do this? The multipage
editor example didn't really help since it seems to be document and test
provider oriented. Any help here would be greatly appreciated.

Gene Moore
GSM Consulting
Re: Graphical Editor as "subeditor" of another editor [message #148448 is a reply to message #148279] Tue, 24 August 2004 15:53 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
What do you see happening that is not as expected?

If your GEF-based editor is getting a TabItem as its control, the context
menu should be created just for that TabItem.

"Gene Moore" <genemb@pacbell.net> wrote in message
news:cg5ipo$3ln$1@eclipse.org...
> All,
> So I traced my menu issues to the fact that My parent editor has a
> Tab control which has 4 tabs, each with their own editor. One of the
> pages contains a Graphical Editor based on the GEF. When I launch the
> graphical editor as a stand alone editor, the menus behave as expected.
> But what I need if for the menu to be tied to each of the individual
> editors when they have focus. Is there a way to do this? The multipage
> editor example didn't really help since it seems to be document and test
> provider oriented. Any help here would be greatly appreciated.
>
> Gene Moore
> GSM Consulting
Re: Graphical Editor as "subeditor" of another editor [message #148568 is a reply to message #148448] Wed, 25 August 2004 14:20 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Composing Editors is a platform issue, not a GEF one. It's difficult
because you have to simulate many things the workbench already does when you
switch editors.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=46207

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cgfo4v$rrm$1@eclipse.org...
> What do you see happening that is not as expected?
>
> If your GEF-based editor is getting a TabItem as its control, the context
> menu should be created just for that TabItem.
>
> "Gene Moore" <genemb@pacbell.net> wrote in message
> news:cg5ipo$3ln$1@eclipse.org...
> > All,
> > So I traced my menu issues to the fact that My parent editor has a
> > Tab control which has 4 tabs, each with their own editor. One of the
> > pages contains a Graphical Editor based on the GEF. When I launch the
> > graphical editor as a stand alone editor, the menus behave as expected.
> > But what I need if for the menu to be tied to each of the individual
> > editors when they have focus. Is there a way to do this? The multipage
> > editor example didn't really help since it seems to be document and test
> > provider oriented. Any help here would be greatly appreciated.
> >
> > Gene Moore
> > GSM Consulting
>
>
Previous Topic:Figure disappear when maxmize
Next Topic:help--Is there a sample WYSIWYG text editor based on GEF available?
Goto Forum:
  


Current Time: Tue Jul 30 17:18:15 GMT 2024

Powered by FUDForum. Page generated in 0.03503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top