📄 actionholder.java
字号:
package org.dbgen.action;import java.util.*;import javax.swing.*;/** * This class was generated by a SmartGuide. * */public class ActionHolder { public final static int ADD_PROJECT = 0; public final static int DELETE_PROJECT = 1 ; public final static int ADD_TABLE = 2; public final static int DELETE_TABLE = 3; public final static int GENERATE_TABLE_OBJECT = 4; public final static int GENERATE_PROJECT = 5; public final static int EXIT = 6; public final static int SAVE_DATA = 7; public final static int IMPORT_TABLES = 8; public final static int CHECK_PROJECT = 9; protected static Action[] actions = { new org.dbgen.action.AddProject(), new org.dbgen.action.DeleteProject(), new org.dbgen.action.AddTable(), new org.dbgen.action.DeleteTable(), null, // generate table code new org.dbgen.action.GenerateProject(), new org.dbgen.action.Exit(), new org.dbgen.action.SaveData(), new org.dbgen.action.ImportTables(), new org.dbgen.action.CheckProject(), }; protected static org.dbgen.gui.WizardCard[] importTableWizardCards = { new org.dbgen.view.ImportWizardCard1(), new org.dbgen.view.ImportWizardCard2() }; /** * This method was created by a SmartGuide. * @param name java.lang.String * @param action Action */ public static Action getAction(int whichAction) { return actions[whichAction]; } /** * This method was created by a SmartGuide. * @param whichAction int */ public static void setEnabled(int whichAction, boolean enabled) { actions[whichAction].setEnabled(enabled); return; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -