Save Problem [message #221452] |
Mon, 14 August 2006 10:51 |
Eclipse User |
|
|
|
Originally posted by: vinicius.ferraz.gmail.com
Hi, I'm using the default Save Action, and I put a button in the
toolbar, like in eclipse. When I'm editing something in the editor, the
button stay unable, only when I click in other View, the button enable,
what I'm doing wrong?
|
|
|
Re: Save Problem [message #221476 is a reply to message #221452] |
Mon, 14 August 2006 20:53 |
Eclipse User |
|
|
|
Originally posted by: guerreroderrick.gmail.com
You might need to add
@Override
public void commandStackChanged(EventObject arg0) {
firePropertyChange(IEditorPart.PROP_DIRTY);
super.commandStackChanged(arg0);
}
in the editor class. That did the trick for me.
Vinicius Ferraz Campos wrote:
> Hi, I'm using the default Save Action, and I put a button in the
> toolbar, like in eclipse. When I'm editing something in the editor, the
> button stay unable, only when I click in other View, the button enable,
> what I'm doing wrong?
|
|
|
Powered by
FUDForum. Page generated in 0.04133 seconds