Package com.pnfsoftware.jeb.core.actions
Class Actions
java.lang.Object
com.pnfsoftware.jeb.core.actions.Actions
This class defines well-known actions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Auto-rename all identifiers.static final int
Request to mark an item as collapsed (rendering should be hidden) or expanded (normal rendering, not hidden).static final int
Create a comment.static final int
Perform a conversion.static final int
Code specific: Create a package.static final int
Delete action.static final int
Move a source item "to" another (destination) item.static final int
Code specific: Move code items to a package.static final int
No operation.static final int
Code specific: Provide a type hint for a code item.static final int
Code specific: Query code overrides.static final int
Code specific: Query types hierarchies.static final int
Query cross-references.static final int
Rename an item.static final int
Perform a replacement. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOOP
public static final int NOOPNo operation.- See Also:
-
DELETE
public static final int DELETEDelete action.- See Also:
-
RENAME
public static final int RENAMERename an item.- See Also:
-
COMMENT
public static final int COMMENTCreate a comment.- See Also:
-
QUERY_XREFS
public static final int QUERY_XREFSQuery cross-references.- See Also:
-
CONVERT
public static final int CONVERTPerform a conversion.- See Also:
-
REPLACE
public static final int REPLACEPerform a replacement.- See Also:
-
CREATE_PACKAGE
public static final int CREATE_PACKAGECode specific: Create a package.- See Also:
-
MOVE_TO_PACKAGE
public static final int MOVE_TO_PACKAGECode specific: Move code items to a package.This action has been superseded by
MOVE_TO
; it is left here for legacy reasons. Parsers implementing it should maintain support to avoid breaking extensions (scripts/plugins) relying on it.- See Also:
-
QUERY_TYPE_HIER
public static final int QUERY_TYPE_HIERCode specific: Query types hierarchies.- See Also:
-
QUERY_OVERRIDES
public static final int QUERY_OVERRIDESCode specific: Query code overrides.- See Also:
-
AUTO_RENAME_ALL
public static final int AUTO_RENAME_ALLAuto-rename all identifiers.- See Also:
-
PROVIDE_TYPE_HINT
public static final int PROVIDE_TYPE_HINTCode specific: Provide a type hint for a code item.- See Also:
-
MOVE_TO
public static final int MOVE_TOMove a source item "to" another (destination) item. A generic version ofMOVE_TO_PACKAGE
.- See Also:
-
COLLAPSE
public static final int COLLAPSERequest to mark an item as collapsed (rendering should be hidden) or expanded (normal rendering, not hidden).- See Also:
-
-
Constructor Details
-
Actions
public Actions()
-
-
Method Details
-
idToName
Convert an action to a human-readable, camel-case name.- Parameters:
id
- the action id- Returns:
- the action name, or
UnknownAction{id}
on error
-