Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Header for a GEF editor
Header for a GEF editor [message #178711] Thu, 21 April 2005 16:00 Go to next message
Eclipse UserFriend
Originally posted by: rodrigo.tekchile.cl

I would like to know if there is any example on how to show a simple header
for a GEF editor.

I'm using today a ScrollingGraphicalViewer but i need to show a simple label
text showing some status and text of the currently edited figures.

I saw a sample with the GEF rulers but it looks much more complicated that
what i need.

Rodrigo.
Re: Header for a GEF editor [message #178751 is a reply to message #178711] Thu, 21 April 2005 20:53 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
You can use the status bar or the editor's description bar
(EditorPart#setDescription() or something like that). Otherwise, you can do
one of the following:
1) subclass the root editpart and create this header of yours outside of the
layered pane (if you want the header to be inside the editor and want it to
scroll) OR
2) put it in a separate lightweight system that is in another composite
inside the editor, but not in the composite that has the graphical viewer.

"Rodrigo Varas" <rodrigo@tekchile.cl> wrote in message
news:d48ime$jvg$1@news.eclipse.org...
> I would like to know if there is any example on how to show a simple
header
> for a GEF editor.
>
> I'm using today a ScrollingGraphicalViewer but i need to show a simple
label
> text showing some status and text of the currently edited figures.
>
> I saw a sample with the GEF rulers but it looks much more complicated that
> what i need.
>
> Rodrigo.
>
>
Re: Header for a GEF editor [message #178877 is a reply to message #178751] Sat, 23 April 2005 01:54 Go to previous message
Eclipse UserFriend
Originally posted by: ya_xiang.hotmail.com

You can check out jbpm grapheditor implements.
The guys don't use GraphicalEditor but a normal editorpart, you can get what
you wanted.

Regards.

xiangya
"Pratik Shah" <ppshah@us.ibm.com> д
Previous Topic:Focus display and traversing
Next Topic:Infinite Loop using ShortestPathConnectionRouter
Goto Forum:
  


Current Time: Thu Apr 25 13:09:53 GMT 2024

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

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

Back to the top