/** The “add project” action. */
private I18nAction addProjectAction;
+ /** The “insert project” actions. */
+ private Map<Project, I18nAction> insertProjectActions = new HashMap<Project, I18nAction>();
+
/** The “clone project” actions. */
private Map<Project, I18nAction> cloneProjectActions = new HashMap<Project, I18nAction>();
}
/**
+ * Returns the “insert project” action for the given project.
+ *
+ * @param project
+ * The project to get the “insert project” action for
+ * @return The “insert project” action
+ */
+ I18nAction getInsertProjectAction(Project project) {
+ return insertProjectActions.get(project);
+ }
+
+ /**
* Returns the “clone project” action for the given project.
*
* @param project