Lightweight Decorator and actionExpression [message #146356] |
Sun, 19 October 2003 14:17 |
Eclipse User |
|
|
|
I've been reading "Understanding Decorators in Eclipse".
I'm trying to use a LightWeightDecorator. Enablement is where I'm confused
at the moment. One of the conditions that I can specify is "objectClass".
<!ELEMENT objectClass EMPTY>
<!ATTLIST objectClass
name CDATA #REQUIRED
>
* name - a fully qualified name of a class. The expression is evaluated
as true only if the selection implement this class.
Does this include class the object can be adapted to? What I really want to
do is decorate a IJavaProject if I can also adapt it to be IFooProject. It
doesn't read like that, but it seems to me like the model for enablement is
very limited with regard to state information that changes, and more
importantly, information that is not part of the core object.
Thanks
David
|
|
|
Powered by
FUDForum. Page generated in 0.03430 seconds