Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to combine GraphicEditor and TreeEditor?
How to combine GraphicEditor and TreeEditor? [message #189174] Tue, 26 July 2005 13:22 Go to next message
Yong cheng is currently offline Yong chengFriend
Messages: 46
Registered: July 2009
Member
Hi, GEF-experts,

I'm trying to develop my own gantt chart editor in eclipse. It should have
two parts: GraphicEditor and TreeEditor. (TreeEditor for the task list,
graphicaEdiotr for the task in the calendar view.) I want to ask if it is
possible to have one controller(Editpart)for both of them. Or must I
seperate them? If I must implement two editparts, how can I load them
together?

I need some suggestions how to do it better. Any idea is welcome.

regards

Lucia
Re: How to combine GraphicEditor and TreeEditor? [message #189543 is a reply to message #189174] Wed, 27 July 2005 17:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Split the editor area into two composites with the treeviewer on the left
and a graphical viewer on the right. Synchronize the scrolling of the two
viewers (look at the RulerComposite for an example). Search this newsgroup
for details since this has been discussed before. You will need separate
EditParts for the two viewers.

"Lucia" <cheng_lucia@yahoo.com> wrote in message
news:2ee143c14cc2ec3b99d4fcf9d4bccc96$1@www.eclipse.org...
> Hi, GEF-experts,
>
> I'm trying to develop my own gantt chart editor in eclipse. It should have
> two parts: GraphicEditor and TreeEditor. (TreeEditor for the task list,
> graphicaEdiotr for the task in the calendar view.) I want to ask if it is
> possible to have one controller(Editpart)for both of them. Or must I
> seperate them? If I must implement two editparts, how can I load them
> together?
>
> I need some suggestions how to do it better. Any idea is welcome.
>
> regards
>
> Lucia
>
>
>
Re: How to combine GraphicEditor and TreeEditor? [message #190827 is a reply to message #189543] Sat, 06 August 2005 12:15 Go to previous message
Eclipse UserFriend
Originally posted by: yong.cheng.98.gmail.com

Hi, Pratik and all,

I'm still a little confused about separating the editparts for the two
viewers. Why I can not find any discussion in the forum? Has anyone already
one example implemented? I will be thankful if you can provide me with more
details.

thanks

Lucia


"Pratik Shah" <none@unknown.com> schrieb im Newsbeitrag
news:dc8ft8$i3q$1@news.eclipse.org...
> Split the editor area into two composites with the treeviewer on the left
> and a graphical viewer on the right. Synchronize the scrolling of the two
> viewers (look at the RulerComposite for an example). Search this
> newsgroup
> for details since this has been discussed before. You will need separate
> EditParts for the two viewers.
>
> "Lucia" <cheng_lucia@yahoo.com> wrote in message
> news:2ee143c14cc2ec3b99d4fcf9d4bccc96$1@www.eclipse.org...
>> Hi, GEF-experts,
>>
>> I'm trying to develop my own gantt chart editor in eclipse. It should
>> have
>> two parts: GraphicEditor and TreeEditor. (TreeEditor for the task list,
>> graphicaEdiotr for the task in the calendar view.) I want to ask if it is
>> possible to have one controller(Editpart)for both of them. Or must I
>> seperate them? If I must implement two editparts, how can I load them
>> together?
>>
>> I need some suggestions how to do it better. Any idea is welcome.
>>
>> regards
>>
>> Lucia
>>
>>
>>
>
>
Previous Topic:Palette label
Next Topic:Displaying StringList in a Figure.
Goto Forum:
  


Current Time: Thu Dec 12 21:22:44 GMT 2024

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

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

Back to the top