Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Adding a ruler to a GEF Tree editor
Adding a ruler to a GEF Tree editor [message #241308] Wed, 06 February 2008 15:25 Go to next message
Barry Dresdner is currently offline Barry DresdnerFriend
Messages: 75
Registered: July 2009
Member
Hi,
Does anyone know of a way to add a ruler (like the text editor's vertical
ruler) to a GEF tree editor? The reason being - the tree represents an
executable process, and I'd like to be able to set breakpoints beside the
tree nodes. Book marks too if possible.
thanks alot,
Barry
Re: Adding a ruler to a GEF Tree editor [message #241317 is a reply to message #241308] Wed, 06 February 2008 18:25 Go to previous messageGo to next message
Xiang Qinxian is currently offline Xiang QinxianFriend
Messages: 119
Registered: July 2009
Senior Member
Hi,
Ruler to Tree editor, not be idea_ed:)
IMO, to extend the tree viewer directly by add a column as a rule,
should work fine.
At least it's less work than letting the ruler part inact with treeviewer.
Cheers,
Xiangya
Barry Dresdner 写道:
> Hi,
> Does anyone know of a way to add a ruler (like the text editor's vertical
> ruler) to a GEF tree editor? The reason being - the tree represents an
> executable process, and I'd like to be able to set breakpoints beside the
> tree nodes. Book marks too if possible.
> thanks alot,
> Barry
>
>
Re: Adding a ruler to a GEF Tree editor [message #241467 is a reply to message #241317] Tue, 12 February 2008 19:22 Go to previous message
Barry Dresdner is currently offline Barry DresdnerFriend
Messages: 75
Registered: July 2009
Member
Hi Xiangya,
I was finally able to add a ruler using your suggestion of extending the GEF
tree editor. To do this, I had to create a custom layout class that ensures
that the ruler and tree are positioned correctly based on the flyout palette
state, docked position and width. Now I just need to implement the ability
to set markers in the ruler, but I foresee that as less of a challenge than
getting the controls to layout correctly.
Thanks and best regards,
Barry

"Qinxian" <fyaoxy@gmail.com> wrote in message
news:focu2c$3sq$1@build.eclipse.org...
> Hi,
> Ruler to Tree editor, not be idea_ed:)
> IMO, to extend the tree viewer directly by add a column as a rule,
> should work fine.
> At least it's less work than letting the ruler part inact with treeviewer.
> Cheers,
> Xiangya
> Barry Dresdner д
Previous Topic:ManhattanConnectionRouter and directions
Next Topic:GEF editor based on EMF model
Goto Forum:
  


Current Time: Mon Sep 23 06:13:50 GMT 2024

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

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

Back to the top