Package | Description |
---|---|
org.eclipse.ant.core |
Provides support for running the Ant build tool in the platform.
|
org.eclipse.compare |
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
|
org.eclipse.compare.contentmergeviewer |
Support for compare and merge viewers which show the
content side-by-side.
|
org.eclipse.compare.patch |
Provides support for applying and working with patches.
|
org.eclipse.compare.structuremergeviewer |
Provides support for finding and displaying the differences
between hierarchically structured data.
|
org.eclipse.core.expressions |
Application programming interfaces for the expression language.
|
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.filesystem |
Provides an interface for interacting with a file system.
|
org.eclipse.core.filesystem.provider |
Provides an API to be extended by a file system implementation.
|
org.eclipse.core.net.proxy |
Provides support for the management of platform level proxy settings.
|
org.eclipse.core.resources |
Provides basic support for managing a workspace and
its resources.
|
org.eclipse.core.resources.filtermatchers |
Provides APIs intended to be implemented by the resource filter matchers.
|
org.eclipse.core.resources.mapping |
Provides APIs for integrating application models with the workspace
Package Specification
This package specifies the APIs in the Resources plug-in that are used to integrate
application models with the workspace.
|
org.eclipse.core.runtime |
Provides support for the runtime platform, core utility methods and the extension registry.
|
org.eclipse.core.runtime.content |
Provides core support for content types.
|
org.eclipse.core.runtime.preferences |
Provides core support for Eclipse preferences.
|
org.eclipse.core.runtime.spi |
Extension registry infrastructure for service providers
Package Specification
This package provides an infrastructure and helper utilities oriented towards service providers implementing their own extension registries.
|
org.eclipse.core.variables |
Provides support for defining and contributing variables for the purpose of
string substitution.
|
org.eclipse.debug.core |
Provides support for launching programs, breakpoint management, expression management,
and debug events.
|
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.core.sourcelookup |
Provides support for source lookup.
|
org.eclipse.debug.core.sourcelookup.containers |
Provides implementations of common source containers supporting source lookup.
|
org.eclipse.debug.ui |
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
|
org.eclipse.debug.ui.actions |
Provides a set of actions related to running and debugging applications. |
org.eclipse.debug.ui.memory |
Provides classes and interfaces to render memory blocks in the memory view.
|
org.eclipse.debug.ui.sourcelookup |
Provides a user interface for debug platform source lookup facilities.
|
org.eclipse.equinox.jsp.jasper.registry |
Provides core support for the HttpService Servlet.
|
org.eclipse.equinox.p2.core |
Provides core support for interacting with a p2-based provisioning system
Package Specification
This package specifies API for creating, using, and extending a provisioning system.
|
org.eclipse.help.search |
Provides the ability to add participants to help search and is responsible
for creating search indices.
|
org.eclipse.help.server |
Provides the ability to specify the web server to be used by the help system.
|
org.eclipse.help.ui.browser |
Provides an implementation of IWorkbenchWindowActionDelegate
for opening a URL in a browser.
|
org.eclipse.ltk.core.refactoring |
Application programmer interface to implement semantic preserving workspace transformations.
|
org.eclipse.ltk.core.refactoring.history |
Application programming interface to query refactoring history information from the refactoring infrastructure.
|
org.eclipse.ltk.core.refactoring.model |
Application programming interface to support logical models.
|
org.eclipse.ltk.core.refactoring.participants |
Application programming interface to participant in existing rename, move and delete refactorings
if the refactoring provider supports participation.
|
org.eclipse.ltk.core.refactoring.resource |
Application programmer interface to implement resource dependend refactorings.
|
org.eclipse.ltk.ui.refactoring |
Application programming interface to implement a wizard based user interface for refactorings.
|
org.eclipse.ltk.ui.refactoring.history |
Application programming interface to display and preview refactoring history information.
|
org.eclipse.ltk.ui.refactoring.model |
Application programming interface to provide model integration for refactoring histories.
|
org.eclipse.search.core.text |
Classes giving access to the file (text) search functionality.
|
org.eclipse.search.ui.text |
Provides the base classes to implement a search result view part for searches with textual matches.
|
org.eclipse.team.core |
Application programming interfaces for defining and working with repository providers.
|
org.eclipse.team.core.history |
Application programming interfaces for describing the history associated with
files.
|
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.core.subscribers |
Application programming interfaces for generating and refreshing
synchronization state.
|
org.eclipse.team.ui |
Provides basic support for managing Team providers.
|
org.eclipse.team.ui.history |
Application programming interfaces for working with history.
|
org.eclipse.team.ui.mapping |
Application programming interfaces for working with resource mappings.
|
org.eclipse.team.ui.synchronize |
Contains the team synchronization presentation framework and support
for the Synchronize View.
|
org.eclipse.ui |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
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.cheatsheets |
Provides support for working with cheat sheets.
|
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.intro.universal |
Provides a mechanism to add a preference page to customize welcome.
|
org.eclipse.ui.menus |
Provides the public API and default implementation for contributing menu
and toolbars to the menu service.
|
org.eclipse.ui.part |
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
|
org.eclipse.ui.plugin |
Class hierarchies for plug-ins that integrate with
the Eclipse Platform UI.
|
org.eclipse.ui.statushandlers |
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.
|
org.eclipse.ui.texteditor.quickdiff |
Provides interfaces to for the
org.eclipse.ui.editors.quickDiffReferenceProvider
extension point and adds an action to enable quick diff display for an editor. |
org.eclipse.ui.texteditor.rulers |
Provides interfaces and classes for the
org.eclipse.ui.workbench.texteditor.rulerColumns . |
org.eclipse.ui.texteditor.spelling |
Partial infrastructure for spell checking in text editors.
|
org.eclipse.ui.themes |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
org.eclipse.ui.views |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
org.eclipse.ui.views.markers |
Utility classes for working with markers in views
|
org.eclipse.ui.wizards |
Application programming interfaces for interaction with and extension of the Eclipse
Platform User Interface wizard support.
|
Modifier and Type | Method and Description |
---|---|
TargetInfo[] |
AntRunner.getAvailableTargets()
Returns the buildfile target information.
|
protected void |
AntRunner.handleInvocationTargetException(Object runner,
Class<?> classInternalAntRunner,
InvocationTargetException e) |
protected void |
AntRunner.problemLoadingClass(Throwable e) |
void |
AntRunner.run()
Runs the build file.
|
void |
AntRunner.run(IProgressMonitor monitor)
Runs the build file.
|
Modifier and Type | Method and Description |
---|---|
void |
SharedDocumentAdapter.connect(IDocumentProvider provider,
IEditorInput documentKey) |
void |
ISharedDocumentAdapter.connect(IDocumentProvider provider,
IEditorInput documentKey)
Connect the given element to its document provider.
|
protected abstract InputStream |
BufferedContent.createStream()
Creates and returns a stream for reading the contents.
|
protected InputStream |
ResourceNode.createStream()
Returns an open stream if the corresponding resource implements the
IStorage interface. |
void |
ISharedDocumentAdapter.flushDocument(IDocumentProvider provider,
IEditorInput documentKey,
IDocument document,
boolean overwrite)
Flush the contents of the given document into the typed element that provided the
document.
|
String |
IEncodedStreamContentAccessor.getCharset()
Returns the name of a charset encoding to be used when decoding this
stream accessor's contents into characters.
|
String |
HistoryItem.getCharset() |
InputStream |
BufferedContent.getContents() |
InputStream |
ResourceNode.getContents() |
InputStream |
IStreamContentAccessor.getContents()
Returns an open
InputStream for this object which can be used to retrieve the object's content. |
InputStream |
HistoryItem.getContents() |
void |
CompareEditorInput.saveChanges(IProgressMonitor monitor)
Save any unsaved changes.
|
protected void |
SharedDocumentAdapter.saveDocument(IDocumentProvider provider,
IEditorInput documentKey,
IDocument document,
boolean overwrite,
IProgressMonitor monitor)
A helper method to save a document.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentMergeViewer.save(IProgressMonitor monitor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract Reader |
ReaderCreator.createReader()
Creates new reader.
|
String |
IHunk.getCharset()
Deprecated.
This method can be called before the first attempt to apply
the hunk when it is impossible to determine the encoding and
in this case it always returns null. Please see
IFilePatchResult.getCharset() as a proper way to
obtain charset. |
String |
IFilePatchResult.getCharset()
Returns the name of a charset encoding to be used when decoding the contents
of this result into characters.
|
static boolean |
ApplyPatchOperation.isPatch(IStorage storage)
Return whether the given storage contains a patch.
|
static IFilePatch[] |
ApplyPatchOperation.parsePatch(IStorage storage)
Parse the given patch and return the set of file patches that it contains.
|
static IFilePatch2[] |
PatchParser.parsePatch(ReaderCreator content)
Parse the given patch and return the set of file patches that it
contains.
|
Modifier and Type | Method and Description |
---|---|
void |
SharedDocumentAdapterWrapper.connect(IDocumentProvider provider,
IEditorInput documentKey) |
ITypedElement |
StructureCreator.createElement(Object element,
Object input,
IProgressMonitor monitor)
Default implementation of
StructureCreator.createElement(Object, Object, IProgressMonitor)
that uses StructureCreator.getPath(Object, Object) to determine the
path for the element, StructureCreator.createStructure(Object, IProgressMonitor) to create the structure
and StructureCreator.findElement(IStructureComparator, String[]) to find the
element in the structure. |
ITypedElement |
IStructureCreator2.createElement(Object element,
Object input,
IProgressMonitor monitor)
Creates the single node specified by path from the given input object.
|
IStructureComparator |
StructureCreator.createStructure(Object element,
IProgressMonitor monitor) |
IStructureComparator |
IStructureCreator2.createStructure(Object input,
IProgressMonitor monitor)
Creates a tree structure consisting of
IStructureComparator s
from the given object and returns its root object. |
protected abstract IStructureComparator |
StructureCreator.createStructureComparator(Object element,
IDocument document,
ISharedDocumentAdapter sharedDocumentAdapter,
IProgressMonitor monitor)
Create an
IStructureComparator for the given element using the
contents available in the given document. |
void |
SharedDocumentAdapterWrapper.flushDocument(IDocumentProvider provider,
IEditorInput documentKey,
IDocument document,
boolean overwrite) |
Modifier and Type | Method and Description |
---|---|
Expression |
ElementHandler.create(ExpressionConverter converter,
Element element)
Creates the corresponding expression for the given DOM element.
|
abstract Expression |
ElementHandler.create(ExpressionConverter converter,
IConfigurationElement config)
Creates the corresponding expression for the given configuration element.
|
abstract EvaluationResult |
Expression.evaluate(IEvaluationContext context)
Evaluates this expression.
|
IPropertyTester |
IPropertyTester.instantiate()
Loads the implementation class for this property tester and returns an
instance of this class.
|
Expression |
ExpressionConverter.perform(Element root)
Converts the tree of DOM elements represented by the given
root element and returns a corresponding expression tree.
|
Expression |
ExpressionConverter.perform(IConfigurationElement root)
Converts the tree of configuration elements represented by the given
root element and returns a corresponding expression tree.
|
protected void |
ElementHandler.processChildren(ExpressionConverter converter,
Element element,
org.eclipse.core.internal.expressions.CompositeExpression expression)
Converts the children of the given DOM element and adds them to the
given composite expression.
|
protected void |
ElementHandler.processChildren(ExpressionConverter converter,
IConfigurationElement element,
org.eclipse.core.internal.expressions.CompositeExpression expression)
Converts the children of the given configuration element and adds them
to the given composite expression.
|
Object |
IVariableResolver.resolve(String name,
Object[] args)
Resolves a variable for the given name and arguments.
|
Object |
EvaluationContext.resolveVariable(String name,
Object[] args)
Resolves a variable for the given name and arguments.
|
Object |
IEvaluationContext.resolveVariable(String name,
Object[] args)
Resolves a variable for the given name and arguments.
|
Modifier and Type | Method and Description |
---|---|
void |
IPersistableAnnotationModel.commit(IDocument document)
Transforms the current transient state of the annotation model into a
persistent state.
|
void |
IFileBuffer.commit(IProgressMonitor monitor,
boolean overwrite)
Commits this file buffer by changing the contents of the underlying file to
the contents of this file buffer.
|
void |
IFileBufferManager.connect(IPath location,
IProgressMonitor monitor)
Deprecated.
As of 3.3, replaced by
IFileBufferManager.connect(IPath, LocationKind, IProgressMonitor) |
void |
IFileBufferManager.connect(IPath location,
LocationKind locationKind,
IProgressMonitor monitor)
Connects the file at the given location to this manager.
|
void |
IFileBufferManager.connectFileStore(IFileStore fileStore,
IProgressMonitor monitor)
Connects the given file store to this manager.
|
void |
IFileBufferManager.disconnect(IPath location,
IProgressMonitor monitor)
Deprecated.
As of 3.3, replaced by
IFileBufferManager.disconnect(IPath, LocationKind, IProgressMonitor) |
void |
IFileBufferManager.disconnect(IPath location,
LocationKind locationKind,
IProgressMonitor monitor)
Disconnects the file at the given location from this manager.
|
void |
IFileBufferManager.disconnectFileStore(IFileStore fileStore,
IProgressMonitor monitor)
Disconnects the given file store from this manager.
|
IContentType |
IFileBuffer.getContentType()
Returns the content type of this file buffer or
null
if none could be determined. |
void |
IPersistableAnnotationModel.reinitialize(IDocument document)
Forces this annotation model to re-initialize from the persistent state.
|
void |
IPersistableAnnotationModel.revert(IDocument document)
Changes the current transient state of the annotation model to match the
last persisted state.
|
void |
IFileBuffer.revert(IProgressMonitor monitor)
Reverts the contents of this file buffer to the content of its underlying file.
|
void |
IFileBufferManager.validateState(IFileBuffer[] fileBuffers,
IProgressMonitor monitor,
Object computationContext)
Validates the state of the given file buffers and tries to bring the buffer's underlying file
into a state in which it can be modified.
|
void |
IFileBuffer.validateState(IProgressMonitor monitor,
Object computationContext)
Validates the state of this file buffer and tries to bring the buffer's underlying file into
a state in which it can be modified.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GenericFileBufferOperationRunner.commit(IFileBuffer[] fileBuffers,
IProgressMonitor progressMonitor) |
protected void |
FileBufferOperationRunner.commit(IFileBuffer[] fileBuffers,
IProgressMonitor progressMonitor) |
protected MultiTextEditWithProgress |
ConvertLineDelimitersOperation.computeTextEdit(ITextFileBuffer fileBuffer,
IProgressMonitor progressMonitor) |
protected MultiTextEditWithProgress |
RemoveTrailingWhitespaceOperation.computeTextEdit(ITextFileBuffer fileBuffer,
IProgressMonitor progressMonitor) |
protected abstract MultiTextEditWithProgress |
TextFileBufferOperation.computeTextEdit(ITextFileBuffer textFileBuffer,
IProgressMonitor progressMonitor)
Computes and returns a text edit.
|
IContainer |
ContainerCreator.createContainer(IProgressMonitor progressMonitor)
Creates this container.
|
protected void |
GenericFileBufferOperationRunner.doCommit(IFileBuffer[] fileBuffers,
IProgressMonitor progressMonitor) |
void |
GenericFileBufferOperationRunner.execute(IPath[] locations,
IFileBufferOperation operation,
IProgressMonitor monitor)
Executes the given operation for all file buffers specified by the given locations.
|
void |
IFileBufferOperation.run(IFileBuffer fileBuffer,
IProgressMonitor monitor)
Runs this operation, that is manipulates the content of the given file
buffer.
|
void |
TextFileBufferOperation.run(IFileBuffer fileBuffer,
IProgressMonitor progressMonitor) |
Modifier and Type | Method and Description |
---|---|
IFileInfo[] |
IFileStore.childInfos(int options,
IProgressMonitor monitor)
Returns an
IFileInfo instance for each file and directory contained
within this store. |
String[] |
IFileStore.childNames(int options,
IProgressMonitor monitor)
Returns the names of the files and directories contained within this store.
|
IFileStore[] |
IFileStore.childStores(int options,
IProgressMonitor monitor)
Returns an
IFileStore instance for each file and directory contained
within this store. |
void |
IFileStore.copy(IFileStore destination,
int options,
IProgressMonitor monitor)
Copies the file represented by this store to the provided destination store.
|
void |
IFileStore.delete(int options,
IProgressMonitor monitor)
Deletes the files and directories represented by this store.
|
IFileTree |
IFileSystem.fetchFileTree(IFileStore root,
IProgressMonitor monitor)
Returns a file tree containing information about the complete sub-tree
rooted at the given store.
|
IFileInfo |
IFileStore.fetchInfo(int options,
IProgressMonitor monitor)
Fetches and returns information about this file from the underlying file
system.
|
static IFileSystem |
EFS.getFileSystem(String scheme)
Returns a file system corresponding to the given scheme.
|
static IFileStore |
EFS.getStore(URI uri)
Returns the file store corresponding to the provided URI.
|
IFileStore |
IFileStore.mkdir(int options,
IProgressMonitor monitor)
Creates a directory, and optionally its parent directories.
|
void |
IFileStore.move(IFileStore destination,
int options,
IProgressMonitor monitor)
Moves the file represented by this store to the provided destination store.
|
InputStream |
IFileStore.openInputStream(int options,
IProgressMonitor monitor)
Returns an open input stream on the contents of this file.
|
OutputStream |
IFileStore.openOutputStream(int options,
IProgressMonitor monitor)
Returns an open output stream on the contents of this file.
|
void |
IFileStore.putInfo(IFileInfo info,
int options,
IProgressMonitor monitor)
Writes information about this file to the underlying file system.
|
File |
IFileStore.toLocalFile(int options,
IProgressMonitor monitor)
Returns a file in the local file system with the same state as this file.
|
Modifier and Type | Method and Description |
---|---|
IFileInfo[] |
FileStore.childInfos(int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.childInfos(int, IProgressMonitor) . |
abstract String[] |
FileStore.childNames(int options,
IProgressMonitor monitor) |
IFileStore[] |
FileStore.childStores(int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.childStores(int, IProgressMonitor) . |
void |
FileStore.copy(IFileStore destination,
int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.copy(IFileStore, int, IProgressMonitor) . |
protected void |
FileStore.copyDirectory(IFileInfo sourceInfo,
IFileStore destination,
int options,
IProgressMonitor monitor)
Recursively copies a directory as specified by
IFileStore.copy(IFileStore, int, IProgressMonitor) . |
protected void |
FileStore.copyFile(IFileInfo sourceInfo,
IFileStore destination,
int options,
IProgressMonitor monitor)
Copies a file as specified by
IFileStore.copy(IFileStore, int, IProgressMonitor) . |
void |
FileStore.delete(int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.delete(int, IProgressMonitor) . |
IFileTree |
FileSystem.fetchFileTree(IFileStore root,
IProgressMonitor monitor)
Returns a file tree containing information about the complete sub-tree
rooted at the given store.
|
abstract IFileInfo |
FileStore.fetchInfo(int options,
IProgressMonitor monitor) |
IFileStore |
FileStore.mkdir(int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.mkdir(int, IProgressMonitor) . |
void |
FileStore.move(IFileStore destination,
int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.move(IFileStore, int, IProgressMonitor) . |
abstract InputStream |
FileStore.openInputStream(int options,
IProgressMonitor monitor) |
OutputStream |
FileStore.openOutputStream(int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.openOutputStream(int, IProgressMonitor) . |
void |
FileStore.putInfo(IFileInfo info,
int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.putInfo(IFileInfo, int, IProgressMonitor) . |
File |
FileStore.toLocalFile(int options,
IProgressMonitor monitor)
The default implementation of
IFileStore.toLocalFile(int, IProgressMonitor) . |
Modifier and Type | Method and Description |
---|---|
void |
IProxyService.setNonProxiedHosts(String[] hosts)
Sets the list of hosts for which non proxy should be used.
|
void |
IProxyService.setProxyData(IProxyData[] proxies)
Sets the information associated with known proxy types.
|
Modifier and Type | Method and Description |
---|---|
void |
IResourceDelta.accept(IResourceDeltaVisitor visitor)
Accepts the given visitor.
|
void |
IResourceDelta.accept(IResourceDeltaVisitor visitor,
boolean includePhantoms)
Accepts the given visitor.
|
void |
IResourceDelta.accept(IResourceDeltaVisitor visitor,
int memberFlags)
Accepts the given visitor.
|
void |
IResource.accept(IResourceProxyVisitor visitor,
int memberFlags)
Accepts the given visitor for an optimized traversal.
|
void |
IResource.accept(IResourceProxyVisitor visitor,
int depth,
int memberFlags)
Accepts the given visitor for an optimized traversal.
|
void |
IResource.accept(IResourceVisitor visitor)
Accepts the given visitor.
|
void |
IResource.accept(IResourceVisitor visitor,
int depth,
boolean includePhantoms)
Accepts the given visitor.
|
void |
IResource.accept(IResourceVisitor visitor,
int depth,
int memberFlags)
Accepts the given visitor.
|
void |
ISynchronizer.accept(QualifiedName partner,
IResource start,
IResourceVisitor visitor,
int depth)
Visits the given resource and its descendents with the specified visitor
if sync information for the given sync partner is found on the resource.
|
ISavedState |
IWorkspace.addSaveParticipant(Plugin plugin,
ISaveParticipant participant)
Deprecated.
|
ISavedState |
IWorkspace.addSaveParticipant(String pluginId,
ISaveParticipant participant)
Registers the given plug-in's workspace save participant, and returns an
object describing the workspace state at the time of the last save in
which the bundle participated.
|
void |
IFile.appendContents(InputStream source,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Appends the entire contents of the given stream to this file.
|
void |
IFile.appendContents(InputStream source,
int updateFlags,
IProgressMonitor monitor)
Appends the entire contents of the given stream to this file.
|
void |
IWorkspace.build(IBuildConfiguration[] buildConfigs,
int kind,
boolean buildReferences,
IProgressMonitor monitor)
Build the build configurations specified in the passed in build configuration array.
|
void |
IProject.build(IBuildConfiguration config,
int kind,
IProgressMonitor monitor)
Builds a specific build configuration of this project.
|
void |
IProject.build(int kind,
IProgressMonitor monitor)
Builds this project.
|
void |
IWorkspace.build(int kind,
IProgressMonitor monitor)
Builds all projects in this workspace.
|
protected abstract IProject[] |
IncrementalProjectBuilder.build(int kind,
Map<String,String> args,
IProgressMonitor monitor)
Runs this builder in the specified manner.
|
void |
IProject.build(int kind,
String builderName,
Map<String,String> args,
IProgressMonitor monitor)
Invokes the
build method of the specified builder
for this project. |
protected void |
IncrementalProjectBuilder.clean(IProgressMonitor monitor)
Clean is an opportunity for a builder to discard any additional state that has
been computed as a result of previous builds.
|
void |
IResource.clearHistory(IProgressMonitor monitor)
Removes the local history of this resource and its descendents.
|
void |
IProject.close(IProgressMonitor monitor)
Closes this project.
|
void |
IProjectNature.configure()
Configures this nature for its project.
|
URI |
IPathVariableManager.convertToRelative(URI path,
boolean force,
String variableHint)
Converts an absolute path to path relative to some defined
variable.
|
void |
IResource.copy(IPath destination,
boolean force,
IProgressMonitor monitor)
Makes a copy of this resource at the given path.
|
void |
IResource.copy(IPath destination,
int updateFlags,
IProgressMonitor monitor)
Makes a copy of this resource at the given path.
|
void |
IResource.copy(IProjectDescription description,
boolean force,
IProgressMonitor monitor)
Makes a copy of this project using the given project description.
|
void |
IResource.copy(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Makes a copy of this project using the given project description.
|
IStatus |
IWorkspace.copy(IResource[] resources,
IPath destination,
boolean force,
IProgressMonitor monitor)
Copies the given sibling resources so that they are located as members of
the resource at the given path; the names of the copies are the same as
the corresponding originals.
|
IStatus |
IWorkspace.copy(IResource[] resources,
IPath destination,
int updateFlags,
IProgressMonitor monitor)
Copies the given sibling resources so that they are located as members of
the resource at the given path; the names of the copies are the same as
the corresponding originals.
|
void |
IFolder.create(boolean force,
boolean local,
IProgressMonitor monitor)
Creates a new folder resource as a member of this handle's parent resource.
|
void |
IFile.create(InputStream source,
boolean force,
IProgressMonitor monitor)
Creates a new file resource as a member of this handle's parent resource.
|
void |
IFile.create(InputStream source,
int updateFlags,
IProgressMonitor monitor)
Creates a new file resource as a member of this handle's parent resource.
|
void |
IFolder.create(int updateFlags,
boolean local,
IProgressMonitor monitor)
Creates a new folder resource as a member of this handle's parent resource.
|
void |
IProject.create(IProgressMonitor monitor)
Creates a new project resource in the workspace with files in the default
location in the local file system.
|
void |
IProject.create(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Creates a new project resource in the workspace using the given project
description.
|
void |
IProject.create(IProjectDescription description,
IProgressMonitor monitor)
Creates a new project resource in the workspace using the given project
description.
|
IResourceFilterDescription |
IContainer.createFilter(int type,
FileInfoMatcherDescription matcherDescription,
int updateFlags,
IProgressMonitor monitor)
Adds a new filter to this container.
|
void |
IFile.createLink(IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
Creates a new file resource as a member of this handle's parent resource.
|
void |
IFolder.createLink(IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
Creates a new folder resource as a member of this handle's parent resource.
|
void |
IFile.createLink(URI location,
int updateFlags,
IProgressMonitor monitor)
Creates a new file resource as a member of this handle's parent resource.
|
void |
IFolder.createLink(URI location,
int updateFlags,
IProgressMonitor monitor)
Creates a new folder resource as a member of this handle's parent resource.
|
IMarker |
IResource.createMarker(String type)
Creates and returns the marker with the specified type on this resource.
|
void |
IProjectNature.deconfigure()
De-configures this nature for its project.
|
void |
IMarker.delete()
Deletes this marker from its associated resource.
|
void |
IProject.delete(boolean deleteContent,
boolean force,
IProgressMonitor monitor)
Deletes this project from the workspace.
|
void |
IFile.delete(boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Deletes this file from the workspace.
|
void |
IFolder.delete(boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Deletes this resource from the workspace.
|
void |
IWorkspaceRoot.delete(boolean deleteContent,
boolean force,
IProgressMonitor monitor)
Deletes everything in the workspace except the workspace root resource
itself.
|
void |
IResource.delete(boolean force,
IProgressMonitor monitor)
Deletes this resource from the workspace.
|
void |
IResourceFilterDescription.delete(int updateFlags,
IProgressMonitor monitor)
Deletes this filter description from its associated resource.
|
void |
IResource.delete(int updateFlags,
IProgressMonitor monitor)
Deletes this resource from the workspace.
|
IStatus |
IWorkspace.delete(IResource[] resources,
boolean force,
IProgressMonitor monitor)
Deletes the given resources.
|
IStatus |
IWorkspace.delete(IResource[] resources,
int updateFlags,
IProgressMonitor monitor)
Deletes the given resources.
|
void |
IWorkspace.deleteMarkers(IMarker[] markers)
Removes the given markers from the resources with which they are
associated.
|
void |
IResource.deleteMarkers(String type,
boolean includeSubtypes,
int depth)
Deletes all markers on this resource of the given type, and,
optionally, deletes such markers from its children.
|
IFile[] |
IContainer.findDeletedMembersWithHistory(int depth,
IProgressMonitor monitor)
Returns a list of recently deleted files inside this container that
have one or more saved states in the local history.
|
IMarker |
IResource.findMarker(long id)
Returns the marker with the specified id on this resource,
Returns
null if there is no matching marker. |
IMarker[] |
IResource.findMarkers(String type,
boolean includeSubtypes,
int depth)
Returns all markers of the specified type on this resource,
and, optionally, on its children.
|
int |
IResource.findMaxProblemSeverity(String type,
boolean includeSubtypes,
int depth)
Returns the maximum value of the
IMarker.SEVERITY attribute across markers
of the specified type on this resource, and, optionally, on its children. |
void |
ISynchronizer.flushSyncInfo(QualifiedName partner,
IResource resource,
int depth)
Discards the named partner's synchronization information
associated with the specified resource and its descendents to the
specified depth.
|
IBuildConfiguration |
IProject.getActiveBuildConfig()
Returns the active build configuration for the project.
|
Object |
IMarker.getAttribute(String attributeName)
Returns the attribute with the given name.
|
Map<String,Object> |
IMarker.getAttributes()
Returns a map with all the attributes for the marker.
|
Object[] |
IMarker.getAttributes(String[] attributeNames)
Returns the attributes with the given names.
|
IBuildConfiguration |
IProject.getBuildConfig(String configName)
Returns the project
IBuildConfiguration with the given name for this project. |
IBuildConfiguration[] |
IProject.getBuildConfigs()
Returns the build configurations for this project.
|
String |
IFile.getCharset()
Returns the name of a charset to be used when decoding the contents of this
file into characters.
|
String |
IEncodedStorage.getCharset()
Returns the name of a charset encoding to be used when decoding this
storage's contents into characters.
|
String |
IFile.getCharset(boolean checkImplicit)
Returns the name of a charset to be used when decoding the contents of this
file into characters.
|
String |
IFile.getCharsetFor(Reader reader)
Returns the name of a charset to be used to encode the given contents
when saving to this file.
|
IContentDescription |
IFile.getContentDescription()
Returns a description for this file's current contents.
|
InputStream |
IStorage.getContents()
Returns an open input stream on the contents of this storage.
|
InputStream |
IFileState.getContents()
Returns an open input stream on the contents of this file state.
|
InputStream |
IFile.getContents()
Returns an open input stream on the contents of this file.
|
InputStream |
IFile.getContents(boolean force)
This refinement of the corresponding
IStorage method
returns an open input stream on the contents of this file. |
IContentTypeMatcher |
IProject.getContentTypeMatcher()
Returns this project's content type matcher.
|
long |
IMarker.getCreationTime()
Returns the time at which this marker was created.
|
String |
IContainer.getDefaultCharset()
Returns the default charset for resources in this container.
|
String |
IContainer.getDefaultCharset(boolean checkImplicit)
Returns the default charset for resources in this container.
|
IProjectDescription |
IProject.getDescription()
Returns the description for this project.
|
int |
IFile.getEncoding()
Deprecated.
use
IFile.getCharset() instead |
IResourceFilterDescription[] |
IContainer.getFilters()
Retrieve all filters on this container.
|
IFileState[] |
IFile.getHistory(IProgressMonitor monitor)
Returns a list of past states of this file known to this workspace.
|
IProjectNature |
IProject.getNature(String natureId)
Returns the specified project nature for this project or
null if
the project nature has not been added to this project. |
Map<QualifiedName,String> |
IResource.getPersistentProperties()
Returns a copy of the map of this resource's persistent properties.
|
String |
IResource.getPersistentProperty(QualifiedName key)
Returns the value of the persistent property of this resource identified
by the given key, or
null if this resource has no such property. |
IBuildConfiguration[] |
IProject.getReferencedBuildConfigs(String configName,
boolean includeMissing)
Returns the build configurations referenced by the passed in build configuration
on this project.
|
IProject[] |
IProject.getReferencedProjects()
Returns the projects referenced by this project.
|
Map<QualifiedName,Object> |
IResource.getSessionProperties()
Returns a copy of the map of this resource's session properties.
|
Object |
IResource.getSessionProperty(QualifiedName key)
Returns the value of the session property of this resource identified
by the given key, or
null if this resource has no such property. |
byte[] |
ISynchronizer.getSyncInfo(QualifiedName partner,
IResource resource)
Returns the named sync partner's synchronization information for the given resource.
|
String |
IMarker.getType()
Returns the type of this marker.
|
boolean |
IProject.hasBuildConfig(String configName)
Checks whether the project has the specified build configuration.
|
boolean |
IProject.hasNature(String natureId)
Returns whether the project nature specified by the given
nature extension id has been added to this project.
|
boolean |
IProject.isNatureEnabled(String natureId)
Returns true if the project nature specified by the given
nature extension id is enabled for this project, and false otherwise.
|
boolean |
IMarker.isSubtypeOf(String superType)
Returns whether the type of this marker is considered to be a sub-type of
the given marker type.
|
IProjectDescription |
IWorkspace.loadProjectDescription(InputStream projectDescriptionFile)
Reads the project description file (".project") from the given InputStream.
|
IProjectDescription |
IWorkspace.loadProjectDescription(IPath projectDescriptionFile)
Reads the project description file (".project") from the given location
in the local file system.
|
void |
IProject.loadSnapshot(int options,
URI snapshotLocation,
IProgressMonitor monitor)
Loads a snapshot of project meta-data from the given location URI.
|
IResource[] |
IContainer.members()
Returns a list of existing member resources (projects, folders and files)
in this resource, in no particular order.
|
IResource[] |
IContainer.members(boolean includePhantoms)
Returns a list of all member resources (projects, folders and files)
in this resource, in no particular order.
|
IResource[] |
IContainer.members(int memberFlags)
Returns a list of all member resources (projects, folders and files)
in this resource, in no particular order.
|
void |
IFile.move(IPath destination,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Moves this resource to be at the given location.
|
void |
IFolder.move(IPath destination,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
void |
IResource.move(IPath destination,
boolean force,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
void |
IResource.move(IPath destination,
int updateFlags,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
void |
IResource.move(IProjectDescription description,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Renames or relocates this project so that it is the project specified by the given project
description.
|
void |
IProject.move(IProjectDescription description,
boolean force,
IProgressMonitor monitor)
Renames this project so that it is located at the name in
the given description.
|
void |
IResource.move(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Renames or relocates this project so that it is the project specified by the
given project description.
|
IStatus |
IWorkspace.move(IResource[] resources,
IPath destination,
boolean force,
IProgressMonitor monitor)
Moves the given sibling resources so that they are located as members of
the resource at the given path; the names of the new members are the
same.
|
IStatus |
IWorkspace.move(IResource[] resources,
IPath destination,
int updateFlags,
IProgressMonitor monitor)
Moves the given sibling resources so that they are located as members of
the resource at the given path; the names of the new members are the
same.
|
void |
IProject.open(int updateFlags,
IProgressMonitor monitor)
Opens this project.
|
void |
IProject.open(IProgressMonitor monitor)
Opens this project.
|
void |
ISaveParticipant.prepareToSave(ISaveContext context)
Tells this participant that the workspace is about to be
saved.
|
void |
IResource.refreshLocal(int depth,
IProgressMonitor monitor)
Refreshes the resource hierarchy from this resource and its
children (to the specified depth) relative to the local file system.
|
void |
IResource.revertModificationStamp(long value)
Reverts this resource's modification stamp.
|
void |
IWorkspaceRunnable.run(IProgressMonitor monitor)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
|
void |
IWorkspace.run(IWorkspaceRunnable action,
IProgressMonitor monitor)
Runs the given action as an atomic workspace operation.
|
void |
IWorkspace.run(IWorkspaceRunnable action,
ISchedulingRule rule,
int flags,
IProgressMonitor monitor)
Runs the given action as an atomic workspace operation.
|
abstract IStatus |
WorkspaceJob.runInWorkspace(IProgressMonitor monitor)
Runs the operation, reporting progress to and accepting
cancelation requests from the given progress monitor.
|
IStatus |
IWorkspace.save(boolean full,
IProgressMonitor monitor)
Saves this workspace's valuable state on disk.
|
void |
IProject.saveSnapshot(int options,
URI snapshotLocation,
IProgressMonitor monitor)
Writes a snapshot of project meta-data into the given location URI.
|
void |
ISaveParticipant.saving(ISaveContext context)
Tells this participant to save its important state because
the workspace is being saved, as described in the supplied
save context.
|
void |
IMarker.setAttribute(String attributeName,
boolean value)
Sets the boolean-valued attribute with the given name.
|
void |
IMarker.setAttribute(String attributeName,
int value)
Sets the integer-valued attribute with the given name.
|
void |
IMarker.setAttribute(String attributeName,
Object value)
Sets the attribute with the given name.
|
void |
IMarker.setAttributes(Map<String,? extends Object> attributes)
Sets the attributes for this marker to be the ones contained in the
given table.
|
void |
IMarker.setAttributes(String[] attributeNames,
Object[] values)
Sets the given attribute key-value pairs on this marker.
|
void |
IFile.setCharset(String newCharset)
Deprecated.
Replaced by
IFile.setCharset(String, IProgressMonitor) which
is a workspace operation and reports changes in resource deltas. |
void |
IFile.setCharset(String newCharset,
IProgressMonitor monitor)
Sets the charset for this file.
|
void |
IFile.setContents(IFileState source,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Sets the contents of this file to the bytes in the given file state.
|
void |
IFile.setContents(IFileState source,
int updateFlags,
IProgressMonitor monitor)
Sets the contents of this file to the bytes in the given file state.
|
void |
IFile.setContents(InputStream source,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Sets the contents of this file to the bytes in the given input stream.
|
void |
IFile.setContents(InputStream source,
int updateFlags,
IProgressMonitor monitor)
Sets the contents of this file to the bytes in the given input stream.
|
void |
IContainer.setDefaultCharset(String charset)
Deprecated.
Replaced by
IContainer.setDefaultCharset(String, IProgressMonitor) which
is a workspace operation and reports changes in resource deltas. |
void |
IContainer.setDefaultCharset(String charset,
IProgressMonitor monitor)
Sets the default charset for this container.
|
void |
IResource.setDerived(boolean isDerived)
Deprecated.
Replaced by
IResource.setDerived(boolean, IProgressMonitor) which
is a workspace operation and reports changes in resource deltas. |
void |
IResource.setDerived(boolean isDerived,
IProgressMonitor monitor)
Sets whether this resource subtree is marked as derived.
|
void |
IProject.setDescription(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Changes this project resource to match the given project
description.
|
void |
IProject.setDescription(IProjectDescription description,
IProgressMonitor monitor)
Changes this project resource to match the given project
description.
|
void |
IWorkspace.setDescription(IWorkspaceDescription description)
Sets the workspace description.
|
void |
IResource.setHidden(boolean isHidden)
Sets whether this resource and its members are hidden in the resource tree.
|
void |
IncrementalProjectBuilder.setInitializationData(IConfigurationElement config,
String propertyName,
Object data)
Sets initialization data for this builder.
|
void |
IResource.setLocal(boolean flag,
int depth,
IProgressMonitor monitor)
Deprecated.
This API is no longer in use. Note that this API is unrelated
to whether the resource is in the local file system versus some other file system.
|
long |
IResource.setLocalTimeStamp(long value)
Sets the local time stamp on disk for this resource.
|
void |
IResource.setPersistentProperty(QualifiedName key,
String value)
Sets the value of the persistent property of this resource identified
by the given key.
|
void |
IResource.setResourceAttributes(ResourceAttributes attributes)
Sets this resource with the given extended attributes.
|
void |
IResource.setSessionProperty(QualifiedName key,
Object value)
Sets the value of the session property of this resource identified
by the given key.
|
void |
ISynchronizer.setSyncInfo(QualifiedName partner,
IResource resource,
byte[] info)
Sets the named sync partner's synchronization information for the given resource.
|
void |
IResource.setTeamPrivateMember(boolean isTeamPrivate)
Sets whether this resource subtree is a team private member of its parent container.
|
void |
IPathVariableManager.setURIValue(String name,
URI value)
Sets the path variable with the given name to be the specified value.
|
void |
IPathVariableManager.setValue(String name,
IPath value)
Deprecated.
use
IPathVariableManager.setURIValue(String, URI) instead. |
void |
IResource.touch(IProgressMonitor monitor)
Marks this resource as having changed even though its content
may not have changed.
|
boolean |
IResourceVisitor.visit(IResource resource)
Visits the given resource.
|
boolean |
IResourceDeltaVisitor.visit(IResourceDelta delta)
Visits the given resource delta.
|
boolean |
IResourceProxyVisitor.visit(IResourceProxy proxy)
Visits the given resource.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractFileInfoMatcher.initialize(IProject project,
Object arguments)
Sets initialization data for this matcher.
|
void |
CompoundFileInfoMatcher.initialize(IProject project,
Object arguments) |
abstract boolean |
AbstractFileInfoMatcher.matches(IContainer parent,
IFileInfo fileInfo)
Tests the given
FileInfo |
Modifier and Type | Method and Description |
---|---|
void |
ResourceTraversal.accept(IResourceVisitor visitor)
Visits all existing resources defined by this traversal.
|
void |
ResourceMapping.accept(ResourceMappingContext context,
IResourceVisitor visitor,
IProgressMonitor monitor)
Accepts the given visitor for all existing resources in this mapping.
|
abstract IStorage |
RemoteResourceMappingContext.fetchBaseContents(IFile file,
IProgressMonitor monitor)
For three-way comparisons, returns an instance of IStorage in order to
allow the caller to access the contents of the base resource that
corresponds to the given local resource.
|
IResource[] |
RemoteResourceMappingContext.fetchBaseMembers(IContainer container,
IProgressMonitor monitor)
Returns the members of the base resource corresponding to the given container.
|
abstract IResource[] |
RemoteResourceMappingContext.fetchMembers(IContainer container,
IProgressMonitor monitor)
Returns the combined members of the base and remote resources corresponding
to the given container.
|
abstract IStorage |
RemoteResourceMappingContext.fetchRemoteContents(IFile file,
IProgressMonitor monitor)
Returns an instance of IStorage in order to allow the caller to access
the contents of the remote that corresponds to the given local resource.
|
IResource[] |
RemoteResourceMappingContext.fetchRemoteMembers(IContainer container,
IProgressMonitor monitor)
Returns the members of the remote resource corresponding to the given container.
|
IMarker[] |
ResourceTraversal.findMarkers(String type,
boolean includeSubtypes)
Returns all markers of the specified type on existing resources in this traversal.
|
IMarker[] |
ResourceMapping.findMarkers(String type,
boolean includeSubtypes,
IProgressMonitor monitor)
Returns all markers of the specified type on the resources in this mapping.
|
ResourceMapping[] |
ModelProvider.getMappings(IResource[] resources,
ResourceMappingContext context,
IProgressMonitor monitor)
Return the set of mappings that cover the given resources.
|
ResourceMapping[] |
ModelProvider.getMappings(IResource resource,
ResourceMappingContext context,
IProgressMonitor monitor)
Return the resource mappings that cover the given resource.
|
ResourceMapping[] |
ModelProvider.getMappings(ResourceTraversal[] traversals,
ResourceMappingContext context,
IProgressMonitor monitor)
Return the set of mappings that overlap with the given resource traversals.
|
IResource[] |
IModelProviderDescriptor.getMatchingResources(IResource[] resources)
From the provides set of resources, return those that match the enablement
rule specified for the model provider descriptor.
|
ResourceTraversal[] |
IModelProviderDescriptor.getMatchingTraversals(ResourceTraversal[] traversals)
Return the set of traversals that overlap with the resources that
this descriptor matches.
|
ModelProvider |
IModelProviderDescriptor.getModelProvider()
Return the model provider for this descriptor, instantiating it if it is
the first time the method is called.
|
ResourceTraversal[] |
ModelProvider.getTraversals(ResourceMapping[] mappings,
ResourceMappingContext context,
IProgressMonitor monitor)
Return a set of traversals that cover the given resource mappings.
|
abstract ResourceTraversal[] |
ResourceMapping.getTraversals(ResourceMappingContext context,
IProgressMonitor monitor)
Returns one or more traversals that can be used to access all the
physical resources that constitute the logical resource.
|
ResourceTraversal[] |
CompositeResourceMapping.getTraversals(ResourceMappingContext context,
IProgressMonitor monitor) |
abstract boolean |
RemoteResourceMappingContext.hasLocalChange(IResource resource,
IProgressMonitor monitor)
For three-way comparisons, this method indicates whether local
modifications have been made to the given resource.
|
abstract boolean |
RemoteResourceMappingContext.hasRemoteChange(IResource resource,
IProgressMonitor monitor)
For two-way comparisons, return whether the contents of the corresponding
remote differs from the content of the local file in the context of the
current operation.
|
abstract void |
RemoteResourceMappingContext.refresh(ResourceTraversal[] traversals,
int flags,
IProgressMonitor monitor)
Refresh the known remote state for any resources covered by the given
traversals.
|
Modifier and Type | Method and Description |
---|---|
static void |
Platform.addAuthorizationInfo(URL serverUrl,
String realm,
String authScheme,
Map<String,String> info)
Deprecated.
Authorization database is superseded by the Equinox secure storage.
Use
org.eclipse.equinox.security.storage.SecurePreferencesFactory
to obtain secure preferences and org.eclipse.equinox.security.storage.ISecurePreferences
for data access and modifications.
Consider using ISecurePreferences#put(String, String, boolean) as a replacement of this method.
This API will be deleted in a future release. See bug 370248 for details. |
static void |
Platform.addProtectionSpace(URL resourceUrl,
String realm)
Deprecated.
Authorization database is superseded by the Equinox secure storage.
Use
org.eclipse.equinox.security.storage.SecurePreferencesFactory
to obtain secure preferences and org.eclipse.equinox.security.storage.ISecurePreferences
for data access and modifications.
This API will be deleted in a future release. See bug 370248 for details. |
Object |
IExecutableExtensionFactory.create()
Creates and returns a new instance.
|
Object |
IConfigurationElement.createExecutableExtension(String propertyName)
Creates and returns a new instance of the executable extension
identified by the named attribute of this configuration element.
|
static void |
Preferences.exportPreferences(IPath path)
Deprecated.
Exports all non-default-valued preferences for all installed plugins to the
provided file.
|
static void |
Platform.flushAuthorizationInfo(URL serverUrl,
String realm,
String authScheme)
Deprecated.
Authorization database is superseded by the Equinox secure storage.
Use
org.eclipse.equinox.security.storage.SecurePreferencesFactory
to obtain secure preferences and org.eclipse.equinox.security.storage.ISecurePreferences
for data access and modifications.
Consider using ISecurePreferences#clear() as a replacement of this method.
This API will be deleted in a future release. See bug 370248 for details. |
Plugin |
IPluginDescriptor.getPlugin()
Deprecated.
In Eclipse 3.0 plug-in runtime objects are not globally managed and
so are not generically accessible. Rather, each plug-in is free to declare
API which exposes the plug-in runtime object (e.g.,
MyPlugin.getInstance() ).
If this method is being used to activate a plug-in then the following code is
equivalent:
bundle.start()where bundle is the bundle associated with
the relevant plug-in. |
static void |
Preferences.importPreferences(IPath path)
Deprecated.
Loads the plugin preferences from the given file, and replaces all
non-default-valued preferences for all plugins with the values from this file.
|
static void |
RegistryFactory.setDefaultRegistryProvider(IRegistryProvider provider)
Use this method to specify the default registry provider.
|
void |
IExecutableExtension.setInitializationData(IConfigurationElement config,
String propertyName,
Object data)
This method is called by the implementation of the method
IConfigurationElement.createExecutableExtension
on a newly constructed extension, passing it its relevant configuration
information. |
void |
Plugin.shutdown()
Deprecated.
In Eclipse 3.0 this method has been replaced by
Plugin.stop(BundleContext context) .
Implementations of shutdown() should be changed to override
stop(BundleContext context) and call super.stop(context)
instead of super.shutdown() .
The shutdown() method is called only for plug-ins which explicitly require the
org.eclipse.core.runtime.compatibility plug-in. |
void |
Plugin.startup()
Deprecated.
In Eclipse 3.0 this method has been replaced by
Plugin.start(BundleContext context) .
Implementations of startup() should be changed to extend
start(BundleContext context) and call super.start(context)
instead of super.startup() .
The startup() method is called only for plug-ins which explicitly require the
org.eclipse.core.runtime.compatibility plug-in. |
Modifier and Type | Method and Description |
---|---|
void |
IContentTypeSettings.addFileSpec(String fileSpec,
int type)
Adds a user-defined file specification to the corresponding content type.
|
IContentTypeSettings |
IContentType.getSettings(IScopeContext context)
Returns the settings for this content type in the given
preference context.
|
void |
IContentTypeSettings.removeFileSpec(String fileSpec,
int type)
Removes a user-defined file specification from the corresponding content type.
|
void |
IContentTypeSettings.setDefaultCharset(String userCharset)
Sets the default charset for the corresponding content type.
|
void |
XMLRootElementContentDescriber.setInitializationData(IConfigurationElement config,
String propertyName,
Object data)
Deprecated.
|
void |
XMLRootElementContentDescriber2.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
void |
BinarySignatureDescriber.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
Modifier and Type | Method and Description |
---|---|
void |
IPreferencesService.applyPreferences(IEclipsePreferences node,
IPreferenceFilter[] filters)
Apply the preference tree rooted at the given node, to the system's preference tree.
|
IStatus |
IPreferencesService.applyPreferences(IExportedPreferences preferences)
Take the given preference tree and apply it to the Eclipse
global preference hierarchy.
|
void |
IPreferencesService.exportPreferences(IEclipsePreferences node,
IPreferenceFilter[] filters,
OutputStream output)
Export the preference tree rooted at the given node, to the specified output
stream.
|
IStatus |
IPreferencesService.exportPreferences(IEclipsePreferences node,
OutputStream output,
String[] excludesList)
Exports all preferences for the given preference node and all its children to the specified
output stream.
|
IStatus |
IPreferencesService.importPreferences(InputStream input)
Loads preferences from the given file and stores them in the preferences store.
|
IPreferenceFilter[] |
IPreferencesService.matches(IEclipsePreferences node,
IPreferenceFilter[] filters)
Return a list of filters which match the given tree and is a subset of the given
filter list.
|
IExportedPreferences |
IPreferencesService.readPreferences(InputStream input)
Read from the given input stream and create a node hierarchy
representing the preferences and their values.
|
Modifier and Type | Method and Description |
---|---|
Object |
RegistryStrategy.createExecutableExtension(RegistryContributor contributor,
String className,
String overridenContributorName)
Creates an executable extension.
|
Modifier and Type | Method and Description |
---|---|
void |
IStringVariableManager.addVariables(IValueVariable[] variables)
Adds the given variables to the variable registry.
|
String |
IDynamicVariable.getValue(String argument)
Returns the value of this variable when referenced with the given
argument, possibly
null . |
String |
IStringVariableManager.performStringSubstitution(String expression)
Recursively resolves and replaces all variable references in the given
expression with their corresponding values.
|
String |
IStringVariableManager.performStringSubstitution(String expression,
boolean reportUndefinedVariables)
Recursively resolves and replaces all variable references in the given
expression with their corresponding values.
|
String |
IDynamicVariableResolver.resolveValue(IDynamicVariable variable,
String argument)
Resolves and returns a value for the specified variable when referenced
with the given argument, possibly
null |
void |
IStringVariableManager.validateStringVariables(String expression)
Validates variables references in the given expression and reports errors
for references to undefined variables.
|
Modifier and Type | Class and Description |
---|---|
class |
DebugException
A checked exception representing a failure.
|
Modifier and Type | Method and Description |
---|---|
void |
IBreakpointManager.addBreakpoint(IBreakpoint breakpoint)
Adds the given breakpoint to the collection of registered breakpoints
in the workspace and notifies all registered listeners.
|
void |
IBreakpointManager.addBreakpoints(IBreakpoint[] breakpoints)
Adds the given breakpoints to the collection of registered breakpoints
in the workspace and notifies all registered listeners.
|
ILaunchConfigurationWorkingCopy |
ILaunchConfiguration.copy(String name)
Returns a copy of this launch configuration, as a
working copy, with the specified name.
|
void |
ILaunchConfiguration.delete()
Deletes this launch configuration.
|
ILaunchConfiguration |
ILaunchConfigurationWorkingCopy.doSave()
Saves this working copy to its underlying file and returns
a handle to the resulting launch configuration.
|
static Process |
DebugPlugin.exec(String[] cmdLine,
File workingDirectory)
Convenience method that performs a runtime exec on the given command line
in the context of the specified working directory, and returns the
resulting process.
|
static Process |
DebugPlugin.exec(String[] cmdLine,
File workingDirectory,
String[] envp)
Convenience method that performs a runtime exec on the given command line
in the context of the specified working directory, and returns the
resulting process.
|
boolean |
ILaunchConfiguration.getAttribute(String attributeName,
boolean defaultValue)
Returns the boolean-valued attribute with the given name.
|
int |
ILaunchConfiguration.getAttribute(String attributeName,
int defaultValue)
Returns the integer-valued attribute with the given name.
|
List<String> |
ILaunchConfiguration.getAttribute(String attributeName,
List<String> defaultValue)
Returns the
java.util.List -valued attribute with the given name. |
Map<String,String> |
ILaunchConfiguration.getAttribute(String attributeName,
Map<String,String> defaultValue)
Returns the
java.util.Map -valued attribute with the given name. |
Set<String> |
ILaunchConfiguration.getAttribute(String attributeName,
Set<String> defaultValue)
Returns the
java.util.Set -valued attribute with the given name. |
String |
ILaunchConfiguration.getAttribute(String attributeName,
String defaultValue)
Returns the string-valued attribute with the given name.
|
Map<String,Object> |
ILaunchConfiguration.getAttributes()
Returns a map containing the attributes in this launch configuration.
|
String |
ILaunchConfiguration.getCategory()
Returns this launch configuration's type's category, or
null
if unspecified. |
ILaunchConfigurationDelegate |
ILaunchDelegate.getDelegate()
Returns the underlying launch configuration.
|
ILaunchConfigurationDelegate |
ILaunchConfigurationType.getDelegate()
Deprecated.
use
getDelegate(String) to specify mode |
ILaunchConfigurationDelegate |
ILaunchConfigurationType.getDelegate(String mode)
Deprecated.
since 3.3, the method
getDelegates(Set) should be used
instead, as there can be more than one capable delegate per mode or combination
of modes |
ILaunchDelegate[] |
ILaunchConfigurationType.getDelegates(Set<String> modes)
Returns the delegates capable of launching in the specified modes, possibly
an empty set.
|
String |
ILaunchManager.getEncoding(ILaunchConfiguration configuration)
This method returns the character encoding to use when launching the specified
ILaunchConfiguration . |
String[] |
ILaunchManager.getEnvironment(ILaunchConfiguration configuration)
Returns an array of environment variables to be used when
launching the given configuration or
null if unspecified. |
IBreakpointImportParticipant[] |
IBreakpointManager.getImportParticipants(String markertype)
Returns an array of
IBreakpointImportParticipant s for the given
breakpoint marker id, never null . |
ILaunchConfiguration |
ILaunchManager.getLaunchConfiguration(String memento)
Returns a handle to the launch configuration specified by
the given memento.
|
ILaunchConfiguration[] |
ILaunchManager.getLaunchConfigurations()
Returns all launch configurations defined in the workspace.
|
ILaunchConfiguration[] |
ILaunchManager.getLaunchConfigurations(ILaunchConfigurationType type)
Returns all launch configurations of the specified type defined in the workspace
|
IResource[] |
ILaunchConfiguration.getMappedResources()
Returns the resources this launch configuration is associated with or
null
if none. |
String |
ILaunchConfiguration.getMemento()
Returns a memento for this launch configuration, or
null
if unable to generate a memento for this configuration. |
ILaunchConfiguration[] |
ILaunchManager.getMigrationCandidates()
Returns a collection of launch configurations that required migration to be
compatible with current tooling.
|
Set<String> |
ILaunchConfiguration.getModes()
Returns the launch modes that have been set on this configuration.
|
ILaunchDelegate |
ILaunchConfigurationType.getPreferredDelegate(Set<String> modes)
Returns the preferred launch delegate for this type in the specified mode combination
or
null if there is no preferred delegate. |
ILaunchDelegate |
ILaunchConfiguration.getPreferredDelegate(Set<String> modes)
Returns the preferred launch delegate that has been set on this
configuration or
null if one is not specified. |
ISourcePathComputer |
ILaunchManager.getSourcePathComputer(ILaunchConfiguration configuration)
Returns a source path computer to compute a default source lookup path for
the given launch configuration, or
null if a source path
computer has not been registered for the associated launch configuration
type. |
ILaunchConfigurationType |
ILaunchConfiguration.getType()
Returns the type of this launch configuration.
|
ILaunchConfigurationWorkingCopy |
ILaunchConfiguration.getWorkingCopy()
Returns a working copy of this launch configuration.
|
Object |
IStatusHandler.handleStatus(IStatus status,
Object source)
Notifies this status handler that the given status has been
generated by the specified source object and requires resolution.
|
boolean |
ILaunchConfiguration.hasAttribute(String attributeName)
Returns whether this configuration contains an attribute with the given name.
|
boolean |
ILaunchConfigurationMigrationDelegate.isCandidate(ILaunchConfiguration candidate)
Returns whether the given launch configuration requires migration.
|
boolean |
ILaunchManager.isExistingLaunchConfigurationName(String name)
Return
true if there is a launch configuration with the specified name,
false otherwise. |
boolean |
ILaunchConfiguration.isMigrationCandidate()
Returns whether this launch configuration is a candidate for migration.
|
static boolean |
RefreshUtil.isRefreshRecursive(ILaunchConfiguration configuration)
Returns whether the refresh scope specified by the given launch
configuration is recursive.
|
ILaunch |
ILaunchConfiguration.launch(String mode,
IProgressMonitor monitor)
Launches this configuration in the specified mode by delegating to
this configuration's launch configuration delegate, and returns the
resulting launch.
|
ILaunch |
ILaunchConfiguration.launch(String mode,
IProgressMonitor monitor,
boolean build)
Launches this configuration in the specified mode by delegating to
this configuration's launch configuration delegate, and returns the
resulting launch.
|
ILaunch |
ILaunchConfiguration.launch(String mode,
IProgressMonitor monitor,
boolean build,
boolean register)
Launches this configuration in the specified mode by delegating to
this configuration's launch configuration delegate, and returns the
resulting launch.
|
void |
ILaunchConfiguration.migrate()
Migrates this launch configuration to be compatible with current tooling.
|
void |
ILaunchConfigurationMigrationDelegate.migrate(ILaunchConfiguration candidate)
Migrates the given launch configuration to be compatible with the current tooling.
|
static Document |
DebugPlugin.newDocument()
Creates and returns a new XML document.
|
ILaunchConfigurationWorkingCopy |
ILaunchConfigurationType.newInstance(IContainer container,
String name)
Returns a new launch configuration working copy of this type,
that resides in the specified container, with the given name.
|
IPersistableSourceLocator |
ILaunchManager.newSourceLocator(String identifier)
Creates and returns a new source locator of the specified
type.
|
static Element |
DebugPlugin.parseDocument(String document)
Parses the given string representing an XML document, returning its
root element.
|
static void |
RefreshUtil.refreshResources(ILaunchConfiguration configuration,
IProgressMonitor monitor)
Refreshes the resources as specified by the given launch configuration via its
RefreshUtil.ATTR_REFRESH_SCOPE and RefreshUtil.ATTR_REFRESH_RECURSIVE attributes. |
static void |
RefreshUtil.refreshResources(IResource[] resources,
int depth,
IProgressMonitor monitor)
Refreshes the resources as specified by the given launch configuration.
|
void |
IBreakpointManager.removeBreakpoint(IBreakpoint breakpoint,
boolean delete)
Removes the given breakpoint from the breakpoint manager, deletes
the marker associated with the breakpoint if the
delete flag
is true , and notifies all registered
listeners. |
void |
IBreakpointManager.removeBreakpoints(IBreakpoint[] breakpoints,
boolean delete)
Removes the given breakpoints from the breakpoint manager, deletes
the markers associated with the breakpoints if the
delete flag
is true , and notifies all registered
listeners. |
static String |
DebugPlugin.serializeDocument(Document document)
Serializes the given XML document into a string.
|
void |
ILaunchConfigurationType.setPreferredDelegate(Set<String> modes,
ILaunchDelegate delegate)
Sets the preferred launch delegate for this type in the specified mode combination.
|
boolean |
ILaunchConfiguration.supportsMode(String mode)
Returns whether this launch configuration supports the
specified mode.
|
static IResource[] |
RefreshUtil.toResources(String memento)
Returns a collection of resources referred to by the specified
memento generated via
RefreshUtil.toMemento(IResource[]) . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractDebugCommand.doExecute(Object[] targets,
IProgressMonitor monitor,
IRequest request)
Executes this command synchronously on the specified targets, reporting progress.
|
protected abstract boolean |
AbstractDebugCommand.isExecutable(Object[] targets,
IProgressMonitor monitor,
IEnabledStateRequest request)
Returns whether this command is executable on the specified targets, reporting progress.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LaunchConfigurationDelegate.addReferencedProjects(IProject project,
Set<IProject> references)
Adds all projects referenced by
project to the given
set. |
boolean |
LaunchConfigurationDelegate.buildForLaunch(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor) |
boolean |
ILaunchConfigurationDelegate2.buildForLaunch(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor)
Optionally performs any required building before launching the given
configuration in the specified mode, and returns whether the debug platform
should perform an incremental workspace build before the launch continues.
|
protected void |
LaunchConfigurationDelegate.buildProjects(IProject[] projects,
IProgressMonitor monitor)
Performs an incremental build on each of the given projects.
|
protected IProject[] |
LaunchConfigurationDelegate.computeReferencedBuildOrder(IProject[] baseProjects)
Returns an array of projects in their suggested build order
containing all of the projects specified by
baseProjects
and all of their referenced projects. |
void |
Breakpoint.delete() |
void |
IBreakpoint.delete()
Deletes this breakpoint's underlying marker, and removes
this breakpoint from the breakpoint manager.
|
protected boolean |
LaunchConfigurationDelegate.existsProblems(IProject proj)
Returns whether the given project contains any problem markers of the
specified severity.
|
boolean |
LaunchConfigurationDelegate.finalLaunchCheck(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor) |
boolean |
ILaunchConfigurationDelegate2.finalLaunchCheck(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor)
Returns whether a launch should proceed.
|
protected IProject[] |
LaunchConfigurationDelegate.getBuildOrder(ILaunchConfiguration configuration,
String mode)
Returns the projects to build before launching the given launch configuration
or
null if the entire workspace should be built incrementally. |
int |
ILineBreakpoint.getCharEnd()
Returns ending source index in the original source that corresponds
to the location of this breakpoint, or -1 if the attribute is not present.
|
int |
LineBreakpoint.getCharEnd() |
int |
ILineBreakpoint.getCharStart()
Returns starting source index in the original source that corresponds
to the location of this breakpoint, or -1 if the attribute is not present.
|
int |
LineBreakpoint.getCharStart() |
ILaunch |
LaunchConfigurationDelegate.getLaunch(ILaunchConfiguration configuration,
String mode) |
ILaunch |
ILaunchConfigurationDelegate2.getLaunch(ILaunchConfiguration configuration,
String mode)
Returns a launch object to use when launching the given launch
configuration in the given mode, or
null if a new default
launch object should be created by the debug platform. |
int |
ILineBreakpoint.getLineNumber()
Returns the line number in the original source that corresponds
to the location of this breakpoint, or -1 if the attribute is not
present.
|
int |
LineBreakpoint.getLineNumber() |
IValue |
ILogicalStructureTypeDelegate.getLogicalStructure(IValue value)
Returns a value representing a logical structure of the given value.
|
String |
IPersistableSourceLocator.getMemento()
Returns a memento that can be used to reconstruct
this source locator
|
protected IProject[] |
LaunchConfigurationDelegate.getProjectsForProblemSearch(ILaunchConfiguration configuration,
String mode)
Returns the set of projects to use when searching for errors or
null
if no search is to be done. |
void |
IPersistableSourceLocator.initializeDefaults(ILaunchConfiguration configuration)
Initializes this source locator to perform default
source lookup for the given launch configuration.
|
void |
IPersistableSourceLocator.initializeFromMemento(String memento)
Initializes this source locator based on the given
memento.
|
boolean |
IWatchpoint.isAccess()
Returns whether this watchpoint will suspend execution when its associated
variable is accessed (read).
|
boolean |
Breakpoint.isEnabled() |
boolean |
IBreakpoint.isEnabled()
Returns whether this breakpoint is enabled
|
protected boolean |
LaunchConfigurationDelegate.isLaunchProblem(IMarker problemMarker)
Returns whether the given problem should potentially abort the launch.
|
boolean |
IWatchpoint.isModification()
Returns whether this watchpoint will suspend execution when its associated
variable is written.
|
boolean |
Breakpoint.isPersisted() |
boolean |
IBreakpoint.isPersisted()
Returns whether this breakpoint is to be persisted across
workspace invocations, or when a project is closed and re-opened.
|
boolean |
Breakpoint.isRegistered() |
boolean |
IBreakpoint.isRegistered()
Returns whether this breakpoint is currently registered with
the breakpoint manager.
|
void |
ILaunchConfigurationDelegate.launch(ILaunchConfiguration configuration,
String mode,
ILaunch launch,
IProgressMonitor monitor)
Launches the given configuration in the specified mode, contributing
debug targets and/or processes to the given launch object.
|
boolean |
IBreakpointImportParticipant.matches(Map<String,Object> attributes,
IBreakpoint breakpoint)
Determines if the given attributes match the given breakpoint.
|
boolean |
LaunchConfigurationDelegate.preLaunchCheck(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor) |
boolean |
ILaunchConfigurationDelegate2.preLaunchCheck(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor)
Returns whether a launch should proceed.
|
protected boolean |
LaunchConfigurationDelegate.saveBeforeLaunch(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor)
Performs the scoped saving of resources before launching and returns whether
the launch should continue.
|
void |
IWatchpoint.setAccess(boolean access)
Sets whether this breakpoint will suspend execution when its associated
variable is accessed.
|
protected void |
Breakpoint.setAttribute(String attributeName,
boolean value)
Convenience method to set the given boolean attribute of
this breakpoint's underlying marker in a workspace
runnable.
|
protected void |
Breakpoint.setAttribute(String attributeName,
int value)
Convenience method to set the given integer attribute of
this breakpoint's underlying marker in a workspace
runnable.
|
protected void |
Breakpoint.setAttribute(String attributeName,
Object value)
Convenience method to set the given attribute of
this breakpoint's underlying marker in a workspace
runnable.
|
protected void |
Breakpoint.setAttributes(Map<String,? extends Object> attributes)
Convenience method to set the attributes of
this breakpoint's underlying marker in a workspace
runnable.
|
protected void |
Breakpoint.setAttributes(String[] attributeNames,
Object[] values)
Convenience method to set the given attributes of
this breakpoint's underlying marker in a workspace
runnable.
|
void |
Breakpoint.setEnabled(boolean enabled) |
void |
IBreakpoint.setEnabled(boolean enabled)
Sets the enabled state of this breakpoint.
|
void |
Breakpoint.setMarker(IMarker marker) |
void |
IBreakpoint.setMarker(IMarker marker)
Sets the marker associated with this breakpoint.
|
void |
IWatchpoint.setModification(boolean modification)
Sets whether this breakpoint will suspend execution when its associated
variable is modified.
|
void |
Breakpoint.setPersisted(boolean persisted) |
void |
IBreakpoint.setPersisted(boolean registered)
Sets whether this breakpoint is to be persisted across
workspace invocations, or when a project is closed and re-opened.
|
void |
Breakpoint.setRegistered(boolean registered) |
void |
IBreakpoint.setRegistered(boolean registered)
Sets whether this breakpoint is currently registered with the
breakpoint manager.
|
void |
IBreakpointImportParticipant.verify(IBreakpoint breakpoint)
Verifies the state of the breakpoint once it has been imported.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSourceLookupDirector.abort(String message,
Throwable exception)
Throws an exception with the given message and underlying exception.
|
ISourceContainer[] |
ISourcePathComputerDelegate.computeSourceContainers(ILaunchConfiguration configuration,
IProgressMonitor monitor)
Returns a default collection source containers to be considered for the
given launch configuration.
|
ISourceContainer |
ISourceContainerTypeDelegate.createSourceContainer(String memento)
Creates and returns a new source container of this type
corresponding to the given memento.
|
protected void |
AbstractSourceLookupDirector.doInitializeFromMemento(String memento,
boolean dispose)
Initializes this source lookup director from the given memento.
|
Object[] |
ISourceLookupDirector.findSourceElements(Object object)
Returns a collection of source elements corresponding to the given debug
artifact (for example, a stack frame or breakpoint).
|
Object[] |
AbstractSourceLookupParticipant.findSourceElements(Object object) |
Object[] |
AbstractSourceLookupDirector.findSourceElements(Object object) |
Object[] |
ISourceLookupParticipant.findSourceElements(Object object)
Returns a collection of source elements corresponding to the given debug
artifact (for example, a stack frame or breakpoint).
|
Object[] |
ISourceContainer.findSourceElements(String name)
Returns a collection of source elements in this container corresponding to the
given name.
|
String |
AbstractSourceLookupDirector.getMemento() |
String |
ISourceContainerTypeDelegate.getMemento(ISourceContainer container)
Constructs and returns a memento for the given source container.
|
ISourceContainer[] |
ISourceContainer.getSourceContainers()
Returns the source containers this container is composed of.
|
String |
ISourceLookupParticipant.getSourceName(Object object)
Returns the source file name associated with the given debug artifact that
source needs to be found for, or
null if none. |
void |
AbstractSourceLookupDirector.initializeDefaults(ILaunchConfiguration configuration) |
void |
AbstractSourceLookupDirector.initializeFromMemento(String memento) |
void |
IPersistableSourceLocator2.initializeFromMemento(String memento,
ILaunchConfiguration configuration)
Initializes this source locator based on the given
memento, for the given launch configuration.
|
void |
AbstractSourceLookupDirector.initializeFromMemento(String memento,
ILaunchConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSourceContainer.abort(String message,
Throwable exception)
Throws an error exception with the given message and underlying exception.
|
protected void |
AbstractSourceContainerTypeDelegate.abort(String message,
Throwable exception)
Throws an exception with the given message and underlying exception.
|
protected ISourceContainer[] |
ContainerSourceContainer.createSourceContainers() |
protected ISourceContainer[] |
DefaultSourceContainer.createSourceContainers() |
protected ISourceContainer[] |
ProjectSourceContainer.createSourceContainers() |
protected ISourceContainer[] |
DirectorySourceContainer.createSourceContainers() |
protected ISourceContainer[] |
WorkspaceSourceContainer.createSourceContainers() |
protected abstract ISourceContainer[] |
CompositeSourceContainer.createSourceContainers()
Creates the source containers in this composite container.
|
Object[] |
ExternalArchiveSourceContainer.findSourceElements(String name) |
Object[] |
ContainerSourceContainer.findSourceElements(String name) |
Object[] |
ArchiveSourceContainer.findSourceElements(String name) |
Object[] |
DirectorySourceContainer.findSourceElements(String name) |
Object[] |
CompositeSourceContainer.findSourceElements(String name) |
protected Object[] |
CompositeSourceContainer.findSourceElements(String name,
ISourceContainer[] containers)
Returns a collection of source elements in the given containers corresponding to
the given name.
|
InputStream |
ZipEntryStorage.getContents() |
InputStream |
LocalFileStorage.getContents() |
ISourceContainer[] |
AbstractSourceContainer.getSourceContainers() |
ISourceContainer[] |
CompositeSourceContainer.getSourceContainers() |
protected Document |
AbstractSourceContainerTypeDelegate.newDocument()
Creates and returns a new XML document.
|
protected Element |
AbstractSourceContainerTypeDelegate.parseDocument(String document)
Parses the given XML document, returning its root element.
|
protected String |
AbstractSourceContainerTypeDelegate.serializeDocument(Document document)
Returns the given XML document as a string.
|
protected void |
AbstractSourceContainer.warn(String message,
Throwable exception)
Throws a warning exception with the given message and underlying exception.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WorkingDirectoryBlock.log(CoreException e)
Logs exceptions that have been caught by this working directory block.
|
Modifier and Type | Method and Description |
---|---|
static ILaunch |
DebugUITools.buildAndLaunch(ILaunchConfiguration configuration,
String mode,
IProgressMonitor monitor)
Builds the workspace according to current preference settings, and launches
the given configuration in the specified mode, returning the resulting launch
object.
|
static void |
DebugUITools.deleteBreakpoints(IBreakpoint[] breakpoints,
Shell shell,
IProgressMonitor progressMonitor)
Deletes the given breakpoints using the operation history, which allows to undo the deletion.
|
protected abstract IProject |
WorkingDirectoryBlock.getProject(ILaunchConfiguration configuration)
Returns the project associated with the specified launch configuration or
null if none. |
static IResource[] |
RefreshTab.getRefreshResources(String scope)
Returns a collection of resources referred to by a refresh scope attribute.
|
static String |
RefreshTab.getRefreshScope(ILaunchConfiguration configuration)
Returns the refresh scope attribute specified by the given launch configuration
or
null if none. |
static boolean |
RefreshTab.isRefreshRecursive(ILaunchConfiguration configuration)
Returns whether the refresh scope specified by the given launch
configuration is recursive.
|
static void |
RefreshTab.refreshResources(ILaunchConfiguration configuration,
IProgressMonitor monitor)
Refreshes the resources as specified by the given launch configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
IAddMemoryBlocksTarget.addMemoryBlocks(IWorkbenchPart part,
ISelection selection)
Perform an add memory block on the given element that is
currently selected in the Debug view.
|
void |
IAddMemoryRenderingsTarget.addMemoryRenderings(IWorkbenchPart part,
ISelection selection,
IMemoryRenderingType[] renderingTypes)
Adds memory renderings.
|
boolean |
IAddMemoryBlocksTarget.canAddMemoryBlocks(IWorkbenchPart part,
ISelection selection)
Returns whether an add memory block operation can be performed from the specified
part and the given selection.
|
String |
IWatchExpressionFactoryAdapter.createWatchExpression(IVariable variable)
Creates and returns an expression for the specified variable
which is used to created an
IWatchExpression . |
String |
IWatchExpressionFactoryAdapter2.createWatchExpression(Object element)
Creates and returns an expression for the specified variable
which is used to created an
IWatchExpression . |
protected void |
ToggleMethodBreakpointActionDelegate.performAction(IToggleBreakpointsTarget target,
IWorkbenchPart part,
ISelection selection) |
protected void |
ToggleWatchpointActionDelegate.performAction(IToggleBreakpointsTarget target,
IWorkbenchPart part,
ISelection selection) |
void |
RunToLineHandler.run(IProgressMonitor monitor) |
void |
IRunToLineTarget.runToLine(IWorkbenchPart part,
ISelection selection,
ISuspendResume target)
Perform a run to line operation on the given element that is
currently selected and suspended in the Debug view.
|
void |
IToggleBreakpointsTargetExtension.toggleBreakpoints(IWorkbenchPart part,
ISelection selection)
Creates new line breakpoints or removes existing breakpoints.
|
void |
IToggleBreakpointsTargetExtension2.toggleBreakpointsWithEvent(IWorkbenchPart part,
ISelection selection,
Event event)
Creates or removes existing breakpoints based on any modifiers in the given
Event . |
void |
IToggleBreakpointsTarget.toggleLineBreakpoints(IWorkbenchPart part,
ISelection selection)
Creates new line breakpoints or removes existing breakpoints.
|
void |
IToggleBreakpointsTarget.toggleMethodBreakpoints(IWorkbenchPart part,
ISelection selection)
Creates new method breakpoints or removes existing breakpoints.
|
void |
IToggleBreakpointsTarget.toggleWatchpoints(IWorkbenchPart part,
ISelection selection)
Creates new watchpoints or removes existing breakpoints.
|
Modifier and Type | Method and Description |
---|---|
IMemoryRendering |
IMemoryRenderingType.createRendering()
Creates and returns a new rendering of this type or
null
if none. |
IMemoryRendering |
IMemoryRenderingTypeDelegate.createRendering(String id)
Creates and returns a rendering of the specified type, or
null
if none. |
Modifier and Type | Method and Description |
---|---|
protected ISourceContainer[] |
WorkingSetSourceContainer.createSourceContainers() |
Modifier and Type | Method and Description |
---|---|
Object |
JSPFactory.create() |
void |
JSPFactory.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
Modifier and Type | Class and Description |
---|---|
class |
ProvisionException
A checked exception indicating a recoverable error occurred while provisioning.
|
Modifier and Type | Method and Description |
---|---|
void |
HelpIndexBuilder.execute(IProgressMonitor monitor)
Creates the plug-in search index by parsing the provided plugin.xml file,
looking for TOC extensions.
|
void |
ISearchEngine.run(String query,
ISearchScope scope,
ISearchEngineResultCollector collector,
IProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
abstract void |
HelpServer.stop(String webappName)
Stop a server application.
|
Modifier and Type | Method and Description |
---|---|
void |
LaunchURL.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
Modifier and Type | Method and Description |
---|---|
protected IDocument |
DocumentChange.acquireDocument(IProgressMonitor pm)
Acquires a reference to the document to be changed by this text
change.
|
protected IDocument |
TextFileChange.acquireDocument(IProgressMonitor pm)
Acquires a reference to the document to be changed by this text
change.
|
protected abstract IDocument |
TextChange.acquireDocument(IProgressMonitor pm)
Acquires a reference to the document to be changed by this text
change.
|
RefactoringStatus |
Refactoring.checkAllConditions(IProgressMonitor pm)
Checks all conditions.
|
abstract RefactoringStatus |
Refactoring.checkFinalConditions(IProgressMonitor pm)
After
checkInitialConditions has been performed and the user has
provided all input necessary to perform the refactoring this method is called
to check the remaining preconditions. |
abstract RefactoringStatus |
Refactoring.checkInitialConditions(IProgressMonitor pm)
Checks some initial conditions based on the element to be refactored.
|
protected void |
DocumentChange.commit(IDocument document,
IProgressMonitor pm)
Commits the document acquired via a call to
aquireDocument . |
protected void |
TextFileChange.commit(IDocument document,
IProgressMonitor pm)
Commits the document acquired via a call to
aquireDocument . |
protected abstract void |
TextChange.commit(IDocument document,
IProgressMonitor pm)
Commits the document acquired via a call to
aquireDocument . |
abstract Change |
Refactoring.createChange(IProgressMonitor pm)
Creates a
Change object that performs the actual workspace
transformation. |
protected Refactoring |
PerformRefactoringHistoryOperation.createRefactoring(RefactoringDescriptor descriptor,
RefactoringStatus status)
Deprecated.
since 3.4. Override
PerformRefactoringHistoryOperation.createRefactoring(RefactoringDescriptor, RefactoringStatus, IProgressMonitor) instead |
protected Refactoring |
PerformRefactoringHistoryOperation.createRefactoring(RefactoringDescriptor descriptor,
RefactoringStatus status,
IProgressMonitor monitor)
Deprecated.
|
abstract Refactoring |
RefactoringDescriptor.createRefactoring(RefactoringStatus status)
Creates the a new refactoring instance for this refactoring descriptor.
|
protected RefactoringContext |
PerformRefactoringHistoryOperation.createRefactoringContext(RefactoringDescriptor descriptor,
RefactoringStatus status,
IProgressMonitor monitor)
Method which is called to create a refactoring context from a refactoring descriptor.
|
RefactoringContext |
RefactoringDescriptor.createRefactoringContext(RefactoringStatus status)
Creates the a new refactoring context and the associated refactoring instance for this
refactoring descriptor.
|
protected Change |
UndoTextFileChange.createUndoChange(UndoEdit edit,
ContentStamp stampToRestore)
Hook to create an undo change for the given undo edit.
|
protected void |
PerformChangeOperation.executeChange(IProgressMonitor pm)
Actually executes the change.
|
abstract String |
TextEditBasedChange.getCurrentContent(IProgressMonitor pm)
Returns the current content of the document this text
change is associated with.
|
String |
MultiStateTextFileChange.getCurrentContent(IProgressMonitor monitor) |
String |
TextChange.getCurrentContent(IProgressMonitor pm)
Returns the current content of the document this text
change is associated with.
|
abstract String |
TextEditBasedChange.getCurrentContent(IRegion region,
boolean expandRegionToFullLine,
int surroundingLines,
IProgressMonitor pm)
Returns the current content of the text edit change clipped to a specific
region.
|
String |
MultiStateTextFileChange.getCurrentContent(IRegion region,
boolean expand,
int surround,
IProgressMonitor monitor) |
String |
TextChange.getCurrentContent(IRegion region,
boolean expandRegionToFullLine,
int surroundingLines,
IProgressMonitor pm)
Returns the current content of the text edit change clipped to a specific
region.
|
IDocument |
MultiStateTextFileChange.getCurrentDocument(IProgressMonitor monitor)
Returns a document representing the current state of the buffer,
prior to the application of the change.
|
IDocument |
TextChange.getCurrentDocument(IProgressMonitor pm)
Returns the document this text change is associated to.
|
abstract String |
TextEditBasedChange.getPreviewContent(IProgressMonitor pm)
Returns the preview content as a string.
|
String |
MultiStateTextFileChange.getPreviewContent(IProgressMonitor monitor) |
String |
TextChange.getPreviewContent(IProgressMonitor pm)
Returns the preview content as a string.
|
abstract String |
TextEditBasedChange.getPreviewContent(TextEditBasedChangeGroup[] changeGroups,
IRegion region,
boolean expandRegionToFullLine,
int surroundingLines,
IProgressMonitor pm)
Returns a preview of the text edit change clipped to a specific region.
|
String |
MultiStateTextFileChange.getPreviewContent(TextEditBasedChangeGroup[] groups,
IRegion region,
boolean expand,
int surround,
IProgressMonitor monitor) |
String |
TextChange.getPreviewContent(TextEditBasedChangeGroup[] changeGroups,
IRegion region,
boolean expandRegionToFullLine,
int surroundingLines,
IProgressMonitor pm)
Returns a preview of the text change clipped to a specific region.
|
String |
TextChange.getPreviewContent(TextEditChangeGroup[] changeGroups,
IRegion region,
boolean expandRegionToFullLine,
int surroundingLines,
IProgressMonitor pm)
Returns a preview of the text change clipped to a specific region.
|
IDocument |
MultiStateTextFileChange.getPreviewDocument(IProgressMonitor monitor)
Returns a document representing the preview of the refactored buffer,
after the application of the change object.
|
IDocument |
TextChange.getPreviewDocument(IProgressMonitor pm)
Returns a document containing a preview of the text change.
|
RefactoringStatus |
NullChange.isValid(IProgressMonitor pm)
Verifies that this change object is still valid and can be executed by calling
perform . |
RefactoringStatus |
DocumentChange.isValid(IProgressMonitor pm)
Verifies that this change object is still valid and can be executed by calling
perform . |
RefactoringStatus |
CompositeChange.isValid(IProgressMonitor pm)
Verifies that this change object is still valid and can be executed by calling
perform . |
RefactoringStatus |
UndoTextFileChange.isValid(IProgressMonitor pm)
Verifies that this change object is still valid and can be executed by calling
perform . |
RefactoringStatus |
TextFileChange.isValid(IProgressMonitor monitor)
Verifies that this change object is still valid and can be executed by calling
perform . |
abstract RefactoringStatus |
Change.isValid(IProgressMonitor pm)
Verifies that this change object is still valid and can be executed by calling
perform . |
RefactoringStatus |
MultiStateTextFileChange.isValid(IProgressMonitor monitor) |
Change |
NullChange.perform(IProgressMonitor pm)
Performs this change.
|
Change |
CompositeChange.perform(IProgressMonitor pm)
Performs this change.
|
Change |
UndoTextFileChange.perform(IProgressMonitor pm)
Performs this change.
|
abstract Change |
Change.perform(IProgressMonitor pm)
Performs this change.
|
Change |
MultiStateTextFileChange.perform(IProgressMonitor monitor) |
Change |
TextChange.perform(IProgressMonitor pm)
Performs this change.
|
void |
IUndoManager.performRedo(IValidationCheckResultQuery query,
IProgressMonitor pm)
Redo the top most redo change.
|
void |
IUndoManager.performUndo(IValidationCheckResultQuery query,
IProgressMonitor pm)
Undo the top most undo change.
|
protected void |
DocumentChange.releaseDocument(IDocument document,
IProgressMonitor pm)
Releases the document acquired via a call to
aquireDocument . |
protected void |
TextFileChange.releaseDocument(IDocument document,
IProgressMonitor pm)
Releases the document acquired via a call to
aquireDocument . |
protected abstract void |
TextChange.releaseDocument(IDocument document,
IProgressMonitor pm)
Releases the document acquired via a call to
aquireDocument . |
void |
CheckConditionsOperation.run(IProgressMonitor pm)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
|
void |
CreateChangeOperation.run(IProgressMonitor pm)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
|
void |
PerformChangeOperation.run(IProgressMonitor pm)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
|
void |
PerformRefactoringOperation.run(IProgressMonitor monitor)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
|
void |
PerformRefactoringHistoryOperation.run(IProgressMonitor monitor)
Runs the operation reporting progress to and accepting
cancellation requests from the given progress monitor.
|
Modifier and Type | Method and Description |
---|---|
RefactoringHistory |
IRefactoringHistoryService.readRefactoringHistory(InputStream stream,
int flags)
Reads a refactoring history from the input stream.
|
void |
IRefactoringHistoryService.writeRefactoringDescriptors(RefactoringDescriptorProxy[] proxies,
OutputStream stream,
int flags,
boolean time,
IProgressMonitor monitor)
Writes the specified refactoring descriptor proxies to the output stream.
|
void |
IRefactoringHistoryService.writeRefactoringSession(RefactoringSessionDescriptor descriptor,
OutputStream stream,
boolean time)
Writes the specified refactoring session descriptor to the output stream.
|
Modifier and Type | Method and Description |
---|---|
ResourceTraversal[] |
AbstractRefactoringHistoryResourceMapping.getTraversals(ResourceMappingContext context,
IProgressMonitor monitor)
Returns one or more traversals that can be used to access all the
physical resources that constitute the logical resource.
|
ResourceTraversal[] |
AbstractRefactoringDescriptorResourceMapping.getTraversals(ResourceMappingContext context,
IProgressMonitor monitor)
Returns one or more traversals that can be used to access all the
physical resources that constitute the logical resource.
|
Modifier and Type | Method and Description |
---|---|
void |
CheckConditionsContext.add(IConditionChecker checker)
Adds the given condition checker.
|
RefactoringStatus |
CheckConditionsContext.check(IProgressMonitor pm)
Checks the condition of all registered condition checkers and returns a
merge status result.
|
RefactoringStatus |
ValidateEditChecker.check(IProgressMonitor monitor)
Performs the actual condition checking.
|
RefactoringStatus |
ResourceChangeChecker.check(IProgressMonitor monitor) |
RefactoringStatus |
IConditionChecker.check(IProgressMonitor monitor)
Performs the actual condition checking.
|
static RefactoringStatus |
ResourceChangeChecker.checkFilesToBeChanged(IFile[] files,
IProgressMonitor monitor)
A helper method to check a set of changed files.
|
RefactoringStatus |
ProcessorBasedRefactoring.checkFinalConditions(IProgressMonitor pm)
After
checkInitialConditions has been performed and the user has
provided all input necessary to perform the refactoring this method is called
to check the remaining preconditions. |
abstract RefactoringStatus |
RefactoringProcessor.checkFinalConditions(IProgressMonitor pm,
CheckConditionsContext context)
Checks the final conditions based on the element to be refactored.
|
abstract RefactoringStatus |
RefactoringProcessor.checkInitialConditions(IProgressMonitor pm)
Checks some initial conditions based on the element to be refactored.
|
RefactoringStatus |
ProcessorBasedRefactoring.checkInitialConditions(IProgressMonitor pm)
Checks some initial conditions based on the element to be refactored.
|
abstract Change |
RefactoringProcessor.createChange(IProgressMonitor pm)
Creates a
Change object describing the workspace modifications
the processor contributes to the overall refactoring. |
Change |
ProcessorBasedRefactoring.createChange(IProgressMonitor pm)
Creates a
Change object that performs the actual workspace
transformation. |
abstract Change |
RefactoringParticipant.createChange(IProgressMonitor pm)
Creates a
Change object that contains the workspace modifications
of this participant to be executed after the
changes from the refactoring are executed. |
Change |
RefactoringParticipant.createPreChange(IProgressMonitor pm)
Creates a
Change object that contains the workspace modifications
of this participant to be executed before the
changes from the refactoring are executed. |
abstract boolean |
RefactoringProcessor.isApplicable()
Checks whether the processor is applicable to the elements to be
refactored or not.
|
boolean |
ProcessorBasedRefactoring.isApplicable()
Checks whether the refactoring is applicable to the elements to be
refactored or not.
|
abstract RefactoringParticipant[] |
RefactoringProcessor.loadParticipants(RefactoringStatus status,
SharableParticipants sharedParticipants)
Returns the array of participants.
|
Change |
RefactoringProcessor.postCreateChange(Change[] participantChanges,
IProgressMonitor pm)
Additional hook allowing processors to add changes to the set of workspace
modifications after all participant changes have been created.
|
Modifier and Type | Method and Description |
---|---|
Refactoring |
DeleteResourcesDescriptor.createRefactoring(RefactoringStatus status) |
Refactoring |
MoveResourcesDescriptor.createRefactoring(RefactoringStatus status) |
Refactoring |
RenameResourceDescriptor.createRefactoring(RefactoringStatus status) |
RefactoringStatus |
ResourceChange.isValid(IProgressMonitor pm)
This implementation of
Change.isValid(IProgressMonitor) tests the modified resource using the validation method
specified by ResourceChange.setValidationMethod(int) . |
Change |
RenameResourceChange.perform(IProgressMonitor pm) |
Change |
MoveResourceChange.perform(IProgressMonitor monitor) |
Change |
DeleteResourceChange.perform(IProgressMonitor pm) |
Modifier and Type | Method and Description |
---|---|
abstract IRegion |
LanguageElementNode.getTextRange()
Returns the text region the of this language element node.
|
Modifier and Type | Method and Description |
---|---|
protected Refactoring |
RefactoringHistoryWizard.createRefactoring(RefactoringDescriptor descriptor,
RefactoringStatus status)
Deprecated.
since 3.6. Override
RefactoringHistoryWizard.createRefactoringContext(RefactoringDescriptor, RefactoringStatus, IProgressMonitor) instead |
protected Refactoring |
RefactoringHistoryWizard.createRefactoring(RefactoringDescriptor descriptor,
RefactoringStatus status,
IProgressMonitor monitor)
Deprecated.
since 3.7. Override
RefactoringHistoryWizard.createRefactoringContext(RefactoringDescriptor, RefactoringStatus, IProgressMonitor) instead |
protected RefactoringContext |
RefactoringHistoryWizard.createRefactoringContext(RefactoringDescriptor descriptor,
RefactoringStatus status,
IProgressMonitor monitor)
Creates a refactoring context from the specified refactoring descriptor.
|
Modifier and Type | Method and Description |
---|---|
IStatus |
AbstractResourceMappingMerger.merge(IMergeContext context,
IProgressMonitor monitor)
A default implementation of merge that attempts to merge all the mappings
in the context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TextSearchRequestor.acceptFile(IFile file)
Notification sent before search starts in the given file.
|
boolean |
TextSearchRequestor.acceptPatternMatch(TextSearchMatchAccess matchAccess)
Accepts the given search match and decides if the search should continue for this file.
|
Modifier and Type | Method and Description |
---|---|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(String selectedText)
Create a query to search for the selected text in the workspace.
|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(String selectedText,
IResource[] resources)
Create a query to search for the selected text in the given resources.
|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(String selectedText,
IWorkingSet[] ws)
Create a query to search for the selected text in the given working sets.
|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(TextSearchQueryProvider.TextSearchInput textSearchInput)
Create a query for the input with the given information.
|
Modifier and Type | Class and Description |
---|---|
class |
TeamException
This exception is thrown by the team provider API.
|
Modifier and Type | Method and Description |
---|---|
static TeamException |
TeamException.asTeamException(CoreException e)
Return a
TeamException for the given exception. |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryProvider.configure()
Configures the nature for the given project.
|
abstract void |
RepositoryProvider.configureProject()
Configures the provider for the given project.
|
Constructor and Description |
---|
TeamException(CoreException e)
Create a
TeamException that wraps the given CoreException |
Modifier and Type | Method and Description |
---|---|
IStorage |
IFileRevision.getStorage(IProgressMonitor monitor)
Returns the storage for this file revision.
|
IFileRevision |
IFileRevision.withAllProperties(IProgressMonitor monitor)
Returns an
IFileRevision with all supported properties present. |
Modifier and Type | Method and Description |
---|---|
protected IStorageMerger |
DelegatingStorageMerger.createDelegateMerger(IStorage target)
Create a merger for the given storage or return
null
if an appropriate merger could not be created. |
void |
IChangeGroupingRequestor.ensureChangesGrouped(IProject project,
IFile[] files,
String nameHint)
Issue a request to group the provided files together when the changes
are committed or checked-in to the repository.
|
protected void |
ChangeTracker.ensureGrouped(IProject project,
String name,
IFile[] files)
Group the given modified file into a change set with the given name.
|
static IContentType |
DelegatingStorageMerger.getContentType(IStorage target)
A helper method that finds the content type for the given storage or returns
null if a content
type cannot be found. |
void |
ISynchronizationScopeManager.initialize(IProgressMonitor monitor)
Build the scope that is used to determine the complete set of resource
mappings, and hence resources, that an operation should be performed on.
|
boolean |
IChangeGroupingRequestor.isModified(IFile file)
Return whether the given file is modified with respect to the repository.
|
protected boolean |
ChangeTracker.isModified(IFile file)
Return whether the given file is modified with respect to the
repository provider associated with the file's project.
|
void |
IMergeContext.markAsMerged(IDiff[] nodes,
boolean inSyncHint,
IProgressMonitor monitor)
Mark the files associated with the given diff nodes as being merged.
|
void |
IMergeContext.markAsMerged(IDiff node,
boolean inSyncHint,
IProgressMonitor monitor)
Method that allows the model merger to signal that the file associated
with the given diff node has been completely merged.
|
IStatus |
IMergeContext.merge(IDiff[] diffs,
boolean ignoreLocalChanges,
IProgressMonitor monitor)
Attempt to merge any files associated with the given diffs.
|
IStatus |
IMergeContext.merge(IDiff diff,
boolean ignoreLocalChanges,
IProgressMonitor monitor)
Method that can be called by the model merger to attempt a file-system
level merge.
|
IStatus |
IResourceMappingMerger.merge(IMergeContext mergeContext,
IProgressMonitor monitor)
Attempt to automatically merge the mappings of the merge context(
MergeContext#getMappings() ). |
IStatus |
ResourceMappingMerger.merge(IMergeContext mergeContext,
IProgressMonitor monitor)
A default implementation of merge that attempts to merge all the mappings
in the context.
|
IStatus |
DelegatingStorageMerger.merge(OutputStream output,
String outputEncoding,
IStorage ancestor,
IStorage target,
IStorage other,
IProgressMonitor monitor) |
IStatus |
IStorageMerger.merge(OutputStream output,
String outputEncoding,
IStorage ancestor,
IStorage target,
IStorage other,
IProgressMonitor monitor)
Performs a merge operation on the given storage instances and writes the merge result to the output stream.
|
void |
ISynchronizationContext.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor)
Refresh the portion of the context related to the given resource
mappings.
|
ResourceTraversal[] |
ISynchronizationScopeManager.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor)
Refresh the scope of this manager for the given mappings.
|
void |
ISynchronizationContext.refresh(ResourceTraversal[] traversals,
int flags,
IProgressMonitor monitor)
Refresh the context in order to update the diff tree returned by
ISynchronizationContext.getDiffTree() to include the latest synchronization state for
the resources. |
void |
IMergeContext.reject(IDiff[] diffs,
IProgressMonitor monitor)
Reject the changes associated with the given diffs.
|
void |
IMergeContext.reject(IDiff diff,
IProgressMonitor monitor)
Reject the change associated with the given diff.
|
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 |
---|---|
protected void |
MergeContext.ensureParentsExist(IResource resource,
IProgressMonitor monitor)
Ensure that the parent folders of the given resource exist.
|
static ResourceMapping[] |
SynchronizationScopeManager.getMappingsFromProviders(ResourceTraversal[] traversals,
ResourceMappingContext context,
IProgressMonitor monitor)
Convenience method for obtaining the set of resource
mappings from all model providers that overlap
with the given resources.
|
void |
SynchronizationScopeManager.initialize(IProgressMonitor monitor) |
protected abstract void |
MergeContext.makeInSync(IDiff diff,
IProgressMonitor monitor)
Method that is invoked from
MergeContext.performReplace(IDiff, IProgressMonitor) after the local has been
changed to match the remote. |
void |
MergeContext.markAsMerged(IDiff[] nodes,
boolean inSyncHint,
IProgressMonitor monitor) |
IStatus |
MergeContext.merge(IDiff[] deltas,
boolean force,
IProgressMonitor monitor) |
IStatus |
MergeContext.merge(IDiff diff,
boolean ignoreLocalChanges,
IProgressMonitor monitor) |
protected void |
MergeContext.performReplace(IDiff diff,
IProgressMonitor monitor)
Make the local state of the resource associated with the given diff match
that of the remote.
|
protected IStatus |
MergeContext.performThreeWayMerge(IThreeWayDiff diff,
IProgressMonitor monitor)
Perform a three-way merge on the given three-way diff that contains a content conflict.
|
ResourceTraversal[] |
SynchronizationScopeManager.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor) |
void |
SynchronizationContext.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor)
Refresh the portion of the context related to the given resource
mappings.
|
void |
MergeContext.reject(IDiff[] diffs,
IProgressMonitor monitor) |
void |
MergeContext.run(IWorkspaceRunnable runnable,
ISchedulingRule rule,
int flags,
IProgressMonitor monitor)
|
Modifier and Type | Method and Description |
---|---|
void |
Subscriber.accept(IResource[] resources,
int depth,
IDiffVisitor visitor)
Visit any out-of-sync resources in the given resources visited to the
given depth.
|
void |
Subscriber.accept(ResourceTraversal[] traversals,
IDiffVisitor visitor)
Visit any out-of-sync resources covered by the given traversals.
|
boolean |
SubscriberResourceMappingContext.contentDiffers(IFile file,
IProgressMonitor monitor) |
IStorage |
SubscriberResourceMappingContext.fetchBaseContents(IFile file,
IProgressMonitor monitor) |
IResource[] |
SubscriberResourceMappingContext.fetchMembers(IContainer container,
IProgressMonitor monitor) |
IStorage |
SubscriberResourceMappingContext.fetchRemoteContents(IFile file,
IProgressMonitor monitor) |
IDiff |
Subscriber.getDiff(IResource resource)
Returns synchronization info, in the form of an
IDiff for the
given resource, or null if there is no synchronization
info because the subscriber does not apply to this resource or the resource
is in-sync. |
int |
Subscriber.getState(ResourceMapping mapping,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the given resource mapping.
|
protected SyncInfo |
SubscriberMergeContext.getSyncInfo(IResource resource)
Return the sync info for the given resource.
|
boolean |
SubscriberResourceMappingContext.hasLocalChange(IResource resource,
IProgressMonitor monitor) |
boolean |
SubscriberResourceMappingContext.hasRemoteChange(IResource resource,
IProgressMonitor monitor) |
void |
SubscriberScopeManager.initialize(IProgressMonitor monitor) |
ResourceTraversal[] |
SubscriberScopeManager.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor) |
void |
SubscriberMergeContext.refresh(ResourceTraversal[] traversals,
int flags,
IProgressMonitor monitor) |
void |
SubscriberResourceMappingContext.refresh(ResourceTraversal[] traversals,
int flags,
IProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
static IScmUrlImportWizardPage[] |
TeamUI.getPages(String importerId)
Return a set of wizard pages for the given importer ID.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HistoryPageCompareEditorInput.performReplace(Object selectedObject)
A replace has been requested.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SynchronizationContentProvider.handleException(CoreException e)
Handle the given exception that occurred while calculating the
children for an element.
|
Modifier and Type | Method and Description |
---|---|
IPreferencePage |
ITeamContentProviderDescriptor.createPreferencePage()
Return a preference page that can be displayed to configure
the content provider of this extension.
|
void |
SaveableComparison.doSave(IProgressMonitor monitor)
Saves the contents of this saveable.
|
int |
SynchronizationStateTester.getState(Object element,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the given element.
|
ITeamStateDescription |
ITeamStateProvider.getStateDescription(Object element,
int stateMask,
String[] properties,
IProgressMonitor monitor)
Return the state description for the given element.
|
int |
SynchronizationCompareAdapter.getSynchronizationState(ITeamStateProvider provider,
ResourceMapping mapping,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the resource mapping with respect to
the given team state provider.
|
int |
ISynchronizationCompareAdapter.getSynchronizationState(ITeamStateProvider provider,
ResourceMapping mapping,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the resource mapping with respect to
the given team state provider.
|
boolean |
ITeamStateProvider.hasDecoratedState(Object element)
Return whether the given element has any decorated state.
|
protected abstract void |
SaveableComparison.performSave(IProgressMonitor monitor)
Method invoked from
SaveableComparison.doSave(IProgressMonitor) to write
out the buffer. |
void |
ISynchronizationCompareInput.prepareInput(CompareConfiguration configuration,
IProgressMonitor monitor)
Prepare the compare input associated with a model element for display using
the compare configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ModelSynchronizeParticipant.checkForBufferChange(Shell shell,
ISynchronizationCompareInput input,
boolean cancelAllowed,
IProgressMonitor monitor)
Convenience method for switching the active saveable of this participant
to the saveable of the given input.
|
protected void |
ModelParticipantMergeOperation.executeMerge(IProgressMonitor monitor) |
protected void |
ModelMergeOperation.executeMerge(IProgressMonitor monitor)
Perform a merge.
|
ITeamStateDescription |
SubscriberTeamStateProvider.getStateDescription(Object element,
int stateMask,
String[] properties,
IProgressMonitor monitor) |
protected int |
SubscriberTeamStateProvider.getSynchronizationState(Object element,
int stateMask,
IProgressMonitor monitor)
Obtain the synchronization state of the element.
|
static void |
ModelParticipantAction.handleTargetSaveableChange(Shell shell,
SaveableComparison targetSaveable,
SaveableComparison activeSaveable,
boolean allowCancel,
IProgressMonitor monitor)
Convenience method that prompts if the currently active saveable is dirty
and either saves or reverts the saveable depending on the users input.
|
boolean |
SubscriberTeamStateProvider.hasDecoratedState(Object element) |
protected void |
ModelParticipantMergeOperation.initializeContext(IProgressMonitor monitor) |
protected abstract void |
ModelMergeOperation.initializeContext(IProgressMonitor monitor)
Initialize the merge context for this merge operation.
|
protected IStatus |
ModelMergeOperation.performMerge(IProgressMonitor monitor)
Attempt a headless merge of the elements in the context of this
operation.
|
protected IStatus |
ModelMergeOperation.performMerge(ModelProvider provider,
IProgressMonitor monitor)
Attempt to merge all the mappings that come from the given provider.
|
protected MergeContext |
ModelSynchronizeParticipant.restoreContext(ISynchronizationScopeManager manager)
Recreate the context for this participant.
|
void |
ParticipantPageCompareEditorInput.saveChanges(IProgressMonitor monitor) |
void |
AbstractSynchronizeParticipant.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
protected void |
AbstractSynchronizeParticipant.setInitializationData(ISynchronizeParticipantDescriptor descriptor) |
Modifier and Type | Class and Description |
---|---|
class |
MultiPartInitException
A checked exception indicating one or more workbench parts could not be
initialized correctly.
|
class |
PartInitException
A checked exception indicating a workbench part cannot be initialized
correctly.
|
class |
WorkbenchException
A checked exception indicating a recoverable error occured internal to the
workbench.
|
Modifier and Type | Method and Description |
---|---|
Object |
ExtensionFactory.create()
Creates the object referenced by the factory id obtained from the
extension data.
|
abstract void |
Saveable.doSave(IProgressMonitor monitor)
Saves the contents of this saveable.
|
IJobRunnable |
Saveable.doSave(IProgressMonitor monitor,
IShellProvider shellProvider)
Saves this saveable, or prepares this saveable for a background save
operation.
|
IStorage |
IStorageEditorInput.getStorage()
Returns the underlying IStorage object.
|
void |
IDecoratorManager.setEnabled(String decoratorId,
boolean enabled)
Sets whether the specified decorator is enabled.
|
void |
ExtensionFactory.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
Modifier and Type | Method and Description |
---|---|
protected void |
MoveFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Deprecated.
As of 3.3, the work is performed in the undoable operation
created in
MoveFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath) |
protected void |
CopyFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Deprecated.
As of 3.3, the work is performed in the undoable operation
created in
CopyFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath) |
protected IProjectDescription |
CopyProjectAction.createDescription(IProject project,
String projectName,
IPath rootLocation)
Create a new IProjectDescription for the copy using the name and path
selected from the dialog.
|
protected void |
WorkspaceModifyDelegatingOperation.execute(IProgressMonitor monitor) |
protected abstract void |
WorkspaceModifyOperation.execute(IProgressMonitor monitor)
Performs the steps that are to be treated as a single logical workspace
change.
|
protected void |
ScrubLocalAction.invokeOperation(IResource resource,
IProgressMonitor monitor)
Deprecated.
|
protected void |
OpenResourceAction.invokeOperation(IResource resource,
IProgressMonitor monitor) |
protected void |
WorkspaceAction.invokeOperation(IResource resource,
IProgressMonitor monitor)
Deprecated.
Since 3.3, subclasses should instead implement the method
WorkspaceAction.createOperation(IStatus[]) and provide an empty implementation
for this method.
|
protected void |
CloseResourceAction.invokeOperation(IResource resource,
IProgressMonitor monitor) |
protected void |
RefreshAction.refreshResource(IResource resource,
IProgressMonitor monitor)
Refresh the resource (with a check for deleted projects).
|
Modifier and Type | Method and Description |
---|---|
Object |
CheatSheetExtensionFactory.create() |
void |
CheatSheetExtensionFactory.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
Modifier and Type | Method and Description |
---|---|
protected void |
WizardNewFileCreationPage.createFile(IFile fileHandle,
InputStream contents,
IProgressMonitor monitor)
Deprecated.
As of 3.3, use or override
WizardNewFileCreationPage.createNewFile() which
uses the undoable operation support. To supply customized
file content for a subclass, use
WizardNewFileCreationPage.getInitialContents() . |
protected void |
WizardNewFolderMainPage.createFolder(IFolder folderHandle,
IProgressMonitor monitor)
Deprecated.
As of 3.3, use
WizardNewFolderMainPage.createNewFolder() which uses the
undoable operation support. |
protected abstract void |
FilteredItemsSelectionDialog.fillContentProvider(FilteredItemsSelectionDialog.AbstractContentProvider contentProvider,
FilteredItemsSelectionDialog.ItemsFilter itemsFilter,
IProgressMonitor progressMonitor)
Fills the content provider with matching items.
|
protected void |
FilteredResourcesSelectionDialog.fillContentProvider(FilteredItemsSelectionDialog.AbstractContentProvider contentProvider,
FilteredItemsSelectionDialog.ItemsFilter itemsFilter,
IProgressMonitor progressMonitor) |
IContainer |
ContainerGenerator.generateContainer(IProgressMonitor monitor)
Ensures that this generator's container resource exists.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StorageDocumentProvider.handleCoreException(CoreException exception,
String message)
Defines the standard procedure to handle
CoreExceptions . |
protected void |
TextFileDocumentProvider.handleCoreException(CoreException exception,
String message)
Defines the standard procedure to handle
CoreExceptions . |
boolean |
StorageDocumentProvider.isNotSynchronizedException(Object element,
CoreException ex) |
boolean |
TextFileDocumentProvider.isNotSynchronizedException(Object element,
CoreException ex) |
boolean |
TextFileDocumentProvider.NullProvider.isNotSynchronizedException(Object element,
CoreException ex)
Deprecated.
|
boolean |
ForwardingDocumentProvider.isNotSynchronizedException(Object element,
CoreException ex) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileDocumentProvider.cacheEncodingState(Object element)
Internally caches the file's encoding data.
|
protected void |
FileDocumentProvider.checkSynchronizationState(long cachedModificationStamp,
IResource resource)
Checks whether the given resource has been changed on the
local file system by comparing the actual time stamp with the
cached one.
|
protected void |
TextFileDocumentProvider.commitFileBuffer(IProgressMonitor monitor,
TextFileDocumentProvider.FileInfo info,
boolean overwrite)
Commits the given file info's file buffer by changing the contents
of the underlying file to the contents of this file buffer.
|
void |
TextFileDocumentProvider.connect(Object element) |
void |
TextFileDocumentProvider.NullProvider.connect(Object element)
Deprecated.
|
void |
ForwardingDocumentProvider.connect(Object element) |
protected IAnnotationModel |
StorageDocumentProvider.createAnnotationModel(Object element) |
protected IAnnotationModel |
FileDocumentProvider.createAnnotationModel(Object element) |
protected IDocument |
StorageDocumentProvider.createDocument(Object element) |
protected AbstractDocumentProvider.ElementInfo |
StorageDocumentProvider.createElementInfo(Object element) |
protected AbstractDocumentProvider.ElementInfo |
FileDocumentProvider.createElementInfo(Object element) |
protected void |
TextFileDocumentProvider.createFileFromDocument(IProgressMonitor monitor,
IFile file,
IDocument document)
Creates the given file with the given document content.
|
protected TextFileDocumentProvider.FileInfo |
TextFileDocumentProvider.createFileInfo(Object element)
Creates and returns the file info object
for the given element.
|
protected TextFileDocumentProvider.DocumentProviderOperation |
TextFileDocumentProvider.createSaveOperation(Object element,
IDocument document,
boolean overwrite) |
protected void |
FileDocumentProvider.doResetDocument(Object element,
IProgressMonitor monitor) |
protected void |
StorageDocumentProvider.doSaveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite) |
protected void |
FileDocumentProvider.doSaveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite) |
protected void |
TextEditor.doSetInput(IEditorInput input) |
protected void |
FileDocumentProvider.doSynchronize(Object element,
IProgressMonitor monitor) |
protected void |
StorageDocumentProvider.doUpdateStateCache(Object element) |
protected void |
FileDocumentProvider.doValidateState(Object element,
Object computationContext) |
protected abstract void |
TextFileDocumentProvider.DocumentProviderOperation.execute(IProgressMonitor monitor)
The actual functionality of this operation.
|
protected void |
TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.DocumentProviderOperation operation,
IProgressMonitor monitor)
Executes the given operation in the providers runnable context.
|
IContentType |
StorageDocumentProvider.getContentType(Object element) |
IContentType |
TextFileDocumentProvider.getContentType(Object element) |
IContentType |
TextFileDocumentProvider.NullProvider.getContentType(Object element)
Deprecated.
|
IContentType |
ForwardingDocumentProvider.getContentType(Object element) |
IContentType |
FileDocumentProvider.getContentType(Object element) |
protected void |
StorageDocumentProvider.persistEncoding(Object element,
String encoding)
Persists the given encoding for the given element.
|
protected void |
FileDocumentProvider.persistEncoding(Object element,
String encoding)
Persists the given encoding for the given element.
|
protected void |
FileDocumentProvider.readUTF8BOM(IFile file,
String encoding,
Object element)
Deprecated.
as of 3.0 this method is no longer in use and does nothing
|
protected void |
FileDocumentProvider.refreshFile(IFile file)
Refreshes the given file resource.
|
protected void |
FileDocumentProvider.refreshFile(IFile file,
IProgressMonitor monitor)
Refreshes the given file resource.
|
void |
TextFileDocumentProvider.resetDocument(Object element) |
void |
TextFileDocumentProvider.NullProvider.resetDocument(Object element)
Deprecated.
|
void |
ForwardingDocumentProvider.resetDocument(Object element) |
void |
TextFileDocumentProvider.saveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite) |
void |
TextFileDocumentProvider.NullProvider.saveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite)
Deprecated.
|
void |
ForwardingDocumentProvider.saveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite) |
protected boolean |
StorageDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput)
Deprecated.
use the encoding based version instead
|
protected boolean |
FileDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput)
Deprecated.
use file encoding based version
|
protected boolean |
StorageDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput,
String encoding)
Initializes the given document from the given editor input using the given character encoding.
|
protected boolean |
FileDocumentProvider.setDocumentContent(IDocument document,
IEditorInput editorInput,
String encoding) |
protected void |
StorageDocumentProvider.setDocumentContent(IDocument document,
InputStream contentStream)
Deprecated.
use encoding based version instead
|
protected void |
StorageDocumentProvider.setDocumentContent(IDocument document,
InputStream contentStream,
String encoding)
Initializes the given document with the given stream using the given encoding.
|
void |
TextFileDocumentProvider.synchronize(Object element) |
void |
TextFileDocumentProvider.NullProvider.synchronize(Object element)
Deprecated.
|
void |
ForwardingDocumentProvider.synchronize(Object element) |
protected void |
StorageDocumentProvider.updateCache(IStorageEditorInput input)
Updates the internal cache for the given input.
|
void |
TextFileDocumentProvider.updateStateCache(Object element) |
void |
TextFileDocumentProvider.NullProvider.updateStateCache(Object element)
Deprecated.
|
void |
ForwardingDocumentProvider.updateStateCache(Object element) |
void |
TextFileDocumentProvider.validateState(Object element,
Object computationContext) |
void |
TextFileDocumentProvider.NullProvider.validateState(Object element,
Object computationContext)
Deprecated.
|
void |
ForwardingDocumentProvider.validateState(Object element,
Object computationContext) |
boolean |
FileDocumentProvider.FileSynchronizer.visit(IResourceDelta delta) |
Modifier and Type | Method and Description |
---|---|
protected void |
CopyResourcesOperation.copy(IProgressMonitor monitor,
IAdaptable uiInfo)
Move or copy any known resources according to the destination parameters
known by this operation.
|
abstract void |
ResourceDescription.createExistentResourceFromHandle(IResource resource,
IProgressMonitor monitor)
Given a resource handle, create an actual resource with the attributes of
the receiver resource description.
|
abstract IResource |
ResourceDescription.createResource(IProgressMonitor monitor)
Create an existent resource from this resource description.
|
protected void |
MoveResourcesOperation.doExecute(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
DeleteMarkersOperation.doExecute(IProgressMonitor monitor,
IAdaptable info) |
protected abstract void |
AbstractWorkspaceOperation.doExecute(IProgressMonitor monitor,
IAdaptable uiInfo)
Perform the specific work involved in executing this operation.
|
protected void |
CopyResourcesOperation.doExecute(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
DeleteResourcesOperation.doExecute(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
MoveProjectOperation.doExecute(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
CreateMarkersOperation.doExecute(IProgressMonitor monitor,
IAdaptable info) |
protected void |
UpdateMarkersOperation.doExecute(IProgressMonitor monitor,
IAdaptable info) |
protected void |
CopyProjectOperation.doExecute(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
MoveResourcesOperation.doUndo(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
DeleteMarkersOperation.doUndo(IProgressMonitor monitor,
IAdaptable info) |
protected abstract void |
AbstractWorkspaceOperation.doUndo(IProgressMonitor monitor,
IAdaptable uiInfo)
Perform the specific work involved in undoing this operation.
|
protected void |
CopyResourcesOperation.doUndo(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
DeleteResourcesOperation.doUndo(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
MoveProjectOperation.doUndo(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
CreateMarkersOperation.doUndo(IProgressMonitor monitor,
IAdaptable info) |
protected void |
UpdateMarkersOperation.doUndo(IProgressMonitor monitor,
IAdaptable info) |
protected void |
CopyProjectOperation.doUndo(IProgressMonitor monitor,
IAdaptable uiInfo) |
protected void |
MoveResourcesOperation.move(IProgressMonitor monitor,
IAdaptable uiInfo)
Move any known resources according to the destination parameters known by
this operation.
|
abstract void |
ResourceDescription.recordStateFromHistory(IResource resource,
IProgressMonitor monitor)
Record the appropriate state of this resource description using
any available resource history.
|
Modifier and Type | Method and Description |
---|---|
Object |
ExtensionFactory.create() |
void |
ExtensionFactory.setInitializationData(IConfigurationElement config,
String propertyName,
Object data) |
Modifier and Type | Method and Description |
---|---|
void |
ExtensionContributionFactory.setInitializationData(IConfigurationElement config,
String propertyName,
Object data)
Clients who wish to implement their own
IExecutableExtension
behaviour must invoke this method prior to any
customization they perform. |
Modifier and Type | Method and Description |
---|---|
protected static IDropActionDelegate |
PluginDropAdapter.getPluginAdapter(PluginTransferData data)
Loads the class that will perform the action associated with the given drop
data.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractUIPlugin.shutdown()
Deprecated.
In Eclipse 3.0,
shutdown has been replaced by Plugin.stop(BundleContext context) .
Implementations of shutdown should be changed to extend
stop(BundleContext context) and call super.stop(context)
instead of super.shutdown() . Unlike super.shutdown() ,
super.stop(context) must be called as the very last thing rather
than as the very first thing. The shutdown method is called
only for plug-ins which explicitly require the
org.eclipse.core.runtime.compatibility plug-in;
in contrast, the stop method is always called. |
void |
AbstractUIPlugin.startup()
Deprecated.
In Eclipse 3.0,
startup has been replaced by Plugin.start(BundleContext context) .
Implementations of startup should be changed to extend
start(BundleContext context) and call super.start(context)
instead of super.startup() . Like super.startup() ,
super.stop(context) must be called as the very first thing.
The startup method is called only for plug-ins which explicitly require the
org.eclipse.core.runtime.compatibility plug-in; in contrast,
the start method is always called. |
Modifier and Type | Method and Description |
---|---|
void |
StatusManager.handle(CoreException coreException,
String pluginId)
Handles given CoreException.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidateStateException
Deprecated.
No longer used, create a
CoreException instead |
Modifier and Type | Method and Description |
---|---|
protected void |
MarkerRulerAction.handleCoreException(CoreException exception,
String message)
Handles core exceptions.
|
protected void |
AbstractMarkerAnnotationModel.handleCoreException(CoreException exception,
String message)
Handles an unanticipated
CoreException in
a standard manner. |
protected void |
SelectMarkerRulerAction.handleCoreException(CoreException exception,
String message)
Handles core exceptions.
|
protected void |
AbstractTextEditor.handleExceptionOnSave(CoreException exception,
IProgressMonitor progressMonitor)
Handles the given exception.
|
boolean |
AbstractDocumentProvider.isNotSynchronizedException(Object element,
CoreException ex) |
boolean |
IDocumentProviderExtension5.isNotSynchronizedException(Object element,
CoreException ex)
Tells whether the given core exception is exactly the
exception which is thrown for a non-synchronized element.
|
protected void |
AbstractTextEditor.openSaveErrorDialog(String title,
String message,
CoreException exception)
Presents an error dialog to the user when a problem
happens during save.
|
protected void |
AbstractDecoratedTextEditor.openSaveErrorDialog(String title,
String message,
CoreException exception)
Presents an error dialog to the user when a problem happens during save.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMarkerAnnotationModel.commit(IDocument document) |
void |
AbstractDocumentProvider.connect(Object element) |
void |
IDocumentProvider.connect(Object element)
Connects the given element to this document provider.
|
protected abstract IAnnotationModel |
AbstractDocumentProvider.createAnnotationModel(Object element)
Creates an annotation model for the given element.
|
protected abstract IDocument |
AbstractDocumentProvider.createDocument(Object element)
Creates the document for the given element.
|
protected AbstractDocumentProvider.ElementInfo |
AbstractDocumentProvider.createElementInfo(Object element)
Creates a new element info object for the given element.
|
AbstractHyperlinkDetector |
HyperlinkDetectorDescriptor.createHyperlinkDetector()
Deprecated.
As of 3.9, replaced by
HyperlinkDetectorDescriptor.createHyperlinkDetectorImplementation() |
IHyperlinkDetector |
HyperlinkDetectorDescriptor.createHyperlinkDetectorImplementation()
Creates a new
IHyperlinkDetector . |
static void |
MarkerUtilities.createMarker(IResource resource,
Map attributes,
String markerType)
Creates a marker on the given resource with the given type and attributes.
|
protected abstract void |
AbstractMarkerAnnotationModel.deleteMarkers(IMarker[] markers)
Deletes the given markers from this model.
|
protected void |
ResourceMarkerAnnotationModel.deleteMarkers(IMarker[] markers) |
protected void |
AbstractDocumentProvider.doResetDocument(Object element,
IProgressMonitor monitor)
Executes the actual work of reseting the given elements document.
|
void |
AbstractTextEditor.TextEditorSavable.doSave(IProgressMonitor monitor) |
protected abstract void |
AbstractDocumentProvider.doSaveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite)
Performs the actual work of saving the given document provided for the
given element.
|
protected void |
StatusTextEditor.doSetInput(IEditorInput input) |
protected void |
AbstractTextEditor.doSetInput(IEditorInput input)
Called directly from
setInput and from within a workspace
runnable from init , this method does the actual setting
of the editor input. |
protected void |
AbstractDecoratedTextEditor.doSetInput(IEditorInput input) |
protected void |
AbstractDocumentProvider.doSynchronize(Object element,
IProgressMonitor monitor)
Performs the actual work of synchronizing the given element.
|
protected void |
AbstractDocumentProvider.doUpdateStateCache(Object element)
Hook method for updating the state of the given element.
|
protected void |
AbstractDocumentProvider.doValidateState(Object element,
Object computationContext)
Hook method for validating the state of the given element.
|
protected abstract void |
AbstractDocumentProvider.DocumentProviderOperation.execute(IProgressMonitor monitor)
The actual functionality of this operation.
|
protected void |
AbstractDocumentProvider.executeOperation(AbstractDocumentProvider.DocumentProviderOperation operation,
IProgressMonitor monitor)
Executes the given operation in the providers runnable context.
|
IContentType |
AbstractDocumentProvider.getContentType(Object element) |
IContentType |
IDocumentProviderExtension4.getContentType(Object element)
Returns the content type of for the given element or
null if none could be determined. |
void |
AbstractDocumentProvider.resetDocument(Object element) |
void |
IDocumentProvider.resetDocument(Object element)
Resets the given element's document to its last saved state.
|
protected abstract IMarker[] |
AbstractMarkerAnnotationModel.retrieveMarkers()
Retrieves all markers from this model.
|
protected IMarker[] |
ResourceMarkerAnnotationModel.retrieveMarkers() |
void |
AbstractDocumentProvider.saveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite) |
void |
IDocumentProvider.saveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite)
Saves the given document provided for the given element.
|
void |
IDocumentProviderExtension.synchronize(Object element)
Synchronizes the document provided for the given element with the
given element.
|
void |
AbstractDocumentProvider.synchronize(Object element) |
boolean |
AbstractMarkerAnnotationModel.updateMarker(IDocument document,
IMarker marker,
Position position)
Updates the given marker according to the given position in the given
document.
|
boolean |
AbstractMarkerAnnotationModel.updateMarker(IMarker marker,
IDocument document,
Position position)
Deprecated.
use
updateMarker(IDocument, IMarker, Position) instead. This method will be changed to protected. |
void |
AbstractMarkerAnnotationModel.updateMarkers(IDocument document)
Updates the markers managed by this annotation model by calling
all registered marker updaters (
IMarkerUpdater ). |
void |
IDocumentProviderExtension.updateStateCache(Object element)
Updates the state cache for the given element.
|
void |
AbstractDocumentProvider.updateStateCache(Object element) |
void |
IDocumentProviderExtension.validateState(Object element,
Object computationContext)
Validates the state of the given element.
|
void |
AbstractDocumentProvider.validateState(Object element,
Object computationContext) |
Modifier and Type | Method and Description |
---|---|
IDocument |
IQuickDiffReferenceProvider.getReference(IProgressMonitor monitor)
Returns the reference document for the quick diff display.
|
Modifier and Type | Method and Description |
---|---|
IContributedRulerColumn |
RulerColumnDescriptor.createColumn(ITextEditor editor)
Creates a
IContributedRulerColumn instance as described by the receiver. |
Modifier and Type | Method and Description |
---|---|
ISpellingEngine |
SpellingEngineDescriptor.createEngine()
Creates a spelling engine as described in the extension's xml.
|
ISpellingPreferenceBlock |
SpellingEngineDescriptor.createPreferences()
Creates a spelling preferences block as described in the extension's xml.
|
Modifier and Type | Method and Description |
---|---|
void |
RGBBlendColorFactory.setInitializationData(IConfigurationElement config,
String propertyName,
Object data)
This executable extension requires parameters to be explicitly declared
via the second method described in the
IExecutableExtension
documentation. |
Modifier and Type | Method and Description |
---|---|
IViewPart |
IViewDescriptor.createView()
Creates an instance of the view defined in the descriptor.
|
Modifier and Type | Method and Description |
---|---|
static String |
MarkerViewUtil.getViewId(IMarker marker)
Returns the id of the view used to show markers of the same type as the
given marker.
|
Modifier and Type | Method and Description |
---|---|
IWorkbenchWizard |
IWizardDescriptor.createWizard()
Create a wizard.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.