Examples of ActionMenu


Examples of devplugin.ActionMenu

   */
  private void showInfoDialog(PluginProxy plugin) {
    if (plugin == null) {
      return;
    }
    ActionMenu actionMenu = plugin.getButtonAction();
    Action action = null;
    if (actionMenu !=null) {
      action = actionMenu.getAction();
    }
    Icon ico = null;
    if (action != null) {
      ico = (Icon) action.getValue(Action.SMALL_ICON);
    }
View Full Code Here

Examples of devplugin.ActionMenu

   * @return the actions this plugin provides for the given program or
   *         <code>null</code> if the plugin does not provide this feature.
   */
  public final ActionMenu getContextMenuActions(Program program) {
    try {
      ActionMenu menu = doGetContextMenuActions(program);

      if (menu != null) {
        return new ActionMenuProxy(this, menu);
      } else {
        return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.