Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Save Problem
Save Problem [message #221452] Mon, 14 August 2006 10:51 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
Previous Topic:How to refresh a Figure and all its child Figures?
Next Topic:Properties sort
Goto Forum:
  


Current Time: Thu Mar 28 21:16:47 GMT 2024

Powered by FUDForum. Page generated in 0.04801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top