registering custom editpolicy roles [message #136556] |
Mon, 07 June 2004 08:37 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02759 seconds