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 fromITriggerPointManager.getTriggerPoint(String)
. Instances of this interface are passed as a parameter toITriggerPointAdvisor.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:
ITriggerPointAdvisor
,ITriggerPointManager
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static String
HINT_INTERACTIVE
The interactive hint key.static String
HINT_PRE_UI
A hint key for activities that are enabled based on core expressions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getBooleanHint(String key)
Return the hint with the given key defined on this trigger point as interpreted as aboolean
.String
getId()
Return the id of this trigger point.String
getStringHint(String key)
Return the hint with the given key defined on this trigger point.
-
-
-
Field Detail
-
HINT_INTERACTIVE
static final String HINT_INTERACTIVE
The interactive hint key. Value"interactive"
.- See Also:
- Constant Field Values
-
HINT_PRE_UI
static final String HINT_PRE_UI
A hint key for activities that are enabled based on core expressions.- Since:
- 3.4
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
Return the id of this trigger point.- Returns:
- the id
-
getStringHint
String getStringHint(String key)
Return the hint with the given key defined on this trigger point.- Parameters:
key
- the hint key- Returns:
- the hint
-
getBooleanHint
boolean getBooleanHint(String key)
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:
Boolean.valueOf(java.lang.String)
-
-