Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Compartment vs EditPart
Compartment vs EditPart [message #245386] Mon, 08 September 2008 19:41 Go to next message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

For a container, how do I access the EditPart within the Compartment,
or vise versa?

My container is called Actor, so the EditPart is called ActorEditPart and
the Compartment is called ActorActorCompartment.

~Kelvin Ng
Re: Compartment vs EditPart [message #245462 is a reply to message #245386] Thu, 11 September 2008 17:04 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Kelvin

What package is your Compartment in?

Cheers...
Anthony

"Kelvin Ng" <kelvinng.db@gmail.com> wrote in message
news:ga3v4e$4qu$2@build.eclipse.org...
> For a container, how do I access the EditPart within the Compartment, or
> vise versa?
>
> My container is called Actor, so the EditPart is called ActorEditPart and
> the Compartment is called ActorActorCompartment.
>
> ~Kelvin Ng
>
Re: Compartment vs EditPart [message #245555 is a reply to message #245462] Tue, 16 September 2008 19:42 Go to previous message
Eclipse UserFriend
Originally posted by: kelvinng.db.gmail.com

On 2008-09-11 13:04:44 -0400, "Anthony Hunter" <anthonyh@ca.ibm.com> said:

> Hi Kelvin
>
> What package is your Compartment in?
>
> Cheers...
> Anthony
>
> "Kelvin Ng" <kelvinng.db@gmail.com> wrote in message
> news:ga3v4e$4qu$2@build.eclipse.org...
>> For a container, how do I access the EditPart within the Compartment, or
>> vise versa?
>>
>> My container is called Actor, so the EditPart is called ActorEditPart and
>> the Compartment is called ActorActorCompartment.
>>
>> ~Kelvin Ng

Hi Anthony, both the EditPart and the Compartment are in the same package,
as generated by GMF. They are both part of this package:
edu.toronto.cs.openome_model.diagram.edit.parts

I'm not looking to access one 'class' from another class, i'm looking to access
the instances of the classes.

~Kelvin Ng
Previous Topic:coolbar uses
Next Topic:[Announce] GEF 3.4.1 M200809101400 is available
Goto Forum:
  


Current Time: Fri Apr 26 20:21:02 GMT 2024

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

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

Back to the top