1. 51.
    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);
    }
    ···
   tümünü göster