Package | Description |
---|---|
org.eclipse.core.filebuffers |
Provides the API for accessing file buffers.
|
org.eclipse.core.filebuffers.manipulation |
Provides the API for manipulating file buffers.
|
org.eclipse.core.resources |
Provides basic support for managing a workspace and
its resources.
|
org.eclipse.core.resources.team |
Provides APIs intended to be implemented by the Team component.
|
org.eclipse.core.runtime.jobs |
Provides core support for scheduling and interacting with background activity.
|
org.eclipse.debug.core.commands |
Provides a set of interfaces for common debug commands. |
org.eclipse.debug.core.model |
Defines interfaces for debug model elements, source lookup, and launching.
|
org.eclipse.debug.ui |
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
|
org.eclipse.ltk.core.refactoring |
Application programmer interface to implement semantic preserving workspace transformations.
|
org.eclipse.team.core.mapping |
Application programming interfaces for working with resource mappings.
|
org.eclipse.team.core.mapping.provider |
Application programming interfaces for working with resource mappings.
|
org.eclipse.team.ui |
Provides basic support for managing Team providers.
|
org.eclipse.ui.actions |
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
|
org.eclipse.ui.console |
Application programming interfaces for interaction
with the Eclipse console.
|
org.eclipse.ui.dialogs |
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
|
org.eclipse.ui.editors.text |
Provides a standard text editor and concrete document providers based
IFileBuffer and others directly handling IFile and
IStorage as editor input.
|
org.eclipse.ui.ide.undo |
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
|
org.eclipse.ui.progress |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
org.eclipse.ui.texteditor |
Provides a framework for text editors obeying to the
desktop rules.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
IFileBuffer.computeCommitRule()
Computes the scheduling rule that is required for committing a changed buffer.
|
ISchedulingRule |
IFileBuffer.computeValidateStateRule()
Computes the scheduling rule that is required for validating the state of the buffer.
|
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
GenericFileBufferOperationRunner.computeCommitRule(IFileBuffer[] fileBuffers) |
Modifier and Type | Interface and Description |
---|---|
interface |
IContainer
Interface for resources which may contain
other resources (termed its members).
|
interface |
IFile
Files are leaf resources which contain data.
|
interface |
IFolder
Folders may be leaf or non-leaf resources and may contain files and/or other folders.
|
interface |
IProject
A project is a type of resource which groups resources
into buildable, reusable units.
|
interface |
IResource
The workspace analog of file system files
and directories.
|
interface |
IWorkspaceRoot
A root resource represents the top of the resource hierarchy in a workspace.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
IResourceRuleFactory.buildRule()
Returns the scheduling rule that is required for building a project or the
entire workspace.
|
ISchedulingRule |
IResourceRuleFactory.charsetRule(IResource resource)
Returns the scheduling rule that is required for changing the charset
setting for a file or the default charset setting for a container.
|
ISchedulingRule |
IResourceRuleFactory.copyRule(IResource source,
IResource destination)
Returns the scheduling rule that is required for copying a resource.
|
ISchedulingRule |
IResourceRuleFactory.createRule(IResource resource)
Returns the scheduling rule that is required for creating a project, folder,
or file.
|
ISchedulingRule |
IResourceRuleFactory.deleteRule(IResource resource)
Returns the scheduling rule that is required for deleting a resource.
|
ISchedulingRule |
IResourceRuleFactory.derivedRule(IResource resource)
Returns the scheduling rule that is required for changing the derived flag
on a resource.
|
ISchedulingRule |
IncrementalProjectBuilder.getRule(int kind,
Map<String,String> args)
Returns the scheduling rule that is required for building
the project build configuration for which this builder is defined.
|
ISchedulingRule |
IResourceRuleFactory.markerRule(IResource resource)
Returns the scheduling rule that is required for creating, modifying, or
deleting markers on a resource.
|
ISchedulingRule |
IResourceRuleFactory.modifyRule(IResource resource)
Returns the scheduling rule that is required for modifying a resource.
|
ISchedulingRule |
IResourceRuleFactory.moveRule(IResource source,
IResource destination)
Returns the scheduling rule that is required for moving a resource.
|
ISchedulingRule |
IResourceRuleFactory.refreshRule(IResource resource)
Returns the scheduling rule that is required for performing
refreshLocal on a resource. |
ISchedulingRule |
IResourceRuleFactory.validateEditRule(IResource[] resources)
Returns the scheduling rule that is required for a
validateEdit |
Modifier and Type | Method and Description |
---|---|
void |
IWorkspace.run(IWorkspaceRunnable action,
ISchedulingRule rule,
int flags,
IProgressMonitor monitor)
Runs the given action as an atomic workspace operation.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
ResourceRuleFactory.buildRule()
Default implementation of
IResourceRuleFactory#buildRule . |
ISchedulingRule |
ResourceRuleFactory.charsetRule(IResource resource)
Default implementation of
IResourceRuleFactory#charsetRule . |
ISchedulingRule |
ResourceRuleFactory.copyRule(IResource source,
IResource destination)
Default implementation of
IResourceRuleFactory#copyRule . |
ISchedulingRule |
ResourceRuleFactory.createRule(IResource resource)
Default implementation of
IResourceRuleFactory#createRule . |
ISchedulingRule |
ResourceRuleFactory.deleteRule(IResource resource)
Default implementation of
IResourceRuleFactory#deleteRule . |
ISchedulingRule |
ResourceRuleFactory.derivedRule(IResource resource)
Default implementation of
IResourceRuleFactory#derivedRule . |
ISchedulingRule |
ResourceRuleFactory.markerRule(IResource resource)
Default implementation of
IResourceRuleFactory#markerRule . |
ISchedulingRule |
ResourceRuleFactory.modifyRule(IResource resource)
Default implementation of
IResourceRuleFactory#modifyRule . |
ISchedulingRule |
ResourceRuleFactory.moveRule(IResource source,
IResource destination)
Default implementation of
IResourceRuleFactory#moveRule . |
protected ISchedulingRule |
ResourceRuleFactory.parent(IResource resource)
Convenience method to return the parent of the given resource,
or the resource itself for projects and the workspace root.
|
ISchedulingRule |
ResourceRuleFactory.refreshRule(IResource resource)
Default implementation of
IResourceRuleFactory#refreshRule . |
ISchedulingRule |
ResourceRuleFactory.validateEditRule(IResource[] resources)
Default implementation of
IResourceRuleFactory#validateEditRule . |
Modifier and Type | Class and Description |
---|---|
class |
MultiRule
A MultiRule is a compound scheduling rule that represents a fixed group of child
scheduling rules.
|
Modifier and Type | Method and Description |
---|---|
static ISchedulingRule |
MultiRule.combine(ISchedulingRule[] ruleArray)
Returns a scheduling rule that encompasses all provided rules.
|
static ISchedulingRule |
MultiRule.combine(ISchedulingRule rule1,
ISchedulingRule rule2)
Returns a scheduling rule that encompasses both provided rules.
|
ISchedulingRule |
IJobManager.currentRule()
Returns the scheduling rule currently held by this thread, or
null
if the current thread does not hold any scheduling rule. |
ISchedulingRule[] |
MultiRule.getChildren()
Returns the child rules within this rule.
|
ISchedulingRule |
Job.getRule()
Returns the scheduling rule for this job.
|
Modifier and Type | Method and Description |
---|---|
void |
IJobManager.beginRule(ISchedulingRule rule,
IProgressMonitor monitor)
Begins applying this rule in the calling thread.
|
static ISchedulingRule |
MultiRule.combine(ISchedulingRule[] ruleArray)
Returns a scheduling rule that encompasses all provided rules.
|
static ISchedulingRule |
MultiRule.combine(ISchedulingRule rule1,
ISchedulingRule rule2)
Returns a scheduling rule that encompasses both provided rules.
|
boolean |
ISchedulingRule.contains(ISchedulingRule rule)
Returns whether this scheduling rule completely contains another scheduling
rule.
|
boolean |
MultiRule.contains(ISchedulingRule rule) |
void |
IJobManager.endRule(ISchedulingRule rule)
Ends the application of a rule to the calling thread.
|
boolean |
ISchedulingRule.isConflicting(ISchedulingRule rule)
Returns whether this scheduling rule is compatible with another scheduling rule.
|
boolean |
MultiRule.isConflicting(ISchedulingRule rule) |
void |
IJobManager.resume(ISchedulingRule rule)
Deprecated.
This method is not safe and should not be used.
Suspending a scheduling rule violates the thread safety
of clients that use scheduling rules as a mutual exclusion mechanism,
and can result in concurrency problems in all clients that use the suspended rule.
|
void |
Job.setRule(ISchedulingRule rule)
Sets the scheduling rule to be used when scheduling this job.
|
void |
IJobManager.suspend(ISchedulingRule rule,
IProgressMonitor monitor)
Deprecated.
This method is not safe and should not be used.
Suspending a scheduling rule violates the thread safety
of clients that use scheduling rules as a mutual exclusion mechanism,
and can result in concurrency problems in all clients that use the suspended rule.
|
void |
IJobManager.transferRule(ISchedulingRule rule,
Thread destinationThread)
Transfers ownership of a scheduling rule to another thread.
|
Constructor and Description |
---|
MultiRule(ISchedulingRule[] nestedRules)
Creates a new scheduling rule that composes a set of nested rules.
|
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
AbstractDebugCommand.getEnabledStateSchedulingRule(IDebugCommandRequest request)
Returns a scheduling rule for this command's
IEnabledStateRequest update job
or null if none. |
protected ISchedulingRule |
AbstractDebugCommand.getExecuteSchedulingRule(IDebugCommandRequest request)
Returns a scheduling rule for this command's
IDebugCommandRequest execute job
or null if none. |
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
Breakpoint.getMarkerRule()
Returns a scheduling rule to use when modifying or deleting this breakpoint's marker,
possibly
null . |
protected ISchedulingRule |
Breakpoint.getMarkerRule(IResource resource)
Returns a scheduling rule to use when modifying markers on the given resource,
possibly
null . |
Modifier and Type | Method and Description |
---|---|
protected void |
Breakpoint.run(ISchedulingRule rule,
IWorkspaceRunnable wr)
Execute the given workspace runnable with the scheduling rule to use when running the operation.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
DeferredDebugElementWorkbenchAdapter.getRule(Object object)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
PerformChangeOperation.setSchedulingRule(ISchedulingRule rule)
Sets the scheduling rule used to execute this operation.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
IMergeContext.getMergeRule(IDiff diff)
Return the scheduling rule that is required to merge (or reject) the resource
associated with the given diff.
|
ISchedulingRule |
IMergeContext.getMergeRule(IDiff[] diffs)
Return the scheduling rule that is required to merge (or reject) the resources
associated with the given diffs.
|
ISchedulingRule |
IResourceMappingMerger.getMergeRule(IMergeContext context)
Return the scheduling rule that is required to merge
all the changes that apply to this merger in the given
context.
|
ISchedulingRule |
ResourceMappingMerger.getMergeRule(IMergeContext context)
Return the scheduling rule required to merge all the
changes in the context for the model provider of this merger.
|
Modifier and Type | Method and Description |
---|---|
void |
IMergeContext.run(IWorkspaceRunnable runnable,
ISchedulingRule rule,
int flags,
IProgressMonitor monitor)
Runs the given action as an atomic workspace operation.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
MergeContext.getMergeRule(IDiff diff)
Default implementation that returns the resource itself if it exists
and the first existing parent if the resource does not exist.
|
ISchedulingRule |
MergeContext.getMergeRule(IDiff[] deltas) |
ISchedulingRule |
SynchronizationScopeManager.getSchedulingRule()
Return the scheduling rule that is used when initializing and refreshing
the scope.
|
Modifier and Type | Method and Description |
---|---|
void |
MergeContext.run(IWorkspaceRunnable runnable,
ISchedulingRule rule,
int flags,
IProgressMonitor monitor)
|
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
TeamOperation.getSchedulingRule()
Returns the scheduling rule that is to be obtained before this
operation is executed by its context or
null if
no scheduling rule is to be obtained. |
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
WorkspaceModifyOperation.getRule()
The scheduling rule.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkspaceAction.runInBackground(ISchedulingRule rule)
Run the action in the background rather than with the progress dialog.
|
void |
WorkspaceAction.runInBackground(ISchedulingRule rule,
Object jobFamily)
Run the action in the background rather than with the progress dialog.
|
void |
BuildAction.runInBackground(ISchedulingRule rule,
Object[] jobFamilies) |
void |
WorkspaceAction.runInBackground(ISchedulingRule rule,
Object[] jobFamilies)
Run the action in the background rather than with the progress dialog.
|
Constructor and Description |
---|
WorkspaceModifyDelegatingOperation(IRunnableWithProgress content,
ISchedulingRule rule)
Creates a new operation which will delegate its work to the given
runnable using the provided scheduling rule.
|
WorkspaceModifyOperation(ISchedulingRule rule)
Creates a new operation that will run using the provided
scheduling rule.
|
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
TextConsole.getSchedulingRule()
Returns a scheduling rule which can be used to prevent jobs from running
while this console's pattern matcher is active.
|
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
WizardNewFileCreationPage.createRule(IResource resource)
Deprecated.
As of 3.3, scheduling rules are provided by the undoable
operation that this page creates and executes.
|
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
TextFileDocumentProvider.computeSchedulingRule(IResource toCreateOrModify)
Computes the scheduling rule needed to create or modify a resource.
|
protected ISchedulingRule |
FileDocumentProvider.getResetRule(Object element) |
protected ISchedulingRule |
FileDocumentProvider.getSaveRule(Object element) |
ISchedulingRule |
TextFileDocumentProvider.DocumentProviderOperation.getSchedulingRule() |
protected ISchedulingRule |
FileDocumentProvider.getSynchronizeRule(Object element) |
protected ISchedulingRule |
FileDocumentProvider.getValidateStateRule(Object element) |
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
AbstractWorkspaceOperation.getExecuteSchedulingRule()
Return a scheduling rule appropriate for executing this operation.
|
protected ISchedulingRule |
DeleteResourcesOperation.getExecuteSchedulingRule() |
protected ISchedulingRule |
AbstractWorkspaceOperation.getRedoSchedulingRule()
Return a scheduling rule appropriate for redoing this operation.
|
protected ISchedulingRule |
AbstractWorkspaceOperation.getUndoSchedulingRule()
Return a scheduling rule appropriate for undoing this operation.
|
protected ISchedulingRule |
DeleteResourcesOperation.getUndoSchedulingRule() |
Modifier and Type | Method and Description |
---|---|
ISchedulingRule |
IDeferredWorkbenchAdapter.getRule(Object object)
Returns the rule used to schedule the deferred fetching of children for this adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
IProgressService.runInUI(IRunnableContext context,
IRunnableWithProgress runnable,
ISchedulingRule rule)
Runs the given operation in the UI thread using the given runnable context.
|
Modifier and Type | Method and Description |
---|---|
protected ISchedulingRule |
AbstractDocumentProvider.getResetRule(Object element)
Returns the scheduling rule required for executing
reset on the given element. |
protected ISchedulingRule |
AbstractDocumentProvider.getSaveRule(Object element)
Returns the scheduling rule required for executing
save on the given element. |
ISchedulingRule |
ISchedulingRuleProvider.getSchedulingRule()
Returns the scheduling rule.
|
protected ISchedulingRule |
AbstractDocumentProvider.getSynchronizeRule(Object element)
Returns the scheduling rule required for executing
synchronize on the given element. |
protected ISchedulingRule |
AbstractDocumentProvider.getValidateStateRule(Object element)
Returns the scheduling rule required for executing
validateState on the given element. |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.