UpdateAction in GEF 2.0.3 (see Redbook sample)? [message #143751] |
Wed, 21 July 2004 13:15 |
Eclipse User |
|
|
|
Originally posted by: mastr.arcor.de
Hey!
I created my Plug-In after the Redbook-Sample.
I'm using GEF 2.0.3 (because I have to) and there is no UpdateAction
defined in the API.
public void updateActions(List actionIDs) {
for(Iterator it = actionIDs.iterator(); it.hasNext(); ) {
IAction action = actionRegistry.getAction(it.next());
if( action != null && action instanceof UpdateAction )
((UpdateAction) action).update();
}
}
So how can I update my actions? Is there an other Action class
implementing this funtionality or must I workaround this?
Hope someone can help,
So far, Martin.
|
|
|
|
|
Re: UpdateAction in GEF 2.0.3 (see Redbook sample)? [message #143864 is a reply to message #143751] |
Thu, 22 July 2004 03:50 |
Eclipse User |
|
|
|
Originally posted by: g.wagenknecht.planet-wagenknecht.de
Martin S. wrote:
> So how can I update my actions? Is there an other Action class
> implementing this funtionality or must I workaround this?
Not sure what actions you want to update. If this are your actions I would
just create the interface (you can even call it "Updatable") and implement
it in your actions.
Cu, Gunnar
|
|
|
Powered by
FUDForum. Page generated in 0.02603 seconds