Uses of Interface
org.eclipse.ui.IEditorPart
-
Packages that use IEditorPart Package Description org.eclipse.debug.ui Provides a generic debugger user interface that clients may customize via standard workbench extension points.org.eclipse.debug.ui.actions Provides a set of actions related to running and debugging applications.org.eclipse.debug.ui.sourcelookup Provides a user interface for debug platform source lookup facilities.org.eclipse.search.ui.actions Search actionsorg.eclipse.search.ui.text Provides the base classes to implement a search result view part for searches with textual matches.org.eclipse.ui Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.org.eclipse.ui.databinding APIs for Workbench properties and observables for use with data bindingorg.eclipse.ui.editors.text Provides a standard text editor and concrete document providers basedIFileBufferand others directly handlingIFileandIStorageas editor input.org.eclipse.ui.forms.editor Support for forms-based multi-page editors.org.eclipse.ui.handlers Provides support for integrating handlers into the Eclipse workbench.org.eclipse.ui.ide APIs for the IDE-specific portion of the Eclipse Platform User Interface.org.eclipse.ui.operations Classes that provide the basic workbench UI support for undo and redo of operations.org.eclipse.ui.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.org.eclipse.ui.texteditor.quickdiff Provides interfaces to for theorg.eclipse.ui.editors.quickDiffReferenceProviderextension point and adds an action to enable quick diff display for an editor.org.eclipse.ui.views.navigator Provides the standard Resource Navigator view which presents the tree of resources in the workspace. -
-
Uses of IEditorPart in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui with parameters of type IEditorPart Modifier and Type Method Description booleanIDebugEditorPresentation. addAnnotations(IEditorPart editorPart, IStackFrame frame)Positions and adds annotations to the given editor for the specified stack frame and returns whether any annotations were added.AnnotationIInstructionPointerPresentation. getInstructionPointerAnnotation(IEditorPart editorPart, IStackFrame frame)Returns an annotation used for the specified stack frame in the specified editor, ornullif a default annotation should be used.StringIInstructionPointerPresentation. getInstructionPointerAnnotationType(IEditorPart editorPart, IStackFrame frame)Returns an identifier of aorg.eclipse.ui.editors.annotationTypesextension used for the specified stack frame in the specified editor, ornullif a default annotation should be used.ImageIInstructionPointerPresentation. getInstructionPointerImage(IEditorPart editorPart, IStackFrame frame)Returns the instruction pointer image used for the specified stack frame in the specified editor, ornullif a default image should be used.StringIInstructionPointerPresentation. getInstructionPointerText(IEditorPart editorPart, IStackFrame frame)Returns the text to associate with the instruction pointer annotation used for the specified stack frame in the specified editor, ornullif a default message should be used.IResourceILaunchShortcut2. getLaunchableResource(IEditorPart editorpart)Returns anIResourcethat maps to given editor part for launch purposes, ornullif none.ILaunchConfiguration[]ILaunchShortcut2. getLaunchConfigurations(IEditorPart editorpart)Returns an array of existingILaunchConfigurations that could be used to launch the given editor part, an empty array if one could be created but does not exist, ornullif default resource mappings should be used to derive associated configurationsvoidILaunchShortcut. launch(IEditorPart editor, String mode)Locates a launchable entity in the given active editor, and launches an application in the specified mode.voidIDebugEditorPresentation. removeAnnotations(IEditorPart editorPart, IThread thread)Removes any debug related annotations from the given editor. -
Uses of IEditorPart in org.eclipse.debug.ui.actions
Methods in org.eclipse.debug.ui.actions with parameters of type IEditorPart Modifier and Type Method Description voidAddMemoryRenderingActionDelegate. setActiveEditor(IAction action, IEditorPart targetEditor)voidRulerBreakpointTypesActionDelegate. setActiveEditor(IAction callerAction, IEditorPart targetEditor)Deprecated.voidRulerRunToLineActionDelegate. setActiveEditor(IAction callerAction, IEditorPart targetEditor)voidRulerToggleBreakpointActionDelegate. setActiveEditor(IAction callerAction, IEditorPart targetEditor)voidRunToLineActionDelegate. setActiveEditor(IAction action, IEditorPart targetEditor) -
Uses of IEditorPart in org.eclipse.debug.ui.sourcelookup
Classes in org.eclipse.debug.ui.sourcelookup that implement IEditorPart Modifier and Type Class Description classCommonSourceNotFoundEditorDefault editor displayed when source is not found. -
Uses of IEditorPart in org.eclipse.search.ui.actions
Constructors in org.eclipse.search.ui.actions with parameters of type IEditorPart Constructor Description TextSearchGroup(IEditorPart editor)Constructs a TextSearchGroup for adding actions to the context menu of the editor provided. -
Uses of IEditorPart in org.eclipse.search.ui.text
Methods in org.eclipse.search.ui.text that return IEditorPart Modifier and Type Method Description protected IEditorPartAbstractTextSearchViewPage. open(IWorkbenchPage page, IFile file, boolean activate)Opens an editor on the given file resource.protected IEditorPartAbstractTextSearchViewPage. openAndSelect(IWorkbenchPage page, IFile file, int offset, int length, boolean activate)Opens an editor on the given file resource and tries to select the given offset and length.Methods in org.eclipse.search.ui.text with parameters of type IEditorPart Modifier and Type Method Description Match[]IEditorMatchAdapter. computeContainedMatches(AbstractTextSearchResult result, IEditorPart editor)Returns all matches that are contained in the element shown in the given editor.booleanIEditorMatchAdapter. isShownInEditor(Match match, IEditorPart editor)Determines whether a match should be displayed in the given editor. -
Uses of IEditorPart in org.eclipse.ui
Subinterfaces of IEditorPart in org.eclipse.ui Modifier and Type Interface Description interfaceIInPlaceEditorInterface for editor parts that represent an in-place style editor.interfaceIReusableEditorInterface for reusable editors.Methods in org.eclipse.ui that return IEditorPart Modifier and Type Method Description IEditorPartIWorkbenchPage. findEditor(IEditorInput input)Returns the editor with the specified input.IEditorPartIWorkbenchPage. getActiveEditor()Returns the active editor open in this page.IEditorPart[]IWorkbenchPage. getDirtyEditors()Returns a list of dirty editors in this page.IEditorPartIEditorReference. getEditor(boolean restore)Returns the editor referenced by this object.protected IEditorPartNavigationLocation. getEditorPart()Returns the part that the receiver holds the location for.IEditorPart[]IWorkbenchPage. getEditors()Deprecated.Clients are encouraged to useIWorkbenchPage.getEditorReferences()instead.IEditorPartIWorkbenchPage. openEditor(IEditorInput input, String editorId)Opens an editor on the given input.IEditorPartIWorkbenchPage. openEditor(IEditorInput input, String editorId, boolean activate)Opens an editor on the given input.IEditorPartIWorkbenchPage. openEditor(IEditorInput input, String editorId, boolean activate, int matchFlags)Opens an editor on the given input.Methods in org.eclipse.ui with parameters of type IEditorPart Modifier and Type Method Description booleanIWorkbenchPage. closeEditor(IEditorPart editor, boolean save)Closes the given editor.booleanIWorkbenchPage. isEditorPinned(IEditorPart editor)Returnstrueif the editor is pinned and should not be reused.voidINavigationHistory. markLocation(IEditorPart part)Mark the current location into the history.booleanIWorkbenchPage. saveEditor(IEditorPart editor, boolean confirm)Saves the contents of the given editor if dirty.voidIEditorActionBarContributor. setActiveEditor(IEditorPart targetEditor)Sets the active editor for the contributor.voidIEditorActionDelegate. setActiveEditor(IAction action, IEditorPart targetEditor)Sets the active editor for the delegate.Constructors in org.eclipse.ui with parameters of type IEditorPart Constructor Description NavigationLocation(IEditorPart editorPart)Constructs a NavigationLocation with its editor part. -
Uses of IEditorPart in org.eclipse.ui.databinding
Methods in org.eclipse.ui.databinding with parameters of type IEditorPart Modifier and Type Method Description static IObservableValue<IEditorInput>WorkbenchObservables. observeEditorInput(IEditorPart editor)Returns an observable value that tracks the editor input for the given editor. -
Uses of IEditorPart in org.eclipse.ui.editors.text
Classes in org.eclipse.ui.editors.text that implement IEditorPart Modifier and Type Class Description classTextEditorThe standard/default text editor.Methods in org.eclipse.ui.editors.text with parameters of type IEditorPart Modifier and Type Method Description voidTextEditorActionContributor. setActiveEditor(IEditorPart part) -
Uses of IEditorPart in org.eclipse.ui.forms.editor
Subinterfaces of IEditorPart in org.eclipse.ui.forms.editor Modifier and Type Interface Description interfaceIFormPageInterface that all GUI pages need to implement in order to be added to FormEditor part.Classes in org.eclipse.ui.forms.editor that implement IEditorPart Modifier and Type Class Description classFormEditorThis class forms a base of multi-page form editors that typically use one or more pages with forms and one page for raw source of the editor input.classFormPageA base class that all pages that should be added to FormEditor must subclass.classSharedHeaderFormEditorA variation ofFormEditor, this editor has a stable header that does not change when pages are switched.Methods in org.eclipse.ui.forms.editor that return IEditorPart Modifier and Type Method Description IEditorPartFormEditor. getActiveEditor()Widens the visibility of the method in the superclass.Methods in org.eclipse.ui.forms.editor with parameters of type IEditorPart Modifier and Type Method Description voidFormEditor. addPage(int index, IEditorPart editor, IEditorInput input)Adds a complete editor part to the multi-page editor at the specified position.intFormEditor. addPage(IEditorPart editor, IEditorInput input)Adds a complete editor part to the multi-page editor. -
Uses of IEditorPart in org.eclipse.ui.handlers
Methods in org.eclipse.ui.handlers that return IEditorPart Modifier and Type Method Description static IEditorPartHandlerUtil. getActiveEditor(ExecutionEvent event)Return the active editor.static IEditorPartHandlerUtil. getActiveEditorChecked(ExecutionEvent event)Return the active editor. -
Uses of IEditorPart in org.eclipse.ui.ide
Methods in org.eclipse.ui.ide that return IEditorPart Modifier and Type Method Description static IEditorPartResourceUtil. findEditor(IWorkbenchPage page, IFile file)Returns the editor in the given page whose input represents the given file, ornullif there is no such editor.static IEditorPartIDE. openEditor(IWorkbenchPage page, URI uri, String editorId, boolean activate)Opens an editor on the given IFileStore object.static IEditorPartIDE. openEditor(IWorkbenchPage page, IFile input)Opens an editor on the given file resource.static IEditorPartIDE. openEditor(IWorkbenchPage page, IFile input, boolean activate)Opens an editor on the given file resource.static IEditorPartIDE. openEditor(IWorkbenchPage page, IFile input, boolean activate, boolean determineContentType)Opens an editor on the given file resource.static IEditorPartIDE. openEditor(IWorkbenchPage page, IFile input, String editorId)Opens an editor on the given file resource.static IEditorPartIDE. openEditor(IWorkbenchPage page, IFile input, String editorId, boolean activate)Opens an editor on the given file resource.static IEditorPartIDE. openEditor(IWorkbenchPage page, IMarker marker)Opens an editor on the file resource of the given marker.static IEditorPartIDE. openEditor(IWorkbenchPage page, IMarker marker, boolean activate)Opens an editor on the file resource of the given marker.static IEditorPartIDE. openEditor(IWorkbenchPage page, IEditorInput input, String editorId)Opens an editor on the given object.static IEditorPartIDE. openEditor(IWorkbenchPage page, IEditorInput input, String editorId, boolean activate)Opens an editor on the given object.static IEditorPartIDE. openEditorOnFileStore(IWorkbenchPage page, IFileStore fileStore)Opens an editor on the given IFileStore object.static IEditorPartIDE. openInternalEditorOnFileStore(IWorkbenchPage page, IFileStore fileStore)Opens an internal editor on the given IFileStore object.Methods in org.eclipse.ui.ide with parameters of type IEditorPart Modifier and Type Method Description static voidIDE. gotoMarker(IEditorPart editor, IMarker marker)Sets the cursor and selection state for the given editor to reveal the position of the given marker. -
Uses of IEditorPart in org.eclipse.ui.operations
Constructors in org.eclipse.ui.operations with parameters of type IEditorPart Constructor Description NonLocalUndoUserApprover(IUndoContext context, IEditorPart part, Object[] affectedObjects, Class<?> preferredComparisonClass)Create a NonLocalUndoUserApprover associated with the specified editor and undo context -
Uses of IEditorPart in org.eclipse.ui.part
Classes in org.eclipse.ui.part that implement IEditorPart Modifier and Type Class Description classAbstractMultiEditorA AbstractMultiEditor is a composite of editors.classEditorPartAbstract base implementation of all workbench editors.classMultiEditorA MultiEditor is a composite of editors.classMultiPageEditorDeprecated.Use the classMultiPageEditorPartinsteadclassMultiPageEditorPartA multi-page editor is an editor with multiple pages, each of which may contain an editor or an arbitrary SWT control.Methods in org.eclipse.ui.part that return IEditorPart Modifier and Type Method Description IEditorPart[]MultiPageEditorPart. findEditors(IEditorInput input)Find the editors contained in this multi-page editor whose editor input match the provided input.IEditorPartAbstractMultiEditor. getActiveEditor()Returns the active inner editor.protected IEditorPartMultiPageEditorPart. getActiveEditor()Returns the active nested editor if there is one.protected IEditorPartMultiPageEditorPart. getEditor(int pageIndex)Returns the editor for the given page index.IEditorPartMultiPageEditorSite. getEditor()Returns the nested editor.IEditorPart[]AbstractMultiEditor. getInnerEditors()Returns an array with all inner editors.Methods in org.eclipse.ui.part with parameters of type IEditorPart Modifier and Type Method Description voidAbstractMultiEditor. activateEditor(IEditorPart part)Activates the given nested editor.voidMultiEditor. activateEditor(IEditorPart part)Activates the given nested editor.voidMultiPageEditorPart. addPage(int index, IEditorPart editor, IEditorInput input)Creates and adds a new page containing the given editor to this multi-page editor.intMultiPageEditorPart. addPage(IEditorPart editor, IEditorInput input)Creates and adds a new page containing the given editor to this multi-page editor.CompositeMultiEditor. createInnerPartControl(Composite parent, IEditorPart e)Create the control of the inner editor.protected IEditorSiteMultiPageEditorPart. createSite(IEditorPart editor)Creates the site for the given nested editor.protected abstract voidMultiEditor. drawGradient(IEditorPart innerEditor, MultiEditor.Gradient g)Draw the gradient in the title bar.protected intAbstractMultiEditor. getIndex(IEditorPart editor)Returns the index of the given nested editor.voidEditorActionBarContributor. setActiveEditor(IEditorPart targetEditor)Sets the active editor for the contributor.voidMultiPageEditorActionBarContributor. setActiveEditor(IEditorPart part)voidMultiPageEditorPart. setActiveEditor(IEditorPart editorPart)Set the active page of this multi-page editor to the page that contains the given editor part.abstract voidMultiPageEditorActionBarContributor. setActivePage(IEditorPart activeEditor)Sets the active page of the the multi-page editor to be the given editor.voidAbstractMultiEditor. setChildren(IEditorPart[] children)Set the inner editors.voidMultiEditor. updateGradient(IEditorPart editor)Updates the gradient in the title bar.Constructors in org.eclipse.ui.part with parameters of type IEditorPart Constructor Description MultiPageEditorSite(MultiPageEditorPart multiPageEditor, IEditorPart editor)Creates a site for the given editor nested within the given multi-page editor. -
Uses of IEditorPart in org.eclipse.ui.texteditor
Subinterfaces of IEditorPart in org.eclipse.ui.texteditor Modifier and Type Interface Description interfaceITextEditorInterface to a text editor.Classes in org.eclipse.ui.texteditor that implement IEditorPart Modifier and Type Class Description classAbstractDecoratedTextEditorAn intermediate editor comprising functionality not present in the leanerAbstractTextEditor, but used in many heavy weight (and especially source editing) editors, such as line numbers, change ruler, overview ruler, print margins, current line highlighting, etc.classAbstractTextEditorAbstract base implementation of a text editor.classStatusTextEditorCapable of handling input elements that have an associated status with them.Methods in org.eclipse.ui.texteditor that return IEditorPart Modifier and Type Method Description protected IEditorPartBasicTextEditorActionContributor. getActiveEditorPart()Returns the active editor part.Methods in org.eclipse.ui.texteditor with parameters of type IEditorPart Modifier and Type Method Description voidTextSelectionNavigationLocation. partSaved(IEditorPart part)Hook method which is called when the given editor has been saved.voidAbstractRulerActionDelegate. setActiveEditor(IAction callerAction, IEditorPart targetEditor)voidBasicTextEditorActionContributor. setActiveEditor(IEditorPart part)TheBasicTextEditorActionContributorimplementation of thisIEditorActionBarContributormethod installs the global action handler for the given text editor by calling a private helper method. -
Uses of IEditorPart in org.eclipse.ui.texteditor.quickdiff
Methods in org.eclipse.ui.texteditor.quickdiff with parameters of type IEditorPart Modifier and Type Method Description voidQuickDiffToggleAction. setActiveEditor(IAction action, IEditorPart targetEditor) -
Uses of IEditorPart in org.eclipse.ui.views.navigator
Methods in org.eclipse.ui.views.navigator with parameters of type IEditorPart Modifier and Type Method Description protected voidResourceNavigator. editorActivated(IEditorPart editor)Deprecated.An editor has been activated.
-