Uses of Class
org.eclipse.core.runtime.CoreException
Package
Description
Provides support for running the Ant build tool in the platform.
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Support for compare and merge viewers which show the
content side-by-side.
Provides support for applying and working with patches.
Provides support for finding and displaying the differences
between hierarchically structured data.
Application programming interfaces for the expression language.
Provides the API for accessing file buffers.
Provides the API for manipulating file buffers.
Provides an interface for interacting with a file system.
Provides an API to be extended by a file system implementation.
Provides support for the management of platform level proxy settings.
Provides basic support for managing a workspace and
its resources.
Provides APIs intended to be implemented by the resource filter matchers.
Provides APIs for integrating application models with the workspace
Provides support for the runtime platform, core utility methods and the extension registry.
Provides core support for content types.
Provides core support for Eclipse preferences.
Extension registry infrastructure for service providers
Provides support for defining and contributing variables for the purpose of
string substitution.
Provides support for launching programs, breakpoint management, expression management,
and debug events.
Provides a set of interfaces for common debug commands.
Defines interfaces for debug model elements, source lookup, and launching.
Provides support for source lookup.
Provides implementations of common source containers supporting source lookup.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a set of actions related to running and debugging applications.
Provides classes and interfaces to render memory blocks in the memory view.
Provides a user interface for debug platform source lookup facilities.
Provides core support for interacting with a p2-based provisioning system
Provides the ability to add participants to help search and is responsible
for creating search indices.
Provides the ability to specify the web server to be used by the help system.
Provides an implementation of IWorkbenchWindowActionDelegate
for opening a URL in a browser.
Application programmer interface to implement semantic preserving workspace transformations.
Application programming interface to query refactoring history information from the refactoring infrastructure.
Application programming interface to support logical models.
Application programming interface to participant in existing rename, move and delete refactorings
if the refactoring provider supports participation.
Application programmer interface to implement resource dependend refactorings.
Application programming interface to implement a wizard based user interface for refactorings.
Application programming interface to display and preview refactoring history information.
Application programming interface to provide model integration for refactoring histories.
Classes giving access to the file (text) search functionality.
Provides the base classes to implement a search result view part for searches with textual matches.
Application programming interfaces for defining and working with repository providers.
Application programming interfaces for describing the history associated with
files.
Application programming interfaces for importing projects into the workspace.
Application programming interfaces for working with resource mappings.
Application programming interfaces for working with resource mappings.
Application programming interfaces for generating and refreshing
synchronization state.
Provides basic support for managing Team providers.
Application programming interfaces for working with history.
Application programming interfaces for working with resource mappings.
Contains the team synchronization presentation framework and support
for the Synchronize View.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Provides support for working with cheat sheets.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.APIs for the IDE-specific portion of the Eclipse Platform User Interface.
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
Provides a mechanism to add a preference page to customize welcome.
Provides the public API and default implementation for contributing menu
and toolbars to the menu service.
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
Class hierarchies for plug-ins that integrate with
the Eclipse Platform UI.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
Provides interfaces to for the
org.eclipse.ui.editors.quickDiffReferenceProvider
extension point and adds an action to enable quick diff display for an editor.Provides interfaces and classes for the
org.eclipse.ui.workbench.texteditor.rulerColumns
.Partial infrastructure for spell checking in text editors.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Utility classes for working with markers in views
Application programming interfaces for interaction with and extension of the Eclipse
Platform User Interface wizard support.
-
Uses of CoreException in org.eclipse.ant.core
Modifier and TypeMethodDescriptionAntRunner.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. -
Uses of CoreException in org.eclipse.compare
Modifier and TypeMethodDescriptionvoid
ISharedDocumentAdapter.connect
(IDocumentProvider provider, IEditorInput documentKey) Connect the given element to its document provider.void
SharedDocumentAdapter.connect
(IDocumentProvider provider, IEditorInput documentKey) 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 theIStorage
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.HistoryItem.getCharset()
IEncodedStreamContentAccessor.getCharset()
Returns the name of a charset encoding to be used when decoding this stream accessor's contents into characters.BufferedContent.getContents()
HistoryItem.getContents()
IStreamContentAccessor.getContents()
Returns an openInputStream
for this object which can be used to retrieve the object's content.ResourceNode.getContents()
void
CompareEditorInput.saveChanges
(IProgressMonitor monitor) Saves any unsaved changes.protected void
SharedDocumentAdapter.saveDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite, IProgressMonitor monitor) A helper method to save a document. -
Uses of CoreException in org.eclipse.compare.contentmergeviewer
Modifier and TypeMethodDescriptionvoid
ContentMergeViewer.save
(IProgressMonitor monitor) Deprecated. -
Uses of CoreException in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionstatic void
ExceptionHandler.handle
(CoreException e, String title, String message) Handles the givenCoreException
.static void
ExceptionHandler.handle
(CoreException e, Shell parent, String title, String message) Handles the givenCoreException
.protected void
ExceptionHandler.perform
(CoreException e, Shell shell, String title, String message) Modifier and TypeMethodDescriptionvoid
BufferedResourceNode.commit
(IProgressMonitor pm) static String
Utilities.readString
(IStreamContentAccessor sa) static String
Utilities.readString
(IStreamContentAccessor sca, String encoding) -
Uses of CoreException in org.eclipse.compare.patch
Modifier and TypeMethodDescriptionabstract Reader
ReaderCreator.createReader()
Creates new reader.IFilePatchResult.getCharset()
Returns the name of a charset encoding to be used when decoding the contents of this result into characters.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.static boolean
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. -
Uses of CoreException in org.eclipse.compare.structuremergeviewer
Modifier and TypeMethodDescriptionvoid
SharedDocumentAdapterWrapper.connect
(IDocumentProvider provider, IEditorInput documentKey) IStructureCreator2.createElement
(Object element, Object input, IProgressMonitor monitor) Creates the single node specified by path from the given input object.StructureCreator.createElement
(Object element, Object input, IProgressMonitor monitor) Default implementation ofStructureCreator.createElement(Object, Object, IProgressMonitor)
that usesStructureCreator.getPath(Object, Object)
to determine the path for the element,StructureCreator.createStructure(Object, IProgressMonitor)
to create the structure andStructureCreator.findElement(IStructureComparator, String[])
to find the element in the structure.IStructureCreator2.createStructure
(Object input, IProgressMonitor monitor) Creates a tree structure consisting ofIStructureComparator
s from the given object and returns its root object.StructureCreator.createStructure
(Object element, IProgressMonitor monitor) protected abstract IStructureComparator
StructureCreator.createStructureComparator
(Object element, IDocument document, ISharedDocumentAdapter sharedDocumentAdapter, IProgressMonitor monitor) Creates anIStructureComparator
for the given element using the contents available in the given document.void
SharedDocumentAdapterWrapper.flushDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite) -
Uses of CoreException in org.eclipse.core.expressions
Modifier and TypeMethodDescriptionabstract Expression
ElementHandler.create
(ExpressionConverter converter, IConfigurationElement config) Creates the corresponding expression for the given configuration element.ElementHandler.create
(ExpressionConverter converter, Element element) Creates the corresponding expression for the given DOM element.AndExpression.evaluate
(IEvaluationContext context) CountExpression.evaluate
(IEvaluationContext context) EqualsExpression.evaluate
(IEvaluationContext context) abstract EvaluationResult
Expression.evaluate
(IEvaluationContext context) Evaluates this expression.OrExpression.evaluate
(IEvaluationContext context) ReferenceExpression.evaluate
(IEvaluationContext context) TestExpression.evaluate
(IEvaluationContext context) WithExpression.evaluate
(IEvaluationContext context) protected EvaluationResult
CompositeExpression.evaluateAnd
(IEvaluationContext scope) protected EvaluationResult
CompositeExpression.evaluateOr
(IEvaluationContext scope) IPropertyTester.instantiate()
Loads the implementation class for this property tester and returns an instance of this class.ExpressionConverter.perform
(IConfigurationElement root) Converts the tree of configuration elements represented by the given root element and returns a corresponding expression tree.Converts the tree of DOM elements represented by the given root element and returns a corresponding expression tree.protected void
ElementHandler.processChildren
(ExpressionConverter converter, IConfigurationElement element, CompositeExpression expression) Converts the children of the given configuration element and adds them to the given composite expression.protected void
ElementHandler.processChildren
(ExpressionConverter converter, Element element, CompositeExpression expression) Converts the children of the given DOM element and adds them to the given composite expression.Resolves a variable for the given name and arguments.EvaluationContext.resolveVariable
(String name, Object[] args) IEvaluationContext.resolveVariable
(String name, Object[] args) Resolves a variable for the given name and arguments.ModifierConstructorDescriptionEqualsExpression
(IConfigurationElement element) EqualsExpression
(Element element) ReferenceExpression
(IConfigurationElement element) ReferenceExpression
(Element element) TestExpression
(IConfigurationElement element) TestExpression
(Element element) WithExpression
(IConfigurationElement configElement) WithExpression
(Element element) -
Uses of CoreException in org.eclipse.core.filebuffers
Modifier and TypeMethodDescriptionvoid
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
Transforms the current transient state of the annotation model into a persistent state.void
IFileBufferManager.connect
(IPath location, LocationKind locationKind, IProgressMonitor monitor) Connects the file at the given location to this manager.void
IFileBufferManager.connect
(IPath location, IProgressMonitor monitor) Deprecated.As of 3.3, replaced byIFileBufferManager.connect(IPath, LocationKind, IProgressMonitor)
void
IFileBufferManager.connectFileStore
(IFileStore fileStore, IProgressMonitor monitor) Connects the given file store to this manager.void
IFileBufferManager.disconnect
(IPath location, LocationKind locationKind, IProgressMonitor monitor) Disconnects the file at the given location from this manager.void
IFileBufferManager.disconnect
(IPath location, IProgressMonitor monitor) Deprecated.As of 3.3, replaced byIFileBufferManager.disconnect(IPath, LocationKind, IProgressMonitor)
void
IFileBufferManager.disconnectFileStore
(IFileStore fileStore, IProgressMonitor monitor) Disconnects the given file store from this manager.IFileBuffer.getContentType()
Returns the content type of this file buffer ornull
if none could be determined.void
IPersistableAnnotationModel.reinitialize
(IDocument document) Forces this annotation model to re-initialize from the persistent state.void
IFileBuffer.revert
(IProgressMonitor monitor) Reverts the contents of this file buffer to the content of its underlying file.void
Changes the current transient state of the annotation model to match the last persisted state.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.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. -
Uses of CoreException in org.eclipse.core.filebuffers.manipulation
Modifier and TypeMethodDescriptionprotected void
FileBufferOperationRunner.commit
(IFileBuffer[] fileBuffers, IProgressMonitor progressMonitor) protected void
GenericFileBufferOperationRunner.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.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) -
Uses of CoreException in org.eclipse.core.filesystem
Modifier and TypeMethodDescriptionIFileStore.childInfos
(int options, IProgressMonitor monitor) Returns anIFileInfo
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.childStores
(int options, IProgressMonitor monitor) Returns anIFileStore
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.IFileSystem.fetchFileTree
(IFileStore root, IProgressMonitor monitor) Returns a file tree containing information about the complete sub-tree rooted at the given store.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
Returns the file store corresponding to the provided URI.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.IFileStore.openInputStream
(int options, IProgressMonitor monitor) Returns an open input stream on the contents of this file.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.default byte[]
IFileStore.readAllBytes
(int options, IProgressMonitor monitor) Returns the bytes contents of this file.IFileStore.toLocalFile
(int options, IProgressMonitor monitor) Returns a file in the local file system with the same state as this file.default void
IFileStore.write
(byte[] content, int options, IProgressMonitor monitor) Writes the contents to this file. -
Uses of CoreException in org.eclipse.core.filesystem.provider
Modifier and TypeMethodDescriptionFileStore.childInfos
(int options, IProgressMonitor monitor) The default implementation ofIFileStore.childInfos(int, IProgressMonitor)
.abstract String[]
FileStore.childNames
(int options, IProgressMonitor monitor) FileStore.childStores
(int options, IProgressMonitor monitor) The default implementation ofIFileStore.childStores(int, IProgressMonitor)
.void
FileStore.copy
(IFileStore destination, int options, IProgressMonitor monitor) The default implementation ofIFileStore.copy(IFileStore, int, IProgressMonitor)
.protected void
FileStore.copyDirectory
(IFileInfo sourceInfo, IFileStore destination, int options, IProgressMonitor monitor) Recursively copies a directory as specified byIFileStore.copy(IFileStore, int, IProgressMonitor)
.protected void
FileStore.copyFile
(IFileInfo sourceInfo, IFileStore destination, int options, IProgressMonitor monitor) Copies a file as specified byIFileStore.copy(IFileStore, int, IProgressMonitor)
.void
FileStore.delete
(int options, IProgressMonitor monitor) The default implementation ofIFileStore.delete(int, IProgressMonitor)
.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) FileStore.mkdir
(int options, IProgressMonitor monitor) The default implementation ofIFileStore.mkdir(int, IProgressMonitor)
.void
FileStore.move
(IFileStore destination, int options, IProgressMonitor monitor) The default implementation ofIFileStore.move(IFileStore, int, IProgressMonitor)
.abstract InputStream
FileStore.openInputStream
(int options, IProgressMonitor monitor) FileStore.openOutputStream
(int options, IProgressMonitor monitor) The default implementation ofIFileStore.openOutputStream(int, IProgressMonitor)
.void
FileStore.putInfo
(IFileInfo info, int options, IProgressMonitor monitor) The default implementation ofIFileStore.putInfo(IFileInfo, int, IProgressMonitor)
.FileStore.toLocalFile
(int options, IProgressMonitor monitor) The default implementation ofIFileStore.toLocalFile(int, IProgressMonitor)
. -
Uses of CoreException in org.eclipse.core.net.proxy
Modifier and TypeMethodDescriptionvoid
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. -
Uses of CoreException in org.eclipse.core.resources
Modifier and TypeMethodDescriptionvoid
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
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
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.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.IWorkspace.addSaveParticipant
(Plugin plugin, ISaveParticipant participant) Deprecated.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.protected abstract IProject[]
IncrementalProjectBuilder.build
(int kind, Map<String, String> args, IProgressMonitor monitor) Runs this builder in the specified manner.void
Invokes thebuild
method of the specified builder for this project.void
IProject.build
(int kind, IProgressMonitor monitor) Builds this project.void
IProject.build
(IBuildConfiguration config, int kind, IProgressMonitor monitor) Builds a specific build configuration of this project.void
IWorkspace.build
(int kind, IProgressMonitor monitor) Builds all projects in this workspace.void
IWorkspace.build
(IBuildConfiguration[] buildConfigs, int kind, boolean buildReferences, IProgressMonitor monitor) Build the build configurations specified in the passed in build configuration array.void
IIncrementalProjectBuilder2.clean
(Map<String, String> args, IProgressMonitor monitor) Clean is an opportunity for a builder to discard any additional state that has been computed as a result of previous builds.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.IPathVariableManager.convertToRelative
(URI path, boolean force, String variableHint) Converts an absolute path to path relative to some defined variable.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.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.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.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.default void
IFile.create
(byte[] content, boolean force, boolean derived, IProgressMonitor monitor) Creates the file with the given content as byte array.default void
IFile.create
(byte[] content, int createFlags, IProgressMonitor monitor) Creates the file with the given content as byte array.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
(boolean force, boolean local, IProgressMonitor monitor) Creates a new folder 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
(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.void
IProject.create
(IProgressMonitor monitor) Creates a new project resource in the workspace with files in the default location in the local file system.IContainer.createFilter
(int type, FileInfoMatcherDescription matcherDescription, int updateFlags, IProgressMonitor monitor) Adds a new filter to this container.void
IFile.createLink
(URI location, int updateFlags, IProgressMonitor monitor) Creates a new file resource as a member of this handle's parent resource.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
(URI location, int updateFlags, IProgressMonitor monitor) Creates a new folder 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.IResource.createMarker
(String type) Creates and returns the marker with the specified type on this resource.default IMarker
IResource.createMarker
(String type, Map<String, ? extends Object> attributes) Creates and returns the marker with the specified type on this resource.void
IProjectNature.deconfigure()
De-configures this nature for its project.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
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
IResource.delete
(boolean force, IProgressMonitor monitor) Deletes this resource from the workspace.void
IResource.delete
(int updateFlags, IProgressMonitor monitor) Deletes this resource from the workspace.void
IResourceFilterDescription.delete
(int updateFlags, IProgressMonitor monitor) Deletes this filter description from its associated resource.IWorkspace.delete
(IResource[] resources, boolean force, IProgressMonitor monitor) Deletes the given resources.IWorkspace.delete
(IResource[] resources, int updateFlags, IProgressMonitor monitor) Deletes the given resources.void
IWorkspaceRoot.delete
(boolean deleteContent, boolean force, IProgressMonitor monitor) Deletes everything in the workspace except the workspace root resource itself.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.void
IWorkspace.deleteMarkers
(IMarker[] markers) Removes the given markers from the resources with which they are associated.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.IResource.findMarker
(long id) Returns the marker with the specified id on this resource, Returnsnull
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 theIMarker.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.IProject.getActiveBuildConfig()
Returns the active build configuration for the project.IMarker.getAttribute
(String attributeName) Returns the attribute with the given name.IMarker.getAttributes()
Returns a map with all the attributes for the marker.Object[]
IMarker.getAttributes
(String[] attributeNames) Returns the attributes with the given names.IProject.getBuildConfig
(String configName) Returns the projectIBuildConfiguration
with the given name for this project.IProject.getBuildConfigs()
Returns the build configurations for this project.IEncodedStorage.getCharset()
Returns the name of a charset encoding to be used when decoding this storage's contents into characters.IFile.getCharset()
Returns the name of a charset to be used when decoding the contents of this file into characters.IFile.getCharset
(boolean checkImplicit) Returns the name of a charset to be used when decoding the contents of this file into characters.IFile.getCharsetFor
(Reader reader) Returns the name of a charset to be used to encode the given contents when saving to this file.IFile.getContentDescription()
Returns a description for this file's current contents.IFile.getContents()
Returns an open input stream on the contents of this file.IFile.getContents
(boolean force) This refinement of the correspondingIStorage
method returns an open input stream on the contents of this file.IFileState.getContents()
Returns an open input stream on the contents of this file state.IStorage.getContents()
Returns an open input stream on the contents of this storage.IProject.getContentTypeMatcher()
Returns this project's content type matcher.long
IMarker.getCreationTime()
Returns the time at which this marker was created.IContainer.getDefaultCharset()
Returns the default charset for resources in this container.IContainer.getDefaultCharset
(boolean checkImplicit) Returns the default charset for resources in this container.IProject.getDefaultLineSeparator()
Returns line separator appropriate for new files in the given project.IDynamicReferenceProvider.getDependentProjects
(IBuildConfiguration buildConfiguration) Returns the set of projects which the given project depends upon.IProject.getDescription()
Returns the description for this project.int
IFile.getEncoding()
Deprecated.useIFile.getCharset()
insteadIContainer.getFilters()
Retrieve all filters on this container.IFile.getHistory
(IProgressMonitor monitor) Returns a list of past states of this file known to this workspace.default String
IFile.getLineSeparator
(boolean checkParent) Returns line separator appropriate for the given file.Returns the specified project nature for this project ornull
if the project nature has not been added to this project.IResource.getPersistentProperties()
Returns a copy of the map of this resource's persistent properties.IResource.getPersistentProperty
(QualifiedName key) Returns the value of the persistent property of this resource identified by the given key, ornull
if this resource has no such property.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.IResource.getSessionProperties()
Returns a copy of the map of this resource's session properties.IResource.getSessionProperty
(QualifiedName key) Returns the value of the session property of this resource identified by the given key, ornull
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.IMarker.getType()
Returns the type of this marker.boolean
IProject.hasBuildConfig
(String configName) Checks whether the project has the specified build configuration.boolean
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.IWorkspace.loadProjectDescription
(InputStream projectDescriptionFile) Reads the project description file (".project") from the given InputStream.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.IContainer.members()
Returns a list of existing member resources (projects, folders and files) in this resource, in no particular order.IContainer.members
(boolean includePhantoms) Returns a list of all member resources (projects, folders and files) in this resource, in no particular order.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
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, boolean force, boolean keepHistory, IProgressMonitor monitor) Renames or relocates this project so that it is the project specified by the given project 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.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.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.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.default byte[]
IFile.readAllBytes()
Reads the content in a byte array.default char[]
IFile.readAllChars()
Reads the content as char array.default byte[]
IFile.readNBytes
(int maxBytes) Reads the first bytes of the content in a byte array.default String
IFile.readString()
Reads the content as String.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
IWorkspace.run
(IWorkspaceRunnable action, IProgressMonitor monitor) Identical toIWorkspace.run(ICoreRunnable, IProgressMonitor)
.void
IWorkspace.run
(IWorkspaceRunnable action, ISchedulingRule rule, int flags, IProgressMonitor monitor) void
IWorkspace.run
(ICoreRunnable action, IProgressMonitor monitor) Runs the given action as an atomic workspace operation.void
IWorkspace.run
(ICoreRunnable action, ISchedulingRule rule, int flags, IProgressMonitor monitor) Runs the given action as an atomic workspace operation.void
IWorkspaceRunnable.run
(IProgressMonitor monitor) abstract IStatus
WorkspaceJob.runInWorkspace
(IProgressMonitor monitor) Runs the operation, reporting progress to and accepting cancellation requests from the given progress monitor.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
(String[] attributeNames, Object[] values) Sets the given attribute key-value pairs on this marker.void
IMarker.setAttributes
(Map<String, ? extends Object> attributes) Sets the attributes for this marker to be the ones contained in the given table.void
IFile.setCharset
(String newCharset) Deprecated.Replaced byIFile.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.default void
IFile.setContents
(byte[] content, boolean force, boolean keepHistory, IProgressMonitor monitor) Equivalent of callingIFile.setContents(InputStream, boolean, boolean, IProgressMonitor)
withnew ByteArrayInputStream(content)
asInputStream
.default void
IFile.setContents
(byte[] content, int updateFlags, IProgressMonitor monitor) Equivalent of callingIFile.setContents(InputStream, int, IProgressMonitor)
withnew ByteArrayInputStream(content)
asInputStream
.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
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
IContainer.setDefaultCharset
(String charset) Deprecated.Replaced byIContainer.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 byIResource.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.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
Deprecated.useIPathVariableManager.setURIValue(String, URI)
instead.void
IResource.touch
(IProgressMonitor monitor) Marks this resource as having changed even though its content may not have changed.boolean
IResourceDeltaVisitor.visit
(IResourceDelta delta) Visits the given resource delta.boolean
IResourceProxyVisitor.visit
(IResourceProxy proxy) Visits the given resource.boolean
Visits the given resource.default void
IFile.write
(byte[] content, boolean force, boolean derived, boolean keepHistory, IProgressMonitor monitor) Creates the file and sets the file content.default void
IWorkspace.write
(Map<IFile, byte[]> contentMap, boolean force, boolean derived, boolean keepHistory, IProgressMonitor monitor, ExecutorService executorService) Creates the files and sets/replaces the files content. -
Uses of CoreException in org.eclipse.core.resources.filtermatchers
Modifier and TypeMethodDescriptionabstract void
AbstractFileInfoMatcher.initialize
(IProject project, Object arguments) Sets initialization data for this matcher.final void
CompoundFileInfoMatcher.initialize
(IProject project, Object arguments) abstract boolean
AbstractFileInfoMatcher.matches
(IContainer parent, IFileInfo fileInfo) Tests the givenFileInfo
-
Uses of CoreException in org.eclipse.core.resources.mapping
Modifier and TypeMethodDescriptionvoid
ResourceMapping.accept
(ResourceMappingContext context, IResourceVisitor visitor, IProgressMonitor monitor) Accepts the given visitor for all existing resources in this mapping.void
ResourceTraversal.accept
(IResourceVisitor visitor) Visits all existing resources defined by this traversal.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.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.RemoteResourceMappingContext.fetchRemoteMembers
(IContainer container, IProgressMonitor monitor) Returns the members of the remote resource corresponding to the given container.IMarker[]
ResourceMapping.findMarkers
(String type, boolean includeSubtypes, IProgressMonitor monitor) Returns all markers of the specified type on the resources in this mapping.IMarker[]
ResourceTraversal.findMarkers
(String type, boolean includeSubtypes) Returns all markers of the specified type on existing resources in this traversal.ModelProvider.getMappings
(IResource[] resources, ResourceMappingContext context, IProgressMonitor monitor) Returns the set of mappings that cover the given resources.ModelProvider.getMappings
(IResource resource, ResourceMappingContext context, IProgressMonitor monitor) Returns the resource mappings that cover the given resource.ModelProvider.getMappings
(ResourceTraversal[] traversals, ResourceMappingContext context, IProgressMonitor monitor) Returns the set of mappings that overlap with the given resource traversals.IModelProviderDescriptor.getMatchingResources
(IResource[] resources) From the provides set of resources, return those that match the enablement rule specified for the model provider descriptor.IModelProviderDescriptor.getMatchingTraversals
(ResourceTraversal[] traversals) Return the set of traversals that overlap with the resources that this descriptor matches.IModelProviderDescriptor.getModelProvider()
Return the model provider for this descriptor, instantiating it if it is the first time the method is called.CompositeResourceMapping.getTraversals
(ResourceMappingContext context, IProgressMonitor monitor) ModelProvider.getTraversals
(ResourceMapping[] mappings, ResourceMappingContext context, IProgressMonitor monitor) Returns 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.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. -
Uses of CoreException in org.eclipse.core.resources.undo.snapshot
Modifier and TypeMethodDescriptionvoid
IResourceSnapshot.createExistentResourceFromHandle
(IProgressMonitor monitor) Given a resource handle, create an actual resource with the attributes of the receiver resource description.IMarkerSnapshot.createMarker()
Create a marker from the marker description.IResourceSnapshot.createResource
(IProgressMonitor monitor) Create an existent resource from this resource description.static IMarkerSnapshot
ResourceSnapshotFactory.fromMarker
(IMarker marker) Create a marker snapshot from the specified marker.void
IResourceSnapshot.recordStateFromHistory
(IProgressMonitor monitor) Record the appropriate state of this resource description using any available resource history.void
IMarkerSnapshot.updateMarker
(IMarker marker) Update an existing marker using the attributes in the marker description. -
Uses of CoreException in org.eclipse.core.runtime
Modifier and TypeMethodDescriptionstatic void
Platform.addProtectionSpace
(URL resourceUrl, String realm) Deprecated, for removal: This API element is subject to removal in a future version.Authorization database is superseded by the Equinox secure storage.IExecutableExtensionFactory.create()
Creates and returns a new instance.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
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.void
ICoreRunnable.run
(IProgressMonitor monitor) Executes this runnable.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 methodIConfigurationElement.createExecutableExtension
on a newly constructed extension, passing it its relevant configuration information.void
Plugin.shutdown()
Deprecated.void
Plugin.startup()
Deprecated. -
Uses of CoreException in org.eclipse.core.runtime.content
Modifier and TypeMethodDescriptionIContentTypeManager.addContentType
(String contentTypeIdentifier, String name, IContentType baseType) Adds a new content-type to the registry.void
IContentTypeSettings.addFileSpec
(String fileSpec, int type) Adds a user-defined file specification to the corresponding content type.IContentType.getSettings
(IScopeContext context) Returns the settings for this content type in the given preference context.void
IContentTypeManager.removeContentType
(String contentTypeIdentifier) Removes a content-type from underlying registry.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
BinarySignatureDescriber.setInitializationData
(IConfigurationElement config, String propertyName, Object data) void
XMLRootElementContentDescriber.setInitializationData
(IConfigurationElement config, String propertyName, Object data) Deprecated.void
XMLRootElementContentDescriber2.setInitializationData
(IConfigurationElement config, String propertyName, Object data) -
Uses of CoreException in org.eclipse.core.runtime.preferences
Modifier and TypeMethodDescriptionvoid
IPreferencesService.applyPreferences
(IEclipsePreferences node, IPreferenceFilter[] filters) Apply the preference tree rooted at the given node, to the system's preference tree.IPreferencesService.applyPreferences
(IExportedPreferences preferences) Take the given preference tree and apply it to the Eclipse global preference hierarchy.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.void
IPreferencesService.exportPreferences
(IEclipsePreferences node, IPreferenceFilter[] filters, OutputStream output) Export the preference tree rooted at the given node, to the specified output stream.IPreferencesService.importPreferences
(InputStream input) Loads preferences from the given file and stores them in the preferences store.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.IPreferencesService.readPreferences
(InputStream input) Read from the given input stream and create a node hierarchy representing the preferences and their values. -
Uses of CoreException in org.eclipse.core.runtime.spi
Modifier and TypeMethodDescriptionRegistryStrategy.createExecutableExtension
(RegistryContributor contributor, String className, String overridenContributorName) Creates an executable extension. -
Uses of CoreException in org.eclipse.core.variables
Modifier and TypeMethodDescriptionvoid
IStringVariableManager.addVariables
(IValueVariable[] variables) Adds the given variables to the variable registry.Returns the value of this variable when referenced with the given argument, possiblynull
.IStringVariableManager.performStringSubstitution
(String expression) Recursively resolves and replaces all variable references in the given expression with their corresponding values.IStringVariableManager.performStringSubstitution
(String expression, boolean reportUndefinedVariables) Recursively resolves and replaces all variable references in the given expression with their corresponding values.IDynamicVariableResolver.resolveValue
(IDynamicVariable variable, String argument) Resolves and returns a value for the specified variable when referenced with the given argument, possiblynull
void
IStringVariableManager.validateStringVariables
(String expression) Validates variables references in the given expression and reports errors for references to undefined variables. -
Uses of CoreException in org.eclipse.debug.core
Modifier and TypeClassDescriptionclass
A checked exception representing a failure.Modifier and TypeMethodDescriptionvoid
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.void
IBreakpointManager.addTriggerPoint
(IBreakpoint breakpoint) Adds the given breakpoint as the triggering breakpoint in the workspace and notifies all registered listeners.Returns a copy of this launch configuration, as a working copy, with the specified name.void
ILaunchConfigurationWorkingCopy.copyAttributes
(ILaunchConfiguration prototype) Copies all attributes from the given prototype to this working.void
ILaunchConfiguration.delete()
Deletes this launch configuration.void
ILaunchConfiguration.delete
(int flag) Deletes this launch configuration.ILaunchConfigurationWorkingCopy.doSave()
Saves this working copy to its underlying file and returns a handle to the resulting launch configuration.ILaunchConfigurationWorkingCopy.doSave
(int flag) Saves this working copy to its underlying file and returns a handle to the resulting launch configuration.static Process
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
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
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.ILaunchConfiguration.getAttribute
(String attributeName, String defaultValue) Returns the string-valued attribute with the given name.ILaunchConfiguration.getAttribute
(String attributeName, List<String> defaultValue) Returns thejava.util.List
-valued attribute with the given name.ILaunchConfiguration.getAttribute
(String attributeName, Map<String, String> defaultValue) Returns thejava.util.Map
-valued attribute with the given name.ILaunchConfiguration.getAttribute
(String attributeName, Set<String> defaultValue) Returns thejava.util.Set
-valued attribute with the given name.ILaunchConfiguration.getAttributes()
Returns a map containing the attributes in this launch configuration.ILaunchConfiguration.getCategory()
Returns this launch configuration's type's category, ornull
if unspecified.ILaunchConfigurationType.getDelegate()
Deprecated.usegetDelegate(String)
to specify modeILaunchConfigurationType.getDelegate
(String mode) Deprecated.since 3.3, the methodgetDelegates(Set)
should be used instead, as there can be more than one capable delegate per mode or combination of modesILaunchDelegate.getDelegate()
Returns the underlying launch configuration.ILaunchConfigurationType.getDelegates
(Set<String> modes) Returns the delegates capable of launching in the specified modes, possibly an empty set.ILaunchManager.getEncoding
(ILaunchConfiguration configuration) This method returns the character encoding to use when launching the specifiedILaunchConfiguration
.String[]
ILaunchManager.getEnvironment
(ILaunchConfiguration configuration) Returns an array of environment variables to be used when launching the given configuration ornull
if unspecified.IBreakpointManager.getImportParticipants
(String markertype) Returns an array ofIBreakpointImportParticipant
s for the given breakpoint marker id, nevernull
.int
ILaunchConfiguration.getKind()
Returns this configuration's kind.ILaunchManager.getLaunchConfiguration
(String memento) Returns a handle to the launch configuration specified by the given memento.ILaunchManager.getLaunchConfigurations()
Returns all launch configurations defined in the workspace.ILaunchManager.getLaunchConfigurations
(int kinds) Returns all launch configurations defined in the workspace of the specified kind(s) (configurations and/or prototypes).ILaunchManager.getLaunchConfigurations
(ILaunchConfigurationType type) Returns all launch configurations of the specified type defined in the workspaceILaunchManager.getLaunchConfigurations
(ILaunchConfigurationType type, int kinds) Returns all launch configurations of the specified type defined in the workspace of the specified kind(s) (configurations and/or prototypes).ILaunchConfiguration.getMappedResources()
Returns the resources this launch configuration is associated with ornull
if none.ILaunchConfiguration.getMemento()
Returns a memento for this launch configuration, ornull
if unable to generate a memento for this configuration.ILaunchManager.getMigrationCandidates()
Returns a collection of launch configurations that required migration to be compatible with current tooling.ILaunchConfiguration.getModes()
Returns the launch modes that have been set on this configuration.ILaunchConfiguration.getPreferredDelegate
(Set<String> modes) Returns the preferred launch delegate that has been set on this configuration ornull
if one is not specified.ILaunchConfigurationType.getPreferredDelegate
(Set<String> modes) Returns the preferred launch delegate for this type in the specified mode combination ornull
if there is no preferred delegate.ILaunchConfiguration.getPrototype()
Returns the prototype this launch configuration was created from ornull
if none.ILaunchConfiguration.getPrototypeChildren()
Returns all configurations made from this prototype, possibly an empty collection.ILaunchConfigurationType.getPrototypes()
Returns all launch configuration prototypes of the this type, possibly an empty collection.ILaunchConfiguration.getPrototypeVisibleAttributes()
Get the visible attributes of this prototype (returnnull
if the launch configuration is not a prototype).ILaunchManager.getSourcePathComputer
(ILaunchConfiguration configuration) Returns a source path computer to compute a default source lookup path for the given launch configuration, ornull
if a source path computer has not been registered for the associated launch configuration type.ILaunchConfiguration.getType()
Returns the type of this launch configuration.ILaunchConfiguration.getWorkingCopy()
Returns a working copy of this launch configuration.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
ILaunchConfiguration.isAttributeModified
(String attribute) Check if the given attribute has the same value than the one from its prototype.boolean
ILaunchConfigurationMigrationDelegate.isCandidate
(ILaunchConfiguration candidate) Returns whether the given launch configuration requires migration.boolean
ILaunchManager.isExistingLaunchConfigurationName
(String name) Returntrue
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.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.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.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.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.ILaunchConfigurationType.newPrototypeInstance
(IContainer container, String name) Returns a new launch configuration working copy of this type, that resides in the specified container, with the given name.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
(IResource[] resources, int depth, IProgressMonitor monitor) Refreshes the resources as specified by the given launch configuration.static void
RefreshUtil.refreshResources
(ILaunchConfiguration configuration, IProgressMonitor monitor) Refreshes the resources as specified by the given launch configuration via itsRefreshUtil.ATTR_REFRESH_SCOPE
andRefreshUtil.ATTR_REFRESH_RECURSIVE
attributes.void
IBreakpointManager.removeAllTriggerPoints()
Removes all the trigger points from the breakpoint manager.void
IBreakpointManager.removeBreakpoint
(IBreakpoint breakpoint, boolean delete) Removes the given breakpoint from the breakpoint manager, deletes the marker associated with the breakpoint if thedelete
flag istrue
, 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 thedelete
flag istrue
, and notifies all registered listeners.void
IBreakpointManager.removeTriggerPoint
(IBreakpoint breakpoint) Removes the given breakpoint as the trigger breakpoint in the workspace 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.void
ILaunchConfigurationWorkingCopy.setPrototype
(ILaunchConfiguration prototype, boolean copy) Sets the prototype that this configuration is based on, possiblynull
, and optionally copies attributes from the prototype to this working copy.void
ILaunchConfiguration.setPrototypeAttributeVisibility
(String attribute, boolean visible) Set the visibility of the given prototype's attribute.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 viaRefreshUtil.toMemento(IResource[])
. -
Uses of CoreException in org.eclipse.debug.core.commands
Modifier and TypeMethodDescriptionprotected 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. -
Uses of CoreException in org.eclipse.debug.core.model
Modifier and TypeMethodDescriptionprotected void
LaunchConfigurationDelegate.addReferencedProjects
(IProject project, Set<IProject> references) Adds all projects referenced byproject
to the given set.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.boolean
LaunchConfigurationDelegate.buildForLaunch
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) 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 bybaseProjects
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
ILaunchConfigurationDelegate2.finalLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Returns whether a launch should proceed.boolean
LaunchConfigurationDelegate.finalLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) protected IProject[]
LaunchConfigurationDelegate.getBuildOrder
(ILaunchConfiguration configuration, String mode) Returns the projects to build before launching the given launch configuration ornull
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()
ILaunchConfigurationDelegate2.getLaunch
(ILaunchConfiguration configuration, String mode) Returns a launch object to use when launching the given launch configuration in the given mode, ornull
if a new default launch object should be created by the debug platform.LaunchConfigurationDelegate.getLaunch
(ILaunchConfiguration configuration, String mode) 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()
ILogicalStructureTypeDelegate.getLogicalStructure
(IValue value) Returns a value representing a logical structure of the given value.IPersistableSourceLocator.getMemento()
Returns a memento that can be used to reconstruct this source locatorprotected IProject[]
LaunchConfigurationDelegate.getProjectsForProblemSearch
(ILaunchConfiguration configuration, String mode) Returns the set of projects to use when searching for errors ornull
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 enabledprotected 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.boolean
Breakpoint.isTriggerPoint()
boolean
ITriggerPoint.isTriggerPoint()
Returns whether this breakpoint is defined as a trigger point in the workspace.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
ILaunchConfigurationDelegate2.preLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) Returns whether a launch should proceed.boolean
LaunchConfigurationDelegate.preLaunchCheck
(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) 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
(String[] attributeNames, Object[] values) Convenience method to set the given attributes 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.void
Breakpoint.setEnabled
(boolean enabled) void
IBreakpoint.setEnabled
(boolean enabled) Sets the enabled state of this breakpoint.void
void
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
Breakpoint.setTriggerPoint
(boolean triggerPoint) void
ITriggerPoint.setTriggerPoint
(boolean trigger) Sets whether this breakpoint is to be treated as a trigger point for the workspace.default String
ILaunchConfigurationDelegate.showCommandLine
(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) Gets the command line to launch the given configuration in the specified mode.void
IBreakpointImportParticipant.verify
(IBreakpoint breakpoint) Verifies the state of the breakpoint once it has been imported. -
Uses of CoreException in org.eclipse.debug.core.sourcelookup
Modifier and TypeMethodDescriptionprotected void
Throws an exception with the given message and underlying exception.ISourcePathComputerDelegate.computeSourceContainers
(ILaunchConfiguration configuration, IProgressMonitor monitor) Returns a default collection source containers to be considered for the given launch configuration.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[]
AbstractSourceLookupDirector.findSourceElements
(Object object) Object[]
AbstractSourceLookupParticipant.findSourceElements
(Object object) Object[]
ISourceContainer.findSourceElements
(String name) Returns a collection of source elements in this container corresponding to the given name.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[]
ISourceLookupParticipant.findSourceElements
(Object object) Returns a collection of source elements corresponding to the given debug artifact (for example, a stack frame or breakpoint).AbstractSourceLookupDirector.getMemento()
ISourceContainerTypeDelegate.getMemento
(ISourceContainer container) Constructs and returns a memento for the given source container.ISourceContainer.getSourceContainers()
Returns the source containers this container is composed of.ISourceLookupParticipant.getSourceName
(Object object) Returns the source file name associated with the given debug artifact that source needs to be found for, ornull
if none.void
AbstractSourceLookupDirector.initializeDefaults
(ILaunchConfiguration configuration) void
AbstractSourceLookupDirector.initializeFromMemento
(String memento) void
AbstractSourceLookupDirector.initializeFromMemento
(String memento, ILaunchConfiguration configuration) void
IPersistableSourceLocator2.initializeFromMemento
(String memento, ILaunchConfiguration configuration) Initializes this source locator based on the given memento, for the given launch configuration. -
Uses of CoreException in org.eclipse.debug.core.sourcelookup.containers
Modifier and TypeMethodDescriptionprotected void
Throws an error exception with the given message and underlying exception.protected void
Throws an exception with the given message and underlying exception.protected abstract ISourceContainer[]
CompositeSourceContainer.createSourceContainers()
Creates the source containers in this composite container.protected ISourceContainer[]
ContainerSourceContainer.createSourceContainers()
protected ISourceContainer[]
DefaultSourceContainer.createSourceContainers()
protected ISourceContainer[]
DirectorySourceContainer.createSourceContainers()
protected ISourceContainer[]
ProjectSourceContainer.createSourceContainers()
protected ISourceContainer[]
WorkspaceSourceContainer.createSourceContainers()
Object[]
ArchiveSourceContainer.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.Object[]
ContainerSourceContainer.findSourceElements
(String name) Object[]
DirectorySourceContainer.findSourceElements
(String name) Object[]
ExternalArchiveSourceContainer.findSourceElements
(String name) LocalFileStorage.getContents()
ZipEntryStorage.getContents()
AbstractSourceContainer.getSourceContainers()
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
Throws a warning exception with the given message and underlying exception. -
Uses of CoreException in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionprotected void
WorkingDirectoryBlock.log
(CoreException e) Logs exceptions that have been caught by this working directory block.Modifier and TypeMethodDescriptionstatic 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 ornull
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 ornull
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. -
Uses of CoreException in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionvoid
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.IWatchExpressionFactoryAdapter.createWatchExpression
(IVariable variable) Creates and returns an expression for the specified variable which is used to created anIWatchExpression
.IWatchExpressionFactoryAdapter2.createWatchExpression
(Object element) Creates and returns an expression for the specified variable which is used to created anIWatchExpression
.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 givenEvent
.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. -
Uses of CoreException in org.eclipse.debug.ui.memory
Modifier and TypeMethodDescriptionIMemoryRenderingType.createRendering()
Creates and returns a new rendering of this type ornull
if none.IMemoryRenderingTypeDelegate.createRendering
(String id) Creates and returns a rendering of the specified type, ornull
if none. -
Uses of CoreException in org.eclipse.debug.ui.sourcelookup
Modifier and TypeMethodDescriptionprotected ISourceContainer[]
WorkingSetSourceContainer.createSourceContainers()
-
Uses of CoreException in org.eclipse.e4.core.commands
-
Uses of CoreException in org.eclipse.equinox.p2.core
Modifier and TypeClassDescriptionclass
A checked exception indicating a recoverable error occurred while provisioning. -
Uses of CoreException in org.eclipse.help.search
Modifier and TypeMethodDescriptionvoid
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) -
Uses of CoreException in org.eclipse.help.server
-
Uses of CoreException in org.eclipse.help.ui.browser
Modifier and TypeMethodDescriptionvoid
LaunchURL.setInitializationData
(IConfigurationElement config, String propertyName, Object data) -
Uses of CoreException in org.eclipse.ltk.core.refactoring
Modifier and TypeMethodDescriptionprotected IDocument
DocumentChange.acquireDocument
(IProgressMonitor pm) protected abstract IDocument
TextChange.acquireDocument
(IProgressMonitor pm) Acquires a reference to the document to be changed by this text change.protected IDocument
TextFileChange.acquireDocument
(IProgressMonitor pm) Refactoring.checkAllConditions
(IProgressMonitor pm) Checks all conditions.abstract RefactoringStatus
Refactoring.checkFinalConditions
(IProgressMonitor pm) AftercheckInitialConditions
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) protected abstract void
TextChange.commit
(IDocument document, IProgressMonitor pm) Commits the document acquired via a call toaquireDocument
.protected void
TextFileChange.commit
(IDocument document, IProgressMonitor pm) Commits the document acquired via a call toaquireDocument
.abstract Change
Refactoring.createChange
(IProgressMonitor pm) Creates aChange
object that performs the actual workspace transformation.protected Refactoring
PerformRefactoringHistoryOperation.createRefactoring
(RefactoringDescriptor descriptor, RefactoringStatus status) Deprecated.since 3.4.protected Refactoring
PerformRefactoringHistoryOperation.createRefactoring
(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Deprecated.since 3.6.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.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.final String
MultiStateTextFileChange.getCurrentContent
(IProgressMonitor monitor) final String
MultiStateTextFileChange.getCurrentContent
(IRegion region, boolean expand, int surround, IProgressMonitor monitor) TextChange.getCurrentContent
(IProgressMonitor pm) TextChange.getCurrentContent
(IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) abstract String
TextEditBasedChange.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.final IDocument
MultiStateTextFileChange.getCurrentDocument
(IProgressMonitor monitor) Returns a document representing the current state of the buffer, prior to the application of the change.TextChange.getCurrentDocument
(IProgressMonitor pm) Returns the document this text change is associated to.final String
MultiStateTextFileChange.getPreviewContent
(IProgressMonitor monitor) final String
MultiStateTextFileChange.getPreviewContent
(TextEditBasedChangeGroup[] groups, IRegion region, boolean expand, int surround, IProgressMonitor monitor) TextChange.getPreviewContent
(IProgressMonitor pm) TextChange.getPreviewContent
(TextEditBasedChangeGroup[] changeGroups, IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) Returns a preview of the text change clipped to a specific region.TextChange.getPreviewContent
(TextEditChangeGroup[] changeGroups, IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) Returns a preview of the text change clipped to a specific region.abstract String
TextEditBasedChange.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.final IDocument
MultiStateTextFileChange.getPreviewDocument
(IProgressMonitor monitor) Returns a document representing the preview of the refactored buffer, after the application of the change object.TextChange.getPreviewDocument
(IProgressMonitor pm) Returns a document containing a preview of the text change.abstract RefactoringStatus
Change.isValid
(IProgressMonitor pm) Verifies that this change object is still valid and can be executed by callingperform
.CompositeChange.isValid
(IProgressMonitor pm) Verifies that this change object is still valid and can be executed by callingperform
.DocumentChange.isValid
(IProgressMonitor pm) final RefactoringStatus
MultiStateTextFileChange.isValid
(IProgressMonitor monitor) NullChange.isValid
(IProgressMonitor pm) TextFileChange.isValid
(IProgressMonitor monitor) UndoTextFileChange.isValid
(IProgressMonitor pm) abstract Change
Change.perform
(IProgressMonitor pm) Performs this change.CompositeChange.perform
(IProgressMonitor pm) Performs this change.final Change
MultiStateTextFileChange.perform
(IProgressMonitor monitor) NullChange.perform
(IProgressMonitor pm) TextChange.perform
(IProgressMonitor pm) UndoTextFileChange.perform
(IProgressMonitor pm) 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) protected abstract void
TextChange.releaseDocument
(IDocument document, IProgressMonitor pm) Releases the document acquired via a call toaquireDocument
.protected void
TextFileChange.releaseDocument
(IDocument document, IProgressMonitor pm) void
CheckConditionsOperation.run
(IProgressMonitor pm) void
CreateChangeOperation.run
(IProgressMonitor pm) void
PerformChangeOperation.run
(IProgressMonitor pm) void
PerformRefactoringHistoryOperation.run
(IProgressMonitor monitor) void
PerformRefactoringOperation.run
(IProgressMonitor monitor) -
Uses of CoreException in org.eclipse.ltk.core.refactoring.history
Modifier and TypeMethodDescriptionIRefactoringHistoryService.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. -
Uses of CoreException in org.eclipse.ltk.core.refactoring.model
Modifier and TypeMethodDescriptionfinal ResourceTraversal[]
AbstractRefactoringDescriptorResourceMapping.getTraversals
(ResourceMappingContext context, IProgressMonitor monitor) final ResourceTraversal[]
AbstractRefactoringHistoryResourceMapping.getTraversals
(ResourceMappingContext context, IProgressMonitor monitor) -
Uses of CoreException in org.eclipse.ltk.core.refactoring.participants
Modifier and TypeMethodDescriptionvoid
CheckConditionsContext.add
(IConditionChecker checker) Adds the given condition checker.CheckConditionsContext.check
(IProgressMonitor pm) Checks the condition of all registered condition checkers and returns a merge status result.IConditionChecker.check
(IProgressMonitor monitor) Performs the actual condition checking.ResourceChangeChecker.check
(IProgressMonitor monitor) ValidateEditChecker.check
(IProgressMonitor monitor) static RefactoringStatus
ResourceChangeChecker.checkFilesToBeChanged
(IFile[] files, IProgressMonitor monitor) A helper method to check a set of changed files.ProcessorBasedRefactoring.checkFinalConditions
(IProgressMonitor pm) abstract RefactoringStatus
RefactoringProcessor.checkFinalConditions
(IProgressMonitor pm, CheckConditionsContext context) Checks the final conditions based on the element to be refactored.ProcessorBasedRefactoring.checkInitialConditions
(IProgressMonitor pm) abstract RefactoringStatus
RefactoringProcessor.checkInitialConditions
(IProgressMonitor pm) Checks some initial conditions based on the element to be refactored.ProcessorBasedRefactoring.createChange
(IProgressMonitor pm) abstract Change
RefactoringParticipant.createChange
(IProgressMonitor pm) Creates aChange
object that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed.abstract Change
RefactoringProcessor.createChange
(IProgressMonitor pm) Creates aChange
object describing the workspace modifications the processor contributes to the overall refactoring.RefactoringParticipant.createPreChange
(IProgressMonitor pm) Creates aChange
object that contains the workspace modifications of this participant to be executed before the changes from the refactoring are executed.final boolean
ProcessorBasedRefactoring.isApplicable()
Checks whether the refactoring is applicable to the elements to be refactored or not.abstract boolean
RefactoringProcessor.isApplicable()
Checks whether the processor is applicable to the elements to be refactored or not.abstract RefactoringParticipant[]
RefactoringProcessor.loadParticipants
(RefactoringStatus status, SharableParticipants sharedParticipants) Returns the array of participants.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. -
Uses of CoreException in org.eclipse.ltk.core.refactoring.resource
Modifier and TypeMethodDescriptionDeleteResourcesDescriptor.createRefactoring
(RefactoringStatus status) MoveRenameResourceDescriptor.createRefactoring
(RefactoringStatus status) MoveResourcesDescriptor.createRefactoring
(RefactoringStatus status) RenameResourceDescriptor.createRefactoring
(RefactoringStatus status) ResourceChange.isValid
(IProgressMonitor pm) This implementation ofChange.isValid(IProgressMonitor)
tests the modified resource using the validation method specified byResourceChange.setValidationMethod(int)
.DeleteResourceChange.perform
(IProgressMonitor pm) final Change
MoveRenameResourceChange.perform
(IProgressMonitor monitor) final Change
MoveResourceChange.perform
(IProgressMonitor monitor) RenameResourceChange.perform
(IProgressMonitor pm) -
Uses of CoreException in org.eclipse.ltk.ui.refactoring
Modifier and TypeMethodDescriptionabstract IRegion
LanguageElementNode.getTextRange()
Returns the text region the of this language element node. -
Uses of CoreException in org.eclipse.ltk.ui.refactoring.history
Modifier and TypeMethodDescriptionprotected Refactoring
RefactoringHistoryWizard.createRefactoring
(RefactoringDescriptor descriptor, RefactoringStatus status) Deprecated.since 3.6.protected Refactoring
RefactoringHistoryWizard.createRefactoring
(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Deprecated.since 3.7.protected RefactoringContext
RefactoringHistoryWizard.createRefactoringContext
(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Creates a refactoring context from the specified refactoring descriptor. -
Uses of CoreException in org.eclipse.ltk.ui.refactoring.model
Modifier and TypeMethodDescriptionAbstractResourceMappingMerger.merge
(IMergeContext context, IProgressMonitor monitor) -
Uses of CoreException in org.eclipse.search.core.text
Modifier and TypeMethodDescriptionboolean
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. -
Uses of CoreException in org.eclipse.search.ui.text
Modifier and TypeMethodDescriptionabstract 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. -
Uses of CoreException in org.eclipse.team.core
Modifier and TypeClassDescriptionclass
This exception is thrown by the team provider API.Modifier and TypeMethodDescriptionstatic TeamException
TeamException.asTeamException
(CoreException e) Return aTeamException
for the given exception.Modifier and TypeMethodDescriptionfinal void
RepositoryProvider.configure()
Configures the nature for the given project.abstract void
RepositoryProvider.configureProject()
Configures the provider for the given project.ModifierConstructorDescriptionprotected
Create aTeamException
that wraps the givenCoreException
-
Uses of CoreException in org.eclipse.team.core.history
Modifier and TypeMethodDescriptionIFileRevision.getStorage
(IProgressMonitor monitor) Returns the storage for this file revision.IFileRevision.withAllProperties
(IProgressMonitor monitor) Returns anIFileRevision
with all supported properties present. -
Uses of CoreException in org.eclipse.team.core.importing.provisional
Modifier and TypeMethodDescriptionIProject[]
BundleImporterDelegate.performImport
(ScmUrlImportDescription[] descriptions, IProgressMonitor monitor) IProject[]
IBundleImporterDelegate.performImport
(ScmUrlImportDescription[] descriptions, IProgressMonitor monitor) Imports bundles into the workspace creating a project for each import description. -
Uses of CoreException in org.eclipse.team.core.mapping
Modifier and TypeMethodDescriptionprotected IStorageMerger
DelegatingStorageMerger.createDelegateMerger
(IStorage target) Create a merger for the given storage or returnnull
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 returnsnull
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.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.boolean
IChangeGroupingRequestor.isModified
(IFile file) Return whether the given file is modified with respect to the repository.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.DelegatingStorageMerger.merge
(OutputStream output, String outputEncoding, IStorage ancestor, IStorage target, IStorage other, IProgressMonitor monitor) IMergeContext.merge
(IDiff[] diffs, boolean ignoreLocalChanges, IProgressMonitor monitor) Attempt to merge any files associated with the given diffs.IMergeContext.merge
(IDiff diff, boolean ignoreLocalChanges, IProgressMonitor monitor) Method that can be called by the model merger to attempt a file-system level merge.IResourceMappingMerger.merge
(IMergeContext mergeContext, IProgressMonitor monitor) Attempt to automatically merge the mappings of the merge context(MergeContext#getMappings()
).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.ResourceMappingMerger.merge
(IMergeContext mergeContext, IProgressMonitor monitor) A default implementation of merge that attempts to merge all the mappings in the context.void
ISynchronizationContext.refresh
(ResourceMapping[] mappings, IProgressMonitor monitor) Refresh the portion of the context related to the given resource mappings.void
ISynchronizationContext.refresh
(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor) Refresh the context in order to update the diff tree returned byISynchronizationContext.getDiffTree()
to include the latest synchronization state for the resources.ISynchronizationScopeManager.refresh
(ResourceMapping[] mappings, IProgressMonitor monitor) Refresh the scope of this manager for the given mappings.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. -
Uses of CoreException in org.eclipse.team.core.mapping.provider
Modifier and TypeMethodDescriptionprotected 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 fromMergeContext.performReplace(IDiff, IProgressMonitor)
after the local has been changed to match the remote.void
MergeContext.markAsMerged
(IDiff[] nodes, boolean inSyncHint, IProgressMonitor monitor) MergeContext.merge
(IDiff[] deltas, boolean force, IProgressMonitor monitor) 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.void
SynchronizationContext.refresh
(ResourceMapping[] mappings, IProgressMonitor monitor) SynchronizationScopeManager.refresh
(ResourceMapping[] mappings, IProgressMonitor monitor) void
MergeContext.reject
(IDiff[] diffs, IProgressMonitor monitor) void
MergeContext.run
(IWorkspaceRunnable runnable, ISchedulingRule rule, int flags, IProgressMonitor monitor) -
Uses of CoreException in org.eclipse.team.core.subscribers
Modifier and TypeMethodDescriptionvoid
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) final IStorage
SubscriberResourceMappingContext.fetchBaseContents
(IFile file, IProgressMonitor monitor) final IResource[]
SubscriberResourceMappingContext.fetchMembers
(IContainer container, IProgressMonitor monitor) final IStorage
SubscriberResourceMappingContext.fetchRemoteContents
(IFile file, IProgressMonitor monitor) Returns synchronization info, in the form of anIDiff
for the given resource, ornull
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) final boolean
SubscriberResourceMappingContext.hasRemoteChange
(IResource resource, IProgressMonitor monitor) void
SubscriberScopeManager.initialize
(IProgressMonitor monitor) void
SubscriberMergeContext.refresh
(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor) final void
SubscriberResourceMappingContext.refresh
(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor) SubscriberScopeManager.refresh
(ResourceMapping[] mappings, IProgressMonitor monitor) -
Uses of CoreException in org.eclipse.team.ui
Modifier and TypeMethodDescriptionstatic IScmUrlImportWizardPage[]
Return a set of wizard pages for the given importer ID. -
Uses of CoreException in org.eclipse.team.ui.history
Modifier and TypeMethodDescriptionprotected void
HistoryPageCompareEditorInput.performReplace
(Object selectedObject) A replace has been requested. -
Uses of CoreException in org.eclipse.team.ui.mapping
Modifier and TypeMethodDescriptionprotected void
SynchronizationContentProvider.handleException
(CoreException e) Handle the given exception that occurred while calculating the children for an element.Modifier and TypeMethodDescriptionITeamContentProviderDescriptor.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.ITeamStateProvider.getStateDescription
(Object element, int stateMask, String[] properties, IProgressMonitor monitor) Return the state description for the given element.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.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.boolean
ITeamStateProvider.hasDecoratedState
(Object element) Return whether the given element has any decorated state.protected abstract void
SaveableComparison.performSave
(IProgressMonitor monitor) Method invoked fromSaveableComparison.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. -
Uses of CoreException in org.eclipse.team.ui.synchronize
Modifier and TypeMethodDescriptionboolean
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
ModelMergeOperation.executeMerge
(IProgressMonitor monitor) Perform a merge.protected void
ModelParticipantMergeOperation.executeMerge
(IProgressMonitor monitor) SubscriberTeamStateProvider.getStateDescription
(Object element, int stateMask, String[] properties, IProgressMonitor monitor) protected final 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 abstract void
ModelMergeOperation.initializeContext
(IProgressMonitor monitor) Initialize the merge context for this merge operation.protected void
ModelParticipantMergeOperation.initializeContext
(IProgressMonitor monitor) protected IStatus
ModelMergeOperation.performMerge
(ModelProvider provider, IProgressMonitor monitor) Attempt to merge all the mappings that come from the given provider.protected IStatus
ModelMergeOperation.performMerge
(IProgressMonitor monitor) Attempt a headless merge of the elements in the context of this operation.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) -
Uses of CoreException in org.eclipse.ui
Modifier and TypeClassDescriptionclass
A checked exception indicating one or more workbench parts could not be initialized correctly.class
A checked exception indicating a workbench part cannot be initialized correctly.class
A checked exception indicating a recoverable error occured internal to the workbench.Modifier and TypeMethodDescriptionExtensionFactory.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.Saveable.doSave
(IProgressMonitor monitor, IShellProvider shellProvider) Saves this saveable, or prepares this saveable for a background save operation.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) -
Uses of CoreException in org.eclipse.ui.actions
Modifier and TypeMethodDescriptionprotected void
CopyFilesAndFoldersOperation.copy
(IResource[] resources, IPath destination, IProgressMonitor monitor) Deprecated.As of 3.3, the work is performed in the undoable operation created inCopyFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath)
protected void
MoveFilesAndFoldersOperation.copy
(IResource[] resources, IPath destination, IProgressMonitor monitor) Deprecated.As of 3.3, the work is performed in the undoable operation created inMoveFilesAndFoldersOperation.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
CloseResourceAction.invokeOperation
(IResource resource, IProgressMonitor monitor) protected void
OpenResourceAction.invokeOperation
(IResource resource, IProgressMonitor monitor) protected void
ScrubLocalAction.invokeOperation
(IResource resource, IProgressMonitor monitor) Deprecated.protected void
WorkspaceAction.invokeOperation
(IResource resource, IProgressMonitor monitor) Deprecated.Since 3.3, subclasses should instead implement the methodWorkspaceAction.createOperation(IStatus[])
and provide an empty implementation for this method.protected void
RefreshAction.refreshResource
(IResource resource, IProgressMonitor monitor) Refresh the resource (with a check for deleted projects). -
Uses of CoreException in org.eclipse.ui.cheatsheets
Modifier and TypeMethodDescriptionCheatSheetExtensionFactory.create()
void
CheatSheetExtensionFactory.setInitializationData
(IConfigurationElement config, String propertyName, Object data) -
Uses of CoreException in org.eclipse.ui.dialogs
Modifier and TypeMethodDescriptionprotected void
WizardNewFileCreationPage.createFile
(IFile fileHandle, InputStream contents, IProgressMonitor monitor) Deprecated.As of 3.3, use or overrideWizardNewFileCreationPage.createNewFile()
which uses the undoable operation support.protected void
WizardNewFolderMainPage.createFolder
(IFolder folderHandle, IProgressMonitor monitor) Deprecated.As of 3.3, useWizardNewFolderMainPage.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) ContainerGenerator.generateContainer
(IProgressMonitor monitor) Ensures that this generator's container resource exists. -
Uses of CoreException in org.eclipse.ui.editors.text
Modifier and TypeMethodDescriptionprotected void
StorageDocumentProvider.handleCoreException
(CoreException exception, String message) Defines the standard procedure to handleCoreExceptions
.protected void
TextFileDocumentProvider.handleCoreException
(CoreException exception, String message) Defines the standard procedure to handleCoreExceptions
.boolean
ForwardingDocumentProvider.isNotSynchronizedException
(Object element, CoreException ex) boolean
StorageDocumentProvider.isNotSynchronizedException
(Object element, CoreException ex) boolean
TextFileDocumentProvider.isNotSynchronizedException
(Object element, CoreException ex) boolean
TextFileDocumentProvider.NullProvider.isNotSynchronizedException
(Object element, CoreException ex) Deprecated.Modifier and TypeMethodDescriptionprotected 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
void
void
Deprecated.protected IAnnotationModel
FileDocumentProvider.createAnnotationModel
(Object element) protected IAnnotationModel
StorageDocumentProvider.createAnnotationModel
(Object element) protected IDocument
StorageDocumentProvider.createDocument
(Object element) protected AbstractDocumentProvider.ElementInfo
FileDocumentProvider.createElementInfo
(Object element) protected AbstractDocumentProvider.ElementInfo
StorageDocumentProvider.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.TextFileDocumentProvider.createSaveOperation
(Object element, IDocument document, boolean overwrite) protected void
FileDocumentProvider.doResetDocument
(Object element, IProgressMonitor monitor) protected void
FileDocumentProvider.doSaveDocument
(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) protected void
StorageDocumentProvider.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.FileDocumentProvider.getContentType
(Object element) ForwardingDocumentProvider.getContentType
(Object element) StorageDocumentProvider.getContentType
(Object element) TextFileDocumentProvider.getContentType
(Object element) TextFileDocumentProvider.NullProvider.getContentType
(Object element) Deprecated.protected void
FileDocumentProvider.persistEncoding
(Object element, String encoding) Persists the given encoding for the given element.protected void
StorageDocumentProvider.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 nothingprotected void
FileDocumentProvider.refreshFile
(IFile file) Refreshes the given file resource.protected void
FileDocumentProvider.refreshFile
(IFile file, IProgressMonitor monitor) Refreshes the given file resource.void
ForwardingDocumentProvider.resetDocument
(Object element) void
TextFileDocumentProvider.NullProvider.resetDocument
(Object element) Deprecated.void
TextFileDocumentProvider.resetDocument
(Object element) void
ForwardingDocumentProvider.saveDocument
(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) void
TextFileDocumentProvider.NullProvider.saveDocument
(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) Deprecated.final void
TextFileDocumentProvider.saveDocument
(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) protected boolean
FileDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput) Deprecated.use file encoding based versionprotected boolean
FileDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput, String encoding) protected void
StorageDocumentProvider.setDocumentContent
(IDocument document, InputStream contentStream) Deprecated.use encoding based version insteadprotected void
StorageDocumentProvider.setDocumentContent
(IDocument document, InputStream contentStream, String encoding) Initializes the given document with the given stream using the given encoding.protected boolean
StorageDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput) Deprecated.use the encoding based version insteadprotected boolean
StorageDocumentProvider.setDocumentContent
(IDocument document, IEditorInput editorInput, String encoding) Initializes the given document from the given editor input using the given character encoding.void
ForwardingDocumentProvider.synchronize
(Object element) void
TextFileDocumentProvider.NullProvider.synchronize
(Object element) Deprecated.void
TextFileDocumentProvider.synchronize
(Object element) protected void
StorageDocumentProvider.updateCache
(IStorageEditorInput input) Updates the internal cache for the given input.void
ForwardingDocumentProvider.updateStateCache
(Object element) void
TextFileDocumentProvider.NullProvider.updateStateCache
(Object element) Deprecated.void
TextFileDocumentProvider.updateStateCache
(Object element) void
ForwardingDocumentProvider.validateState
(Object element, Object computationContext) void
TextFileDocumentProvider.NullProvider.validateState
(Object element, Object computationContext) Deprecated.void
TextFileDocumentProvider.validateState
(Object element, Object computationContext) boolean
FileDocumentProvider.FileSynchronizer.visit
(IResourceDelta delta) -
Uses of CoreException in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionIUnassociatedEditorStrategy.getEditorDescriptor
(String fileName, IEditorRegistry editorRegistry) -
Uses of CoreException in org.eclipse.ui.ide.undo
Modifier and TypeMethodDescriptionprotected 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) Deprecated.Given a resource handle, create an actual resource with the attributes of the receiver resource description.abstract IResource
ResourceDescription.createResource
(IProgressMonitor monitor) Deprecated.Create an existent resource from this resource description.protected abstract void
AbstractWorkspaceOperation.doExecute
(IProgressMonitor monitor, IAdaptable uiInfo) Perform the specific work involved in executing this operation.protected void
CopyProjectOperation.doExecute
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
CopyResourcesOperation.doExecute
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
CreateMarkersOperation.doExecute
(IProgressMonitor monitor, IAdaptable info) protected void
DeleteMarkersOperation.doExecute
(IProgressMonitor monitor, IAdaptable info) protected void
DeleteResourcesOperation.doExecute
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
MoveProjectOperation.doExecute
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
MoveResourcesOperation.doExecute
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
UpdateMarkersOperation.doExecute
(IProgressMonitor monitor, IAdaptable info) protected abstract void
AbstractWorkspaceOperation.doUndo
(IProgressMonitor monitor, IAdaptable uiInfo) Perform the specific work involved in undoing this operation.protected void
CopyProjectOperation.doUndo
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
CopyResourcesOperation.doUndo
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
CreateMarkersOperation.doUndo
(IProgressMonitor monitor, IAdaptable info) protected void
DeleteMarkersOperation.doUndo
(IProgressMonitor monitor, IAdaptable info) protected void
DeleteResourcesOperation.doUndo
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
MoveProjectOperation.doUndo
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
MoveResourcesOperation.doUndo
(IProgressMonitor monitor, IAdaptable uiInfo) protected void
UpdateMarkersOperation.doUndo
(IProgressMonitor monitor, IAdaptable info) 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) Deprecated.Record the appropriate state of this resource description using any available resource history. -
Uses of CoreException in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionstatic Object
WorkbenchPlugin.createExtension
(IConfigurationElement element, String classAttribute) Creates an extension.static Boolean
WindowsDefenderConfigurator.runCheckEnforced
(IProgressMonitor m) Opens the dialog to run the exclusion, regardless of any preference.static void
WindowsDefenderConfigurator.savePreference
(IScopeContext scope, String key, String value) -
Uses of CoreException in org.eclipse.ui.intro.universal
Modifier and TypeMethodDescriptionExtensionFactory.create()
void
ExtensionFactory.setInitializationData
(IConfigurationElement config, String propertyName, Object data) -
Uses of CoreException in org.eclipse.ui.part
Modifier and TypeMethodDescriptionprotected static IDropActionDelegate
PluginDropAdapter.getPluginAdapter
(PluginTransferData data) Loads the class that will perform the action associated with the given drop data. -
Uses of CoreException in org.eclipse.ui.plugin
Modifier and TypeMethodDescriptionvoid
AbstractUIPlugin.shutdown()
Deprecated.In Eclipse 3.0,shutdown
has been replaced byPlugin.stop(BundleContext context)
.void
AbstractUIPlugin.startup()
Deprecated. -
Uses of CoreException in org.eclipse.ui.statushandlers
Modifier and TypeMethodDescriptionvoid
StatusManager.handle
(CoreException coreException, String pluginId) Handles given CoreException. -
Uses of CoreException in org.eclipse.ui.texteditor
Modifier and TypeClassDescriptionclass
Deprecated.No longer used, create aCoreException
insteadModifier and TypeMethodDescriptionprotected void
AbstractMarkerAnnotationModel.handleCoreException
(CoreException exception, String message) Handles an unanticipatedCoreException
in a standard manner.protected void
MarkerRulerAction.handleCoreException
(CoreException exception, String message) Handles core exceptions.protected final 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
AbstractDecoratedTextEditor.openSaveErrorDialog
(String title, String message, CoreException exception) Presents an error dialog to the user when a problem happens during save.protected void
AbstractTextEditor.openSaveErrorDialog
(String title, String message, CoreException exception) Presents an error dialog to the user when a problem happens during save.Modifier and TypeMethodDescriptionvoid
final void
void
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.HyperlinkDetectorDescriptor.createHyperlinkDetector()
Deprecated.As of 3.9, replaced byHyperlinkDetectorDescriptor.createHyperlinkDetectorImplementation()
HyperlinkDetectorDescriptor.createHyperlinkDetectorImplementation()
Creates a newIHyperlinkDetector
.static void
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
AbstractDecoratedTextEditor.doSetInput
(IEditorInput input) protected void
AbstractTextEditor.doSetInput
(IEditorInput input) Called directly fromsetInput
and from within a workspace runnable frominit
, this method does the actual setting of the editor input.protected void
StatusTextEditor.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.AbstractDocumentProvider.getContentType
(Object element) IDocumentProviderExtension4.getContentType
(Object element) Returns the content type of for the given element ornull
if none could be determined.final 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()
final 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.final void
AbstractDocumentProvider.synchronize
(Object element) void
IDocumentProviderExtension.synchronize
(Object element) Synchronizes the document provided for the given element with the given element.boolean
AbstractMarkerAnnotationModel.updateMarker
(IMarker marker, IDocument document, Position position) Deprecated.useupdateMarker(IDocument, IMarker, Position)
instead.boolean
AbstractMarkerAnnotationModel.updateMarker
(IDocument document, IMarker marker, Position position) Updates the given marker according to the given position in the given document.void
AbstractMarkerAnnotationModel.updateMarkers
(IDocument document) Updates the markers managed by this annotation model by calling all registered marker updaters (IMarkerUpdater
).final void
AbstractDocumentProvider.updateStateCache
(Object element) void
IDocumentProviderExtension.updateStateCache
(Object element) Updates the state cache for the given element.void
AbstractDocumentProvider.validateState
(Object element, Object computationContext) void
IDocumentProviderExtension.validateState
(Object element, Object computationContext) Validates the state of the given element. -
Uses of CoreException in org.eclipse.ui.texteditor.quickdiff
Modifier and TypeMethodDescriptionIQuickDiffReferenceProvider.getReference
(IProgressMonitor monitor) Returns the reference document for the quick diff display. -
Uses of CoreException in org.eclipse.ui.texteditor.rulers
Modifier and TypeMethodDescriptionRulerColumnDescriptor.createColumn
(ITextEditor editor) Creates aIContributedRulerColumn
instance as described by the receiver. -
Uses of CoreException in org.eclipse.ui.texteditor.spelling
Modifier and TypeMethodDescriptionSpellingEngineDescriptor.createEngine()
Creates a spelling engine as described in the extension's xml.SpellingEngineDescriptor.createPreferences()
Creates a spelling preferences block as described in the extension's xml. -
Uses of CoreException in org.eclipse.ui.themes
Modifier and TypeMethodDescriptionvoid
RGBBlendColorFactory.setInitializationData
(IConfigurationElement config, String propertyName, Object data) This executable extension requires parameters to be explicitly declared via the second method described in theIExecutableExtension
documentation. -
Uses of CoreException in org.eclipse.ui.views
Modifier and TypeMethodDescriptionIViewDescriptor.createView()
Creates an instance of the view defined in the descriptor. -
Uses of CoreException in org.eclipse.ui.views.markers
-
Uses of CoreException in org.eclipse.ui.wizards
IFlushable.flush(IProgressMonitor)
.