|
||||||||||
| 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.ViewPart
pl.edu.agh.cast.ui.AbstractConfigurableView
pl.edu.agh.cast.ui.AbstractTableView
public abstract class AbstractTableView
This class is base class for all views which implement the IConfigurableView and have TableViewer as visual
model.
| Field Summary | |
|---|---|
protected org.eclipse.jface.viewers.TableViewer |
viewer
Tree viewer which is used by this view. |
| Fields inherited from class pl.edu.agh.cast.ui.AbstractConfigurableView |
|---|
configuration, log |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
AbstractTableView()
|
|
| Method Summary | |
|---|---|
protected void |
createControl(org.eclipse.swt.widgets.Composite parent)
This method creates the tree control, it is intended to be changed in subclasses which need some more sophisticated control. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This method initializes the part control, i.e. |
void |
dispose()
|
Object |
getInput()
Returns the input of the view. |
protected org.eclipse.jface.viewers.TableViewer |
getViewer()
|
void |
setFocus()
This method sets the focus on the tree viewer. |
void |
setInput(Object object)
Sets the input for the viewer. |
| Methods inherited from class pl.edu.agh.cast.ui.AbstractConfigurableView |
|---|
activate, contributeToActionBars, getConfiguration, hookContextMenu, hookDoubleClickAction, init, makeActions, saveState |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, 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, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
protected org.eclipse.jface.viewers.TableViewer viewer
| Constructor Detail |
|---|
public AbstractTableView()
| Method Detail |
|---|
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)protected void createControl(org.eclipse.swt.widgets.Composite parent)
parent - parent controlpublic void setInput(Object object)
object - input objectpublic Object getInput()
public void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartWorkbenchPart.setFocus()public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartWorkbenchPart.dispose()protected org.eclipse.jface.viewers.TableViewer getViewer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||