|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilderEditor
public class SQLBuilderEditor
SQL Query Builder content editor.
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IEditorPart |
---|
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
SQLBuilderEditor()
Constructor for SQLBuilderEditor |
Method Summary | |
---|---|
void |
addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
createPartControl(org.eclipse.swt.widgets.Composite composite)
Create the UI for this SQLBuilderEditor . |
void |
dispose()
Overrides WorkbenchPart.dispose() |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Implements EditorPart.doSave(IProgressMonitor) |
void |
doSaveAs()
Implements EditorPart.doSaveAs() |
SQLBuilderActionBarContributor |
getActionBarContributor()
|
java.lang.Object |
getAdapter(java.lang.Class key)
|
org.eclipse.jface.viewers.ISelection |
getSelection()
|
SQLBuilder |
getSQLBuilder()
|
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput editorInput)
Called during startup. |
boolean |
isDirty()
|
boolean |
isSaveAsAllowed()
Implements EditorPart.isSaveAsAllowed() |
void |
notifyContentChange()
Implements IContentChangeListener.notifyContentChange() |
void |
refreshConnectionStatus()
Refreshes the status area indicating the connection state. |
void |
removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
setActionBarContributor(SQLBuilderActionBarContributor contributor)
Sets the action contributor associated with this editor. |
void |
setFocus()
|
void |
setResourceRemoved(boolean value)
|
void |
setSelection(org.eclipse.jface.viewers.ISelection selection)
|
void |
updateDirtyStatus()
|
Methods inherited from class org.eclipse.ui.part.EditorPart |
---|
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
---|
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
Constructor Detail |
---|
public SQLBuilderEditor()
SQLBuilderEditor
Method Detail |
---|
public void dispose()
WorkbenchPart.dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public void createPartControl(org.eclipse.swt.widgets.Composite composite)
SQLBuilderEditor
.
Implements WorkbenchPart.createPartControl(Composite)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput editorInput) throws org.eclipse.ui.PartInitException
EditorPart.init(IEditorSite, IEditorInput)
init
in interface org.eclipse.ui.IEditorPart
init
in class org.eclipse.ui.part.EditorPart
org.eclipse.ui.PartInitException
public void doSave(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
EditorPart.doSave(IProgressMonitor)
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class org.eclipse.ui.part.EditorPart
monitor
- the progress monitor to use.public void doSaveAs()
EditorPart.doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
public boolean isSaveAsAllowed()
EditorPart.isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class org.eclipse.ui.part.EditorPart
public void setResourceRemoved(boolean value)
public void notifyContentChange()
IContentChangeListener.notifyContentChange()
notifyContentChange
in interface IContentChangeListener
public void updateDirtyStatus()
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public SQLBuilder getSQLBuilder()
public java.lang.Object getAdapter(java.lang.Class key)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.ui.part.WorkbenchPart
public SQLBuilderActionBarContributor getActionBarContributor()
public void setActionBarContributor(SQLBuilderActionBarContributor contributor)
public void refreshConnectionStatus()
public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
addSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public org.eclipse.jface.viewers.ISelection getSelection()
getSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public void setSelection(org.eclipse.jface.viewers.ISelection selection)
setSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |