Package org.eclipse.ui.activities
Interface ITriggerPoint
public interface ITriggerPoint
A trigger point represents a place within the Workbench that has the
potential to enable activities. Instances of this class may be obtained from
ITriggerPointManager.getTriggerPoint(String)
.
Instances of this interface are passed as a parameter to
ITriggerPointAdvisor.allow(ITriggerPoint, IIdentifier)
and may be used by the advisor to determine policy.
This interface is not intended to be extended or implemented by clients.
- Since:
- 3.1
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBooleanHint
(String key) Return the hint with the given key defined on this trigger point as interpreted as aboolean
.getId()
Return the id of this trigger point.getStringHint
(String key) Return the hint with the given key defined on this trigger point.
-
Field Details
-
HINT_INTERACTIVE
The interactive hint key. Value"interactive"
.- See Also:
-
HINT_PRE_UI
A hint key for activities that are enabled based on core expressions.- Since:
- 3.4
- See Also:
-
-
Method Details
-
getId
String getId()Return the id of this trigger point.- Returns:
- the id
-
getStringHint
Return the hint with the given key defined on this trigger point.- Parameters:
key
- the hint key- Returns:
- the hint
-
getBooleanHint
Return the hint with the given key defined on this trigger point as interpreted as aboolean
.- Parameters:
key
- the hint key- Returns:
- the hint
- See Also:
-