public interface VCSActionInfo
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDialogHint()
Gets the hint text of the dialog accompanying the action.
|
java.lang.String |
getDialogTitle()
Gets the title text of the dialog accompanying the action.
|
java.util.Collection |
getFilteredSelection(Context context)
Filters the
Context selection based on the declared
URLFilter s and VCSStatusFilter s referenced by this action. |
java.lang.String |
getHelpTopicId()
Gets the help topic of the dialog accompanying the action.
|
VCSCommandStyle |
getStyle()
Gets the
VCSCommandStyle representing
the style of the action. |
java.lang.Boolean |
getToggleStatus()
Gets the toggle status for the action.
|
VCSCommandType |
getType()
Gets the
VCSCommandType representing
the style of the action. |
boolean |
isChangeListAction()
Determines whether or not this action is referenced for use from a
ChangeList containing view. |
boolean |
requirementsSatisfied(Context context)
Evaluates whether or not the
ActionRequirement s referenced by the
action are satisfied for the given context. |
VCSCommandStyle getStyle()
VCSCommandStyle
representing
the style of the action.VCSCommandStyle
representing
the style of the action.VCSCommandType getType()
VCSCommandType
representing
the style of the action.VCSCommandType
representing
the style of the action.java.lang.Boolean getToggleStatus()
Boolean.TRUE
when this is a toggle action and its states is set to
enabled by default
Boolean.FALSE
when this is a toggle action and its states is set to
disabled by default
null
when this is not a toggle actionjava.lang.String getDialogTitle()
java.lang.String getDialogHint()
java.lang.String getHelpTopicId()
boolean isChangeListAction()
ChangeList
containing view.true
if this action is referenced by a change list
containing view, false
otherwise.boolean requirementsSatisfied(Context context) throws java.lang.Exception
ActionRequirement
s referenced by the
action are satisfied for the given context. Any errors encountered during
evaluation will be reported via the Logger
of
the containing VCSProfile
.context
- the Context
.true
iff all ActionRequirement
s referenced by
the action are satisfied, false
otherwise.java.lang.Exception
java.util.Collection getFilteredSelection(Context context) throws java.lang.Exception
Context
selection based on the declared
URLFilter
s and VCSStatusFilter
s referenced by this action.context
- the Context
.java.util.Collection
representing the filtered selection.java.lang.Exception