01: package org.enhydra.jawe.base.controller.actions;
02:
03: import java.awt.event.ActionEvent;
04:
05: import org.enhydra.jawe.JaWEComponent;
06: import org.enhydra.jawe.JaWEManager;
07:
08: /**
09: * Class that realizes <B>save as</B> action.
10: * @author Sasa Bojanic
11: */
12: public class SaveAs extends Save {
13:
14: public SaveAs(JaWEComponent jawecomponent) {
15: super (jawecomponent, "SaveAs");
16: }
17:
18: public void actionPerformed(ActionEvent e) {
19: super .actionPerformed(e);
20: }
21:
22: public void enableDisableAction() {
23: setEnabled(JaWEManager.getInstance().getJaWEController()
24: .isSaveEnabled(true));
25: }
26:
27: }
|