1 19 20 package org.netbeans.core.actions; 21 22 import org.openide.windows.TopComponent; 23 import org.openide.util.HelpCtx; 24 import org.openide.util.NbBundle; 25 import org.openide.util.actions.CallableSystemAction; 26 import org.openide.util.Mutex; 27 28 import org.netbeans.core.NbSheet; 29 30 34 public final class GlobalPropertiesAction extends CallableSystemAction { 35 36 public void performAction() { 37 TopComponent c = NbSheet.findDefault(); 38 c.open (); 39 c.requestActive(); 40 } 41 42 protected boolean asynchronous() { 43 return false; 44 } 45 46 public String getName() { 47 return NbBundle.getBundle(GlobalPropertiesAction.class).getString("GlobalProperties"); } 49 50 public HelpCtx getHelpCtx() { 51 return new HelpCtx (GlobalPropertiesAction.class); 52 } 53 54 protected String iconResource () { 55 return "org/netbeans/core/resources/frames/globalProperties.gif"; } 57 58 } 59 | Popular Tags |