Ordering of EditPolicies [message #184692] |
Wed, 15 June 2005 14:15 |
Eclipse User |
|
|
|
Originally posted by: cmahoney.ca.ibm.com
Hello,
I am running into a situation where the editpolicies are not installed in
the correct order in one of my editparts. I can resolve this by installing
a particular editpolicy in this editpart prior to calling
super.createEditPolicies or alternatively I could have my toplevel abstract
editpart reserve the order for the editpolicies the subclasses may need to
install.
I can imagine a situation where an editpart needs to install an editpolicy
between two editpolicies that are installed in a parent editpart. Has any
thought been given to allowing the installation of an editpolicy at a
particular index, similar to how layers can be installed?
Thanks,
Cherie
|
|
|
Re: Ordering of EditPolicies [message #184868 is a reply to message #184692] |
Sun, 19 June 2005 06:24 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
This has not come up before. What is the scenario that you have multiple
edit policies contributing to multiple requests simultaneously?
"Cherie Mahoney" <cmahoney@ca.ibm.com> wrote in message
news:d8pd60$smd$1@news.eclipse.org...
> Hello,
>
> I am running into a situation where the editpolicies are not installed in
> the correct order in one of my editparts. I can resolve this by
> installing
> a particular editpolicy in this editpart prior to calling
> super.createEditPolicies or alternatively I could have my toplevel
> abstract
> editpart reserve the order for the editpolicies the subclasses may need to
> install.
>
> I can imagine a situation where an editpart needs to install an editpolicy
> between two editpolicies that are installed in a parent editpart. Has any
> thought been given to allowing the installation of an editpolicy at a
> particular index, similar to how layers can be installed?
>
> Thanks,
> Cherie
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03214 seconds