public interface ITriggerPointAdvisor
|Modifier and Type||Method and Description|
Answer whether the activities bound to the identifier should be enabled when triggered by the provided trigger point.
Calculate the identifier's enabled state for a combination of activities with and without enabled when core expressions.
Set allow(ITriggerPoint triggerPoint, IIdentifier identifier)
triggerPoint- the trigger point to test
identifier- the identifier to test against the trigger point
null, the caller can proceed with usage of the contribution provided that the collection of activities is enabled. If this is
null, the caller should assume that the operation involving the contribution should be aborted. If this method returns the empty set then the operation can proceed without any changes to activity enablement state. Please note that it is the callers responsibility to ensure that the Set returned by this method is actually enabled - after setting the enabled state of the required activities the change should be verified by consulting
boolean computeEnablement(IActivityManager activityManager, IIdentifier identifier)
activityManager- the activity manager
identifier- the identifier to update
trueif this identifier should be enabled,
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.