public PublishBulkReportAction() { putValue(Action.NAME, I18NSupport.getString("publish")); Icon icon = ImageUtil.getImageIcon("publish"); putValue(Action.SMALL_ICON, icon); putValue(MNEMONIC_KEY, ShortcutsUtil.getMnemonic("publish.mnemonic", new Integer('U'))); putValue(Action.SHORT_DESCRIPTION, I18NSupport.getString("publish")); putValue(Action.LONG_DESCRIPTION, I18NSupport.getString("publish")); }
public RenameChartAction(DBBrowserTree tree, DBBrowserNode selectedNode) { putValue(Action.NAME, I18NSupport.getString("rename.chart")); putValue(Action.SMALL_ICON, ImageUtil.getImageIcon("chart_rename")); putValue(Action.MNEMONIC_KEY, new Integer('R')); putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_R, KeyEvent.CTRL_DOWN_MASK)); putValue(Action.SHORT_DESCRIPTION, I18NSupport.getString("rename.chart")); putValue(Action.LONG_DESCRIPTION, I18NSupport.getString("rename.chart")); this.tree = tree; this.selectedNode = selectedNode; }
public ViewTableColumnsInfoAction(DBObject tableObject, boolean isTable) { putValue(Action.NAME, I18NSupport.getString("view.columns.info")); putValue(Action.SMALL_ICON, ImageUtil.getImageIcon("properties")); putValue(Action.MNEMONIC_KEY, new Integer('I')); // putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_X, // KeyEvent.CTRL_DOWN_MASK)); putValue(Action.SHORT_DESCRIPTION, I18NSupport.getString("view.columns.info")); putValue(Action.LONG_DESCRIPTION, I18NSupport.getString("view.columns.info")); this.tableObject = tableObject; this.isTable = isTable; }
public OpenQueryAction(Report createdReport, boolean fullName) { this.createdReport = createdReport; if (fullName) { putValue(Action.NAME, I18NSupport.getString("open.query")); } else { putValue(Action.NAME, I18NSupport.getString("open.query.small")); } Icon icon = ImageUtil.getImageIcon("query_open"); putValue(Action.SMALL_ICON, icon); putValue( Action.MNEMONIC_KEY, ShortcutsUtil.getMnemonic("query.open.mnemonic", new Integer('O'))); putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(ShortcutsUtil.getShortcut("query.open.accelerator", "control O"))); putValue(Action.SHORT_DESCRIPTION, I18NSupport.getString("open.query.desc")); putValue(Action.LONG_DESCRIPTION, I18NSupport.getString("open.query.desc")); }