package application.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import com.mxgraph.swing.mxGraphComponent; import application.ApplicationLanguage; public abstract class AbstractViewerAction extends AbstractAction { protected mxGraphComponent graphComponent = null; public AbstractViewerAction(String propName, mxGraphComponent graphComponent) { super(ApplicationLanguage.getInstance().getOptionByPropName(propName)); this.graphComponent = graphComponent; } }