Class New
- java.lang.Object
-
- ca.cgjennings.apps.arkham.project.TaskAction
-
- ca.cgjennings.apps.arkham.project.TaskActionTree
-
- ca.cgjennings.apps.arkham.project.New
-
- All Implemented Interfaces:
IconProvider
,java.lang.Iterable<TaskAction>
public class New extends TaskActionTree
ATaskActionTree
that contains commands for creating new files. Look up and extend this action to add new file types to the New menu.- Author:
- Chris Jennings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
New.NewAction
A useful class for adding actions toNew
.static class
New.NewGameComponent
ANew
child action that creates a specific game component from a compiledGameComponent
class.
-
Constructor Summary
Constructors Constructor Description New()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
Returns the human-readable name of this action.-
Methods inherited from class ca.cgjennings.apps.arkham.project.TaskActionTree
add, add, appliesTo, appliesToSelection, findActionByName, get, getSectionIndex, indexOf, isAppliesToShortCircuited, iterator, perform, remove, remove, size
-
Methods inherited from class ca.cgjennings.apps.arkham.project.TaskAction
applyToChildren, getActionName, getDescription, getIcon, performOnSelection, resolveTarget, toString
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Description copied from class:TaskAction
Returns the human-readable name of this action.- Specified by:
getLabel
in classTaskAction
- Returns:
- the name used to create menu items for this action, localized if possible
-
-