@Deprecated
public class QueryEditor
extends MultiPageEditorPart
| Modifier and Type | Class and Description |
|---|---|
class |
QueryEditor.ReverseAdapterFactoryContentProvider
Deprecated.
|
| Constructor and Description |
|---|
QueryEditor()
Deprecated.
This creates a model editor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionChangedListener(ISelectionChangedListener listener)
Deprecated.
This implements
org.eclipse.jface.viewers.ISelectionProvider. |
Diagnostic |
analyzeResourceProblems(Resource resource,
java.lang.Exception exception)
Deprecated.
Returns a diagnostic describing the errors and warnings listed in the
resource and the specified exception (if any).
|
void |
createModel()
Deprecated.
This is the method called to load a resource into the editing domain's
resource set based on the editor's input.
|
void |
createPages()
Deprecated.
This is the method used by the framework to install your own controls.
|
void |
dispose()
Deprecated.
|
void |
doSave(IProgressMonitor progressMonitor)
Deprecated.
This is for implementing
IEditorPart and simply saves the model
file. |
void |
doSaveAs()
Deprecated.
This also changes the editor's input.
|
EditingDomainActionBarContributor |
getActionBarContributor()
Deprecated.
|
IActionBars |
getActionBars()
Deprecated.
|
java.lang.Object |
getAdapter(java.lang.Class key)
Deprecated.
This is how the framework determines which interfaces we implement.
|
AdapterFactory |
getAdapterFactory()
Deprecated.
|
IContentOutlinePage |
getContentOutlinePage()
Deprecated.
This accesses a cached version of the content outliner.
|
EditingDomain |
getEditingDomain()
Deprecated.
This returns the editing domain as required by the
IEditingDomainProvider interface. |
IPropertySheetPage |
getPropertySheetPage()
Deprecated.
This accesses a cached version of the property sheet.
|
ISelection |
getSelection()
Deprecated.
This implements
org.eclipse.jface.viewers.ISelectionProvider to
return this editor's overall selection. |
ShowInContext |
getShowInContext()
Deprecated.
Return the selected items, so that the "Show In" menu can be built by
Eclipse according to the kind of items selected
|
java.lang.String[] |
getShowInTargetIds()
Deprecated.
Return the additional IDs of the views that we want the user to be able
to navigate to, when using the "Show In" menu
|
Viewer |
getViewer()
Deprecated.
This returns the viewer as required by the
IViewerProvider
interface. |
void |
gotoMarker(IMarker marker)
Deprecated.
|
void |
handleContentOutlineSelection(ISelection selection)
Deprecated.
This deals with how we want selection in the outliner to affect the other
views.
|
void |
init(IEditorSite site,
IEditorInput editorInput)
Deprecated.
This is called during startup.
|
boolean |
isDirty()
Deprecated.
This is for implementing
IEditorPart and simply tests the command
stack. |
boolean |
isSaveAsAllowed()
Deprecated.
This always returns true because it is not currently supported.
|
void |
menuAboutToShow(IMenuManager menuManager)
Deprecated.
This implements
org.eclipse.jface.action.IMenuListener to help
fill the context menus with contributions from the Edit menu. |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
Deprecated.
This implements
org.eclipse.jface.viewers.ISelectionProvider. |
void |
setCurrentViewer(Viewer viewer)
Deprecated.
This makes sure that one content viewer, either for the current page or
the outline view, if it has focus, is the current one.
|
void |
setCurrentViewerPane(ViewerPane viewerPane)
Deprecated.
|
void |
setFocus()
Deprecated.
|
void |
setSelection(ISelection selection)
Deprecated.
This implements
org.eclipse.jface.viewers.ISelectionProvider to
set this editor's overall selection. |
void |
setSelectionToViewer(java.util.Collection<?> collection)
Deprecated.
This sets the selection into whichever viewer is active.
|
void |
setSelectionToViewer(EObject eObject)
Deprecated.
|
void |
setStatusLineManager(ISelection selection)
Deprecated.
|
public QueryEditor()
public void setSelectionToViewer(java.util.Collection<?> collection)
public void setSelectionToViewer(EObject eObject)
public EditingDomain getEditingDomain()
IEditingDomainProvider interface. This is important for
implementing the static methods of AdapterFactoryEditingDomain
and for supporting org.eclipse.emf.edit.ui.action.CommandAction.
public void setCurrentViewerPane(ViewerPane viewerPane)
public void setCurrentViewer(Viewer viewer)
public Viewer getViewer()
IViewerProvider
interface. public void createModel()
public Diagnostic analyzeResourceProblems(Resource resource,
java.lang.Exception exception)
public void createPages()
public java.lang.Object getAdapter(java.lang.Class key)
public IContentOutlinePage getContentOutlinePage()
public IPropertySheetPage getPropertySheetPage()
public void handleContentOutlineSelection(ISelection selection)
public boolean isDirty()
IEditorPart and simply tests the command
stack. public void doSave(IProgressMonitor progressMonitor)
IEditorPart and simply saves the model
file. public boolean isSaveAsAllowed()
public void doSaveAs()
public void gotoMarker(IMarker marker)
public void init(IEditorSite site,
IEditorInput editorInput)
public void setFocus()
public void addSelectionChangedListener(ISelectionChangedListener listener)
org.eclipse.jface.viewers.ISelectionProvider.
public void removeSelectionChangedListener(ISelectionChangedListener listener)
org.eclipse.jface.viewers.ISelectionProvider.
public ISelection getSelection()
org.eclipse.jface.viewers.ISelectionProvider to
return this editor's overall selection. public void setSelection(ISelection selection)
org.eclipse.jface.viewers.ISelectionProvider to
set this editor's overall selection. Calling this result will notify the
listeners. public void setStatusLineManager(ISelection selection)
public void menuAboutToShow(IMenuManager menuManager)
org.eclipse.jface.action.IMenuListener to help
fill the context menus with contributions from the Edit menu. public EditingDomainActionBarContributor getActionBarContributor()
public IActionBars getActionBars()
public AdapterFactory getAdapterFactory()
public void dispose()
public ShowInContext getShowInContext()
public java.lang.String[] getShowInTargetIds()