Uses of Interface
org.eclipse.core.runtime.jobs.ISchedulingRule
Package
Description
Provides the API for accessing file buffers.
Provides the API for manipulating file buffers.
Provides basic support for managing a workspace and
its resources.
Provides APIs intended to be implemented by the Team component.
Provides core support for scheduling and interacting with background activity.
Provides a set of interfaces for common debug commands.
Defines interfaces for debug model elements, source lookup, and launching.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Application programmer interface to implement semantic preserving workspace transformations.
Application programming interfaces for working with resource mappings.
Application programming interfaces for working with resource mappings.
Provides basic support for managing Team providers.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Application programming interfaces for interaction
with the Eclipse console.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.APIs that provide undo and redo behavior for operations that manipulate
the workspace.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of ISchedulingRule in org.eclipse.core.filebuffers
Modifier and TypeMethodDescriptionIFileBuffer.computeCommitRule()
Computes the scheduling rule that is required for committing a changed buffer.IFileBuffer.computeValidateStateRule()
Computes the scheduling rule that is required for validating the state of the buffer. -
Uses of ISchedulingRule in org.eclipse.core.filebuffers.manipulation
Modifier and TypeMethodDescriptionprotected ISchedulingRule
GenericFileBufferOperationRunner.computeCommitRule
(IFileBuffer[] fileBuffers) -
Uses of ISchedulingRule in org.eclipse.core.resources
Modifier and TypeInterfaceDescriptioninterface
Interface for resources which may contain other resources (termed its members).interface
Files are leaf resources which contain data.interface
Folders may be leaf or non-leaf resources and may contain files and/or other folders.interface
A project is a type of resource which groups resources into buildable, reusable units.interface
The workspace analog of file system files and directories.interface
A root resource represents the top of the resource hierarchy in a workspace.Modifier and TypeMethodDescriptionIResourceRuleFactory.buildRule()
Returns the scheduling rule that is required for building a project or the entire workspace.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.Returns the scheduling rule that is required for copying a resource.IResourceRuleFactory.createRule
(IResource resource) Returns the scheduling rule that is required for creating a project, folder, or file.IResourceRuleFactory.deleteRule
(IResource resource) Returns the scheduling rule that is required for deleting a resource.IResourceRuleFactory.derivedRule
(IResource resource) Returns the scheduling rule that is required for changing the derived flag on a resource.Returns the scheduling rule that is required for building the project build configuration for which this builder is defined.IResourceRuleFactory.markerRule
(IResource resource) Returns the scheduling rule that is required for creating, modifying, or deleting markers on a resource.IResourceRuleFactory.modifyRule
(IResource resource) Returns the scheduling rule that is required for modifying a resource.Returns the scheduling rule that is required for moving a resource.IResourceRuleFactory.refreshRule
(IResource resource) Returns the scheduling rule that is required for performingrefreshLocal
on a resource.IResourceRuleFactory.validateEditRule
(IResource[] resources) Returns the scheduling rule that is required for avalidateEdit
Modifier and TypeMethodDescriptionvoid
IWorkspace.run
(IWorkspaceRunnable action, ISchedulingRule rule, int flags, IProgressMonitor monitor) void
IWorkspace.run
(ICoreRunnable action, ISchedulingRule rule, int flags, IProgressMonitor monitor) Runs the given action as an atomic workspace operation. -
Uses of ISchedulingRule in org.eclipse.core.resources.team
Modifier and TypeMethodDescriptionfinal ISchedulingRule
ResourceRuleFactory.buildRule()
Default implementation ofIResourceRuleFactory#buildRule
.ResourceRuleFactory.charsetRule
(IResource resource) Default implementation ofIResourceRuleFactory#charsetRule
.Default implementation ofIResourceRuleFactory#copyRule
.ResourceRuleFactory.createRule
(IResource resource) Default implementation ofIResourceRuleFactory#createRule
.ResourceRuleFactory.deleteRule
(IResource resource) Default implementation ofIResourceRuleFactory#deleteRule
.final ISchedulingRule
ResourceRuleFactory.derivedRule
(IResource resource) Default implementation ofIResourceRuleFactory#derivedRule
.final ISchedulingRule
ResourceRuleFactory.markerRule
(IResource resource) Default implementation ofIResourceRuleFactory#markerRule
.ResourceRuleFactory.modifyRule
(IResource resource) Default implementation ofIResourceRuleFactory#modifyRule
.Default implementation ofIResourceRuleFactory#moveRule
.protected final ISchedulingRule
Convenience method to return the parent of the given resource, or the resource itself for projects and the workspace root.ResourceRuleFactory.refreshRule
(IResource resource) Default implementation ofIResourceRuleFactory#refreshRule
.ResourceRuleFactory.validateEditRule
(IResource[] resources) Default implementation ofIResourceRuleFactory#validateEditRule
. -
Uses of ISchedulingRule in org.eclipse.core.runtime.jobs
Modifier and TypeClassDescriptionclass
A MultiRule is a compound scheduling rule that represents a fixed group of child scheduling rules.Modifier and TypeMethodDescriptionstatic 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.IJobManager.currentRule()
Returns the scheduling rule currently held by this thread, ornull
if the current thread does not hold any scheduling rule.MultiRule.getChildren()
Returns the child rules within this rule.final ISchedulingRule
Job.getRule()
Returns the scheduling rule for this job.ISchedulableOperation.getSchedulingRule()
Gives the caller a hint whether this operation will acquire a rule to proceed in the current thread.Modifier and TypeMethodDescriptionvoid
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.final 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.void
IJobManager.transferRule
(ISchedulingRule rule, Thread destinationThread) Transfers ownership of a scheduling rule to another thread.ModifierConstructorDescriptionMultiRule
(ISchedulingRule[] nestedRules) Creates a new scheduling rule that composes a set of nested rules. -
Uses of ISchedulingRule in org.eclipse.debug.core.commands
Modifier and TypeMethodDescriptionprotected ISchedulingRule
AbstractDebugCommand.getEnabledStateSchedulingRule
(IDebugCommandRequest request) Returns a scheduling rule for this command'sIEnabledStateRequest
update job ornull
if none.protected ISchedulingRule
AbstractDebugCommand.getExecuteSchedulingRule
(IDebugCommandRequest request) Returns a scheduling rule for this command'sIDebugCommandRequest
execute job ornull
if none. -
Uses of ISchedulingRule in org.eclipse.debug.core.model
Modifier and TypeMethodDescriptionprotected ISchedulingRule
Breakpoint.getMarkerRule()
Returns a scheduling rule to use when modifying or deleting this breakpoint's marker, possiblynull
.protected ISchedulingRule
Breakpoint.getMarkerRule
(IResource resource) Returns a scheduling rule to use when modifying markers on the given resource, possiblynull
.Modifier and TypeMethodDescriptionprotected void
Breakpoint.run
(ISchedulingRule rule, IWorkspaceRunnable wr) Execute the given workspace runnable with the scheduling rule to use when running the operation. -
Uses of ISchedulingRule in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionDeprecated. -
Uses of ISchedulingRule in org.eclipse.ltk.core.refactoring
Modifier and TypeMethodDescriptionvoid
PerformChangeOperation.setSchedulingRule
(ISchedulingRule rule) Sets the scheduling rule used to execute this operation. -
Uses of ISchedulingRule in org.eclipse.team.core.mapping
Modifier and TypeMethodDescriptionIMergeContext.getMergeRule
(IDiff diff) Return the scheduling rule that is required to merge (or reject) the resource associated with the given diff.IMergeContext.getMergeRule
(IDiff[] diffs) Return the scheduling rule that is required to merge (or reject) the resources associated with the given diffs.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.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 TypeMethodDescriptionvoid
IMergeContext.run
(IWorkspaceRunnable runnable, ISchedulingRule rule, int flags, IProgressMonitor monitor) Runs the given action as an atomic workspace operation. -
Uses of ISchedulingRule in org.eclipse.team.core.mapping.provider
Modifier and TypeMethodDescriptionMergeContext.getMergeRule
(IDiff diff) Default implementation that returns the resource itself if it exists and the first existing parent if the resource does not exist.MergeContext.getMergeRule
(IDiff[] deltas) SynchronizationScopeManager.getSchedulingRule()
Return the scheduling rule that is used when initializing and refreshing the scope.Modifier and TypeMethodDescriptionvoid
MergeContext.run
(IWorkspaceRunnable runnable, ISchedulingRule rule, int flags, IProgressMonitor monitor) -
Uses of ISchedulingRule in org.eclipse.team.ui
Modifier and TypeMethodDescriptionprotected ISchedulingRule
TeamOperation.getSchedulingRule()
Returns the scheduling rule that is to be obtained before this operation is executed by its context ornull
if no scheduling rule is to be obtained. -
Uses of ISchedulingRule in org.eclipse.ui.actions
Modifier and TypeMethodDescriptionvoid
BuildAction.runInBackground
(ISchedulingRule rule, Object[] jobFamilies) 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
WorkspaceAction.runInBackground
(ISchedulingRule rule, Object[] jobFamilies) Run the action in the background rather than with the progress dialog.ModifierConstructorDescriptionCreates a new operation which will delegate its work to the given runnable using the provided scheduling rule.protected
Creates a new operation that will run using the provided scheduling rule. -
Uses of ISchedulingRule in org.eclipse.ui.console
Modifier and TypeMethodDescriptionTextConsole.getSchedulingRule()
Returns a scheduling rule which can be used to prevent jobs from running while this console's pattern matcher is active. -
Uses of ISchedulingRule in org.eclipse.ui.dialogs
Modifier and TypeMethodDescriptionprotected ISchedulingRule
WizardNewFileCreationPage.createRule
(IResource resource) Deprecated.As of 3.3, scheduling rules are provided by the undoable operation that this page creates and executes. -
Uses of ISchedulingRule in org.eclipse.ui.editors.text
Modifier and TypeMethodDescriptionprotected ISchedulingRule
TextFileDocumentProvider.computeSchedulingRule
(IResource toCreateOrModify) Computes the scheduling rule needed to create or modify a resource.protected ISchedulingRule
FileDocumentProvider.getRefreshRule
(Object element) Returns the scheduling rule required for executingrefresh
on the given element.protected ISchedulingRule
FileDocumentProvider.getResetRule
(Object element) protected ISchedulingRule
FileDocumentProvider.getSaveRule
(Object element) TextFileDocumentProvider.DocumentProviderOperation.getSchedulingRule()
protected ISchedulingRule
FileDocumentProvider.getSynchronizeRule
(Object element) protected ISchedulingRule
FileDocumentProvider.getValidateStateRule
(Object element) -
Uses of ISchedulingRule in org.eclipse.ui.ide.undo
Modifier and TypeMethodDescriptionprotected 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()
-
Uses of ISchedulingRule in org.eclipse.ui.progress
Modifier and TypeMethodDescriptionReturns the rule used to schedule the deferred fetching of children for this adapter.Modifier and TypeMethodDescriptionvoid
IProgressService.runInUI
(IRunnableContext context, IRunnableWithProgress runnable, ISchedulingRule rule) Runs the given operation in the UI thread using the given runnable context. -
Uses of ISchedulingRule in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionprotected ISchedulingRule
AbstractDocumentProvider.getResetRule
(Object element) Returns the scheduling rule required for executingreset
on the given element.protected ISchedulingRule
AbstractDocumentProvider.getSaveRule
(Object element) Returns the scheduling rule required for executingsave
on the given element.ISchedulingRuleProvider.getSchedulingRule()
Returns the scheduling rule.protected ISchedulingRule
AbstractDocumentProvider.getSynchronizeRule
(Object element) Returns the scheduling rule required for executingsynchronize
on the given element.protected ISchedulingRule
AbstractDocumentProvider.getValidateStateRule
(Object element) Returns the scheduling rule required for executingvalidateState
on the given element.