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 intAuto-rename all identifiers.static final intRequest to mark an item as collapsed (rendering should be hidden) or expanded (normal rendering, not hidden).static final intCreate a comment.static final intPerform a conversion.static final intCode specific: Create a package.static final intDelete action.static final intMove a source item "to" another (destination) item.static final intCode specific: Move code items to a package.static final intNo operation.static final intCode specific: Provide a type hint for a code item.static final intCode specific: Query code overrides.static final intCode specific: Query types hierarchies.static final intQuery cross-references.static final intRename an item.static final intPerform 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
-