1 19 20 package org.netbeans.spi.project.ui.support; 21 22 import javax.swing.Action ; 23 import org.netbeans.modules.project.uiapi.Utilities; 24 25 29 public class CommonProjectActions { 30 31 37 public static final String EXISTING_SOURCES_FOLDER = "existingSourcesFolder"; 38 39 private CommonProjectActions() {} 40 41 50 public static Action setAsMainProjectAction() { 51 return Utilities.getActionsFactory().setAsMainProjectAction(); 52 } 53 54 63 public static Action customizeProjectAction() { 64 return Utilities.getActionsFactory().customizeProjectAction(); 65 } 66 67 77 public static Action openSubprojectsAction() { 78 return Utilities.getActionsFactory().openSubprojectsAction(); 79 } 80 81 90 public static Action closeProjectAction() { 91 return Utilities.getActionsFactory().closeProjectAction(); 92 } 93 94 103 public static Action newFileAction() { 104 return Utilities.getActionsFactory().newFileAction(); 105 } 106 107 117 public static Action deleteProjectAction() { 118 return Utilities.getActionsFactory().deleteProjectAction(); 119 } 120 121 131 public static Action copyProjectAction() { 132 return Utilities.getActionsFactory().copyProjectAction(); 133 } 134 135 145 public static Action moveProjectAction() { 146 return Utilities.getActionsFactory().moveProjectAction(); 147 } 148 149 159 public static Action renameProjectAction() { 160 return Utilities.getActionsFactory().renameProjectAction(); 161 } 162 163 177 public static Action newProjectAction() { 178 return Utilities.getActionsFactory().newProjectAction(); 179 } 180 181 193 public static Action setProjectConfigurationAction() { 194 return Utilities.getActionsFactory().setProjectConfigurationAction(); 195 } 196 197 } 198 | Popular Tags |