|
||||||||||
| 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.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartpublic void createPartControl(org.eclipse.swt.widgets.Composite composite)
SQLBuilderEditor.
Implements WorkbenchPart.createPartControl(Composite)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl 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.IEditorPartinit in class org.eclipse.ui.part.EditorPartorg.eclipse.ui.PartInitExceptionpublic void doSave(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
EditorPart.doSave(IProgressMonitor)
doSave in interface org.eclipse.ui.ISaveablePartdoSave in class org.eclipse.ui.part.EditorPartmonitor - the progress monitor to use.public void doSaveAs()
EditorPart.doSaveAs()
doSaveAs in interface org.eclipse.ui.ISaveablePartdoSaveAs in class org.eclipse.ui.part.EditorPartpublic boolean isSaveAsAllowed()
EditorPart.isSaveAsAllowed()
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePartisSaveAsAllowed in class org.eclipse.ui.part.EditorPartpublic boolean isDirty()
isDirty in interface org.eclipse.ui.ISaveablePartisDirty in class org.eclipse.ui.part.EditorPartpublic void setResourceRemoved(boolean value)
public void notifyContentChange()
IContentChangeListener.notifyContentChange()
notifyContentChange in interface IContentChangeListenerpublic void updateDirtyStatus()
public void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic SQLBuilder getSQLBuilder()
public java.lang.Object getAdapter(java.lang.Class key)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class org.eclipse.ui.part.WorkbenchPartpublic 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.ISelectionProviderpublic org.eclipse.jface.viewers.ISelection getSelection()
getSelection in interface org.eclipse.jface.viewers.ISelectionProviderpublic void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener in interface org.eclipse.jface.viewers.ISelectionProviderpublic 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 | |||||||||