Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » registering custom editpolicy roles
registering custom editpolicy roles [message #136556] Mon, 07 June 2004 08:37 Go to next message
Eclipse UserFriend
Originally posted by: m.hassenforder.uha.fr

I have several graphical roles for one editPart
GRAPHICAL_NODE_ROLE, SPECIAL_NODE_ROLE

I am not interested to mix too many things into one policy.

So I have look at the editPolicy registry and find :
there is no special use of a special key name.
the key is just here to register/unregister a policy.
as the key is just a string I can create and register how many policies
as I need, even more.

Is this right ?

thanks

PS : I need several graphical roles because I have several hot points in
one part which help to create several parts connected together.
Perhaps I am wrong.
Re: registering custom editpolicy roles [message #136737 is a reply to message #136556] Mon, 07 June 2004 15:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Hassenforder" <m.hassenforder@uha.fr> wrote in message
news:ca1915$vn5$1@eclipse.org...
> I have several graphical roles for one editPart
> GRAPHICAL_NODE_ROLE, SPECIAL_NODE_ROLE
>
> I am not interested to mix too many things into one policy.
>
> So I have look at the editPolicy registry and find :
> there is no special use of a special key name.
> the key is just here to register/unregister a policy.
> as the key is just a string I can create and register how many policies
> as I need, even more.
>
> Is this right ?

Yes, this is right.

> thanks
>
> PS : I need several graphical roles because I have several hot points in
> one part which help to create several parts connected together.
> Perhaps I am wrong.
Re: registering custom editpolicy roles [message #136922 is a reply to message #136737] Tue, 08 June 2004 06:32 Go to previous message
Eclipse UserFriend
Originally posted by: m.hassenforder.uha.fr

Randy Hudson wrote:
> "Hassenforder" <m.hassenforder@uha.fr> wrote in message
> news:ca1915$vn5$1@eclipse.org...
>
>>I have several graphical roles for one editPart
>>GRAPHICAL_NODE_ROLE, SPECIAL_NODE_ROLE
>>
>>I am not interested to mix too many things into one policy.
>>
>>So I have look at the editPolicy registry and find :
>>there is no special use of a special key name.
>>the key is just here to register/unregister a policy.
>>as the key is just a string I can create and register how many policies
>>as I need, even more.
>>
>>Is this right ?
>
>
> Yes, this is right.
>
>
>>thanks
>>
>>PS : I need several graphical roles because I have several hot points in
>>one part which help to create several parts connected together.
>>Perhaps I am wrong.
>
>
>

thanks for the reply, I was in great trouble, perverting GEF with custom
approaches.
Previous Topic:CompoundDirectedGraphLayout - with constrained nodes
Next Topic:Can anybody download the example code of GEF here?
Goto Forum:
  


Current Time: Fri Apr 26 04:24:37 GMT 2024

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

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

Back to the top