Action [message #452544] |
Mon, 21 March 2005 18:37  |
Eclipse User |
|
|
|
Why does the Action class have methods such as setChecked, setEnabled, etc.
if
calling them has no effect on the GUI widgets that run the action such as
the toolbar item or menu item?
|
|
|
|
|
|
|
Re: Action [message #452966 is a reply to message #452722] |
Tue, 29 March 2005 05:52  |
Eclipse User |
|
|
|
Hi Mark,
I'm using actions via code. I created only standalone applications.
Bye Stefan
"Mark Victory" <mvictory@us.ibm.com> schrieb im Newsbeitrag
news:d1s9b5$kjv$1@news.eclipse.org...
> Thanks Stefan,
>
> Are your actions contributed via "code" or the plugin.xml?
>
> Thanks,
> Mark
>
> "Stefan Pietsch" <pietsch@multichart.de> wrote in message
> news:d1rrg6$u82$1@news.eclipse.org...
> > Hi Mark,
> >
> > I'm using IAction-classes as variables in my application and use them
for
> my
> > menus, buttons, toolbars. If I call IAction.setChecked or
> IAction.setEnabled
> > then all menus, buttons and toolbars were updated automatically.
> >
> > Take a look at
> > MenuManager.add
> > ToolbarManager.add
> > ...
> >
> > Bye Stefan
> >
> > "Mark Victory" <mvictory@us.ibm.com> schrieb im Newsbeitrag
> > news:d1nqjp$sbb$1@news.eclipse.org...
> > > Why does the Action class have methods such as setChecked, setEnabled,
> > etc.
> > > if
> > > calling them has no effect on the GUI widgets that run the action such
> as
> > > the toolbar item or menu item?
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.25376 seconds