Package | Description |
---|---|
org.eclipse.ui.activities |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IMutableActivityManager
An instance of this interface allows clients to manage activities, as
defined by the extension point
org.eclipse.ui.activities . |
Modifier and Type | Method and Description |
---|---|
IActivityManager |
ActivityManagerEvent.getActivityManager()
Returns the instance of the interface that changed.
|
IActivityManager |
IWorkbenchActivitySupport.getActivityManager()
Returns the activity manager for the workbench.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WorkbenchTriggerPointAdvisor.computeEnablement(IActivityManager activityManager,
IIdentifier identifier)
This implementation of
ITriggerPointAdvisor.computeEnablement(IActivityManager, IIdentifier)
calls
WorkbenchTriggerPointAdvisor.doComputeEnablement(IActivityManager, IIdentifier, boolean) with
a boolean argument of false . |
boolean |
ITriggerPointAdvisor.computeEnablement(IActivityManager activityManager,
IIdentifier identifier)
Calculate the identifier's enabled state for a combination of activities
with and without enabled when core expressions.
|
protected boolean |
WorkbenchTriggerPointAdvisor.doComputeEnablement(IActivityManager activityManager,
IIdentifier identifier,
boolean disabledExpressionActivitiesTakePrecedence)
Helper method for determining whether an identifier should be enabled.
|
static Set |
WorkbenchActivityHelper.getContainedCategories(IActivityManager activityManager,
String categoryId)
Return a list of category ids that are implicitly contained within the
given category.
|
static Set |
WorkbenchActivityHelper.getDisabledCategories(IActivityManager activityManager,
String categoryId)
Return a list of category ids that will become implicity disabled if the
given category becomes disabled Note that the set returned by this set
represents the delta of categories that would be enabled - if the
category is already enabled then it is omitted.
|
static Set |
WorkbenchActivityHelper.getEnabledCategories(IActivityManager activityManager)
Return the set of enabled categories.
|
static Set |
WorkbenchActivityHelper.getEnabledCategories(IActivityManager activityManager,
String categoryId)
Return a list of category ids that will become implicity enabled if the
given category becomes enabled Note that the set returned by this set
represents the delta of categories that would be enabled - if the
category is already enabled then it is omitted.
|
static Set |
WorkbenchActivityHelper.getEnabledCategoriesForActivity(IActivityManager activityManager,
String activityId)
Return the number of enabled categories that this activity belongs to.
|
static Set |
WorkbenchActivityHelper.getPartiallyEnabledCategories(IActivityManager activityManager)
Return the set of partially enabled categories.
|
static boolean |
WorkbenchActivityHelper.isEnabled(IActivityManager activityManager,
String categoryId)
Returns whether the given category is enabled.
|
static boolean |
WorkbenchActivityHelper.isPartiallyEnabled(IActivityManager activityManager,
String categoryId)
Returns whether the given category is partially enabled.
|
Constructor and Description |
---|
ActivityManagerEvent(IActivityManager activityManager,
boolean definedActivityIdsChanged,
boolean definedCategoryIdsChanged,
boolean enabledActivityIdsChanged,
Set previouslyDefinedActivityIds,
Set previouslyDefinedCategoryIds,
Set previouslyEnabledActivityIds)
Creates a new instance of this class.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.