|
||||||||||
| 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
pl.edu.agh.cast.dataview.ui.editor.DataTableEditor
public class DataTableEditor
Data View Editor. Shows input data as table.
| Field Summary | |
|---|---|
static String |
ID
data-view editor ID. |
protected org.eclipse.jface.viewers.TableViewer |
viewer
Tree viewer which is used by this view. |
| Fields inherited from interface org.eclipse.ui.IEditorPart |
|---|
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
DataTableEditor()
|
|
| Method Summary | |
|---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
void |
doSave(org.eclipse.core.runtime.IProgressMonitor arg0)
|
void |
doSaveAs()
|
void |
enableFiltering(boolean enabled)
Enables column filtering on viewed table. |
IGeneralDataSet<IGeneralElement> |
getDataSet()
|
String |
getPartName()
|
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
|
boolean |
isDirty()
Always returns false - user cannot modify data. |
boolean |
isFilteringEnabled()
|
boolean |
isSaveAsAllowed()
No modifications allowed so save is not allowed. |
void |
setFocus()
|
| Methods inherited from class org.eclipse.ui.part.EditorPart |
|---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, dispose, getSite, getTitle, getTitleImage, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final String ID
protected org.eclipse.jface.viewers.TableViewer viewer
| Constructor Detail |
|---|
public DataTableEditor()
| Method Detail |
|---|
public void init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
throws org.eclipse.ui.PartInitException
init in interface org.eclipse.ui.IEditorPartinit in class org.eclipse.ui.part.EditorPartorg.eclipse.ui.PartInitExceptionEditorPart.init(org.eclipse.ui.IEditorSite, org.eclipse.ui.IEditorInput)public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)public void enableFiltering(boolean enabled)
enabled - If filtering should be enabled.public boolean isFilteringEnabled()
public IGeneralDataSet<IGeneralElement> getDataSet()
public String getPartName()
getPartName in interface org.eclipse.ui.IWorkbenchPart2getPartName in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartWorkbenchPart.setFocus()public boolean isDirty()
isDirty in interface org.eclipse.ui.ISaveablePartisDirty in class org.eclipse.ui.part.EditorPartEditorPart.isDirty()public boolean isSaveAsAllowed()
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePartisSaveAsAllowed in class org.eclipse.ui.part.EditorPartEditorPart.isSaveAsAllowed()public void doSave(org.eclipse.core.runtime.IProgressMonitor arg0)
doSave in interface org.eclipse.ui.ISaveablePartdoSave in class org.eclipse.ui.part.EditorPartEditorPart.doSave(org.eclipse.core.runtime.IProgressMonitor)public void doSaveAs()
doSaveAs in interface org.eclipse.ui.ISaveablePartdoSaveAs in class org.eclipse.ui.part.EditorPartEditorPart.doSaveAs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||