List of usage examples for javax.swing Action SHORT_DESCRIPTION
String SHORT_DESCRIPTION
To view the source code for javax.swing Action SHORT_DESCRIPTION.
Click Source Link
String
description for the action, used for tooltip text. From source file:ca.sfu.federation.action.ShowHelpWebSiteAction.java
public ShowHelpWebSiteAction() { super("Online Help Documents", null); this.putValue(Action.LONG_DESCRIPTION, "Online Help Documents"); this.putValue(Action.MNEMONIC_KEY, KeyEvent.VK_H); this.putValue(Action.SHORT_DESCRIPTION, "Online Help Documents"); }
From source file:lince.controladores.exportar.AbrirExportarHoisan.java
public AbrirExportarHoisan() { putValue(Action.NAME, ResourceBundleHelper.getI18NLabel("HOISAN")); putValue(Action.ACTION_COMMAND_KEY, EXPORT_HOISAN_COMMAND_ID); putValue(Action.SHORT_DESCRIPTION, ResourceBundleHelper.getI18NLabel("actions.export.Hoisan")); }
From source file:org.pentaho.reporting.designer.core.actions.global.LaunchHelpAction.java
public LaunchHelpAction() { putValue(Action.NAME, ActionMessages.getString("LaunchHelpAction.Text")); putValue(Action.SHORT_DESCRIPTION, ActionMessages.getString("LaunchHelpAction.Description")); putValue(Action.MNEMONIC_KEY, ActionMessages.getOptionalMnemonic("LaunchHelpAction.Mnemonic")); putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("LaunchHelpAction.Accelerator")); }
From source file:pl.otros.logview.gui.actions.StartSocketListener.java
public StartSocketListener(OtrosApplication otrosApplication, Collection<SocketLogReader> logReaders) { super(otrosApplication); this.logReaders = logReaders; putValue(Action.NAME, "Start socket listener"); putValue(Action.SHORT_DESCRIPTION, "Start socket listener on port."); putValue(Action.LONG_DESCRIPTION, "Start socket listener on port."); putValue(SMALL_ICON, Icons.PLUGIN_PLUS); }
From source file:org.pmedv.blackboard.commands.SaveNetlistCommand.java
public SaveNetlistCommand() { putValue(Action.NAME, resources.getResourceByKey("SaveNetlistCommand.name")); putValue(Action.SMALL_ICON, resources.getIcon("icon.save")); putValue(Action.SHORT_DESCRIPTION, resources.getResourceByKey("SaveNetlistCommand.description")); }
From source file:com.sshtools.common.ui.NewWindowAction.java
/** * Creates a new NewWindowAction object. * * @param application/*w ww. ja va 2s. co m*/ */ public NewWindowAction(SshToolsApplication application) { this.application = application; putValue(Action.NAME, "New Window"); putValue(Action.SMALL_ICON, getIcon("/com/sshtools/common/ui/newwindow.png")); putValue(LARGE_ICON, getIcon("/com/sshtools/common/ui/largenewwindow.png")); putValue(Action.SHORT_DESCRIPTION, "Create new window"); putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_W, KeyEvent.ALT_MASK)); putValue(Action.LONG_DESCRIPTION, "Create a new SSHTerm window"); putValue(Action.MNEMONIC_KEY, new Integer('w')); putValue(Action.ACTION_COMMAND_KEY, "new-window"); putValue(StandardAction.ON_MENUBAR, new Boolean(true)); putValue(StandardAction.MENU_NAME, "File"); putValue(StandardAction.MENU_ITEM_GROUP, new Integer(0)); putValue(StandardAction.MENU_ITEM_WEIGHT, new Integer(90)); putValue(StandardAction.ON_TOOLBAR, new Boolean(true)); putValue(StandardAction.TOOLBAR_GROUP, new Integer(0)); putValue(StandardAction.TOOLBAR_WEIGHT, new Integer(90)); }
From source file:com.stefanbrenner.droplet.ui.actions.StartAction.java
public StartAction(final JFrame frame, final IDropletContext dropletContext) { super(frame, dropletContext, Messages.getString("StartAction.title")); //$NON-NLS-1$ putValue(Action.SHORT_DESCRIPTION, Messages.getString("StartAction.description")); //$NON-NLS-1$ }
From source file:ca.sfu.federation.action.CreateScenarioAction.java
public CreateScenarioAction() { super("Create Scenario", null); Icon icon = ImageIconUtils.loadIconById("model-create-scenario"); this.putValue(Action.LONG_DESCRIPTION, "Create Scenario"); this.putValue(Action.MNEMONIC_KEY, KeyEvent.VK_S); this.putValue(Action.SHORT_DESCRIPTION, "Create Scenario"); this.putValue(Action.SMALL_ICON, icon); }
From source file:org.executequery.gui.browser.TreeFindAction.java
public TreeFindAction() { super(); putValue(Action.SHORT_DESCRIPTION, "Search nodes..."); }
From source file:ca.sfu.federation.action.CreateAssemblyAction.java
public CreateAssemblyAction() { super("Create Assembly", null); Icon icon = ImageIconUtils.loadIconById("model-create-assembly"); this.putValue(Action.LONG_DESCRIPTION, "Create Assembly"); this.putValue(Action.MNEMONIC_KEY, KeyEvent.VK_A); this.putValue(Action.SHORT_DESCRIPTION, "Create Assembly"); this.putValue(Action.SMALL_ICON, icon); }