|
||||||||||
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.IEditorPart
init
in class org.eclipse.ui.part.EditorPart
org.eclipse.ui.PartInitException
EditorPart.init(org.eclipse.ui.IEditorSite, org.eclipse.ui.IEditorInput)
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
WorkbenchPart.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.IWorkbenchPart2
getPartName
in class org.eclipse.ui.part.WorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
WorkbenchPart.setFocus()
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class org.eclipse.ui.part.EditorPart
EditorPart.isDirty()
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart
EditorPart.isSaveAsAllowed()
public void doSave(org.eclipse.core.runtime.IProgressMonitor arg0)
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class org.eclipse.ui.part.EditorPart
EditorPart.doSave(org.eclipse.core.runtime.IProgressMonitor)
public void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
EditorPart.doSaveAs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |