Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Can I put a TextEditor inside a GraphicalEditor?
Can I put a TextEditor inside a GraphicalEditor? [message #180813] Tue, 10 May 2005 17:08 Go to next message
Eclipse UserFriend
Originally posted by: kevinlouisnospam.hotmail.com

Hi,

My graphical editor has a text editPart. When the user double-click on it,
I want to activate it in edit mode and use the TextEditor for the editing.
Is it possible to embed one editor on another?

Thanks,

Kev.
Re: Can I put a TextEditor inside a GraphicalEditor? [message #180990 is a reply to message #180813] Wed, 11 May 2005 23:13 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Is direct-editing not sufficient? There is a MultiPageEditPart that would
allow you to open another editor in another page. I've seen some people
write an editor that would open another editor on top of the currently
visible one without opening a new page or editor or changing tab pane
selection. But I don't think there is any support for this from SWT/JFace.
You'd have to do this on your own. You could also consider launching a
modal text editor from the property sheet. None of this is GEF-specific, so
try the SWT or platform newsgroup for further queries.

"Kevin" <kevinlouisnospam@hotmail.com> wrote in message
news:d5qq8b$ou3$1@news.eclipse.org...
> Hi,
>
> My graphical editor has a text editPart. When the user double-click on
it,
> I want to activate it in edit mode and use the TextEditor for the editing.
> Is it possible to embed one editor on another?
>
> Thanks,
>
> Kev.
>
>
Previous Topic:How to get a entire diagram create with a GEF based application
Next Topic:children's visible within container
Goto Forum:
  


Current Time: Mon Jan 30 12:37:45 GMT 2023

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

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

Back to the top