1 19 20 package org.netbeans.modules.java.platform.ui; 21 22 import org.openide.util.HelpCtx; 23 import org.openide.util.NbBundle; 24 import org.openide.util.actions.CallableSystemAction; 25 26 27 28 public class PlatformsCustomizerAction extends CallableSystemAction { 29 30 public PlatformsCustomizerAction () { 31 putValue("noIconInMenu", Boolean.TRUE); } 33 34 public void performAction() { 35 org.netbeans.api.java.platform.PlatformsCustomizer.showCustomizer(null); 36 } 37 38 public String getName() { 39 return NbBundle.getMessage(PlatformsCustomizerAction.class,"CTL_PlatformManager"); 40 } 41 42 public HelpCtx getHelpCtx() { 43 return HelpCtx.DEFAULT_HELP; 44 } 45 46 protected boolean asynchronous () { 47 return false; 48 } 49 } 50 | Popular Tags |