home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.app.BaseAction;
- import java.awt.event.ActionEvent;
- import javax.swing.AbstractAction;
-
- public class ElementDiagram$ZoomInAction extends BaseAction {
- // $FF: synthetic field
- final ElementDiagram this$0;
- ElementDiagram.ZoomOutAction outAction;
-
- public ElementDiagram$ZoomInAction(ElementDiagram var1) {
- super("element.zoomin", 91);
- this.this$0 = var1;
- this.updateEnabled();
- }
-
- public void updateEnabled() {
- ((AbstractAction)this).setEnabled(this.this$0.getZoom() < this.this$0.getZoomMax());
- }
-
- public void setOutAction(ElementDiagram.ZoomOutAction var1) {
- this.outAction = var1;
- }
-
- public void actionOccurred(ActionEvent var1) {
- this.this$0.zoomIn();
- this.updateEnabled();
- this.outAction.updateEnabled();
- }
- }
-