1 19 20 package org.netbeans.spi.project.ui.support; 21 22 import javax.swing.Action ; 23 import javax.swing.Icon ; 24 import org.netbeans.modules.project.uiapi.Utilities; 25 26 30 public class ProjectSensitiveActions { 31 32 private ProjectSensitiveActions() {} 33 34 49 public static Action projectCommandAction( String command, String namePattern, Icon icon ) { 50 return Utilities.getActionsFactory().projectCommandAction( command, namePattern, icon ); 51 } 52 53 70 public static Action projectSensitiveAction( ProjectActionPerformer performer, String namePattern, Icon icon ) { 71 return Utilities.getActionsFactory().projectSensitiveAction( performer, namePattern, icon ); 72 } 73 74 } 75 | Popular Tags |