0
}
/**
•
Synchronize the state of this object with the state of the
•
<tt>CurrentPortfolio</tt> passed to the constructor.
•
•
This action is enabled only when the <tt>CurrentPortfolio</tt> is titled and
•
needs a save.
•
/
public void update(Observable aPublisher, Object aData) {
setEnabled( fCurrentPortfolio. getNeedsSave() && !fCurrentPortfolio. isUntitled() );
}
// PRIVATE //
private CurrentPortfolio fCurrentPortfolio;
private static final Logger fLogger = Util. getLogger(FileSaveAction. class);
}