Interface EditorAction
- All Known Subinterfaces:
- Editor<T>
- All Known Implementing Classes:
- BooleanAction,- EnumAction,- ListEditor,- NumberAction,- ValueEditor
public interface EditorAction
An action of the editor
- 
Method SummaryModifier and TypeMethodDescriptiondefault Collection<String> complete(EditorActor actor, String[] args) Get the completion suggestions, given the argumentsGet the description of the actionvoidexecute(EditorActor actor, String[] args) Execute the actiondefault EditorStringusage()Get the usage of the action
- 
Method Details- 
executeExecute the action- Parameters:
- actor- the actor
- args- the arguments
 
- 
descriptionEditorString description()Get the description of the action- Returns:
- the description
 
- 
completeGet the completion suggestions, given the arguments- Parameters:
- actor- the action
- args- the argument
- Returns:
- the suggestions
 
- 
usageGet the usage of the action- Returns:
- the usage
 
 
-