| org.eclipse.ui.activities.ITriggerPointAdvisor
All known Subclasses: org.eclipse.ui.activities.WorkbenchTriggerPointAdvisor,
ITriggerPointAdvisor | public interface ITriggerPointAdvisor (Code) | | The trigger point advisor is a mechanism provided by the workbench that is
consulted whenever code that is considered a trigger point is hit. It is the
role of the advisor to determine what, if any, activities should be enabled
as a consequence of this action. The advisor also has the option of vetoing
the operation.
This interface is not intended to be extended or implemented by clients.
since: 3.1 See Also: org.eclipse.ui.activities.ITriggerPoint |
Method Summary | |
Set | allow(ITriggerPoint triggerPoint, IIdentifier identifier) Answer whether the activities bound to the identifier should be enabled
when triggered by the provided trigger point.
Parameters: triggerPoint - the trigger point to test Parameters: identifier - the identifier to test against the trigger point the set of activities to enable. |
allow | Set allow(ITriggerPoint triggerPoint, IIdentifier identifier)(Code) | | Answer whether the activities bound to the identifier should be enabled
when triggered by the provided trigger point.
Parameters: triggerPoint - the trigger point to test Parameters: identifier - the identifier to test against the trigger point the set of activities to enable. If the set is notnull the caller may proceed with their usage ofthe object represented by the identifier. If null the caller should abort the action. |
|
|