Viewer
- the table viewer implementation to usepublic abstract class AbstractTableAction<Viewer extends org.eclipse.jface.viewers.AbstractTableViewer> extends Object implements Action
Constructor and Description |
---|
AbstractTableAction(ViewerActionContext<? extends Viewer> actionContext)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ViewerActionContext<? extends Viewer> |
getActionContext()
Returns the
ViewerActionContext . |
protected org.eclipse.emf.edit.domain.EditingDomain |
getEditingDomainForContainment() |
protected int |
getNumberOfVisibleRows()
Returns the number of visible viewer rows for the table control.
|
protected org.eclipse.jface.viewers.AbstractTableViewer |
getTableViewer()
Returns the table viewer object.
|
protected boolean |
isLowerBoundReached()
Returns true when the lower bound of the table setting has been reached.
|
protected boolean |
isOrdered()
Returns true when the table feature is ordered.
|
protected boolean |
isTableDisabled()
Returns whether the table is read-only.
|
protected boolean |
isUpperBoundReached()
Returns true when the upper bound of the table setting has been reached.
|
protected boolean |
isViewerSelectionInvalid()
Returns true when the table is read-only.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canExecute, execute, getId
public AbstractTableAction(ViewerActionContext<? extends Viewer> actionContext)
actionContext
- the ViewerActionContext
protected ViewerActionContext<? extends Viewer> getActionContext()
ViewerActionContext
.ViewerActionContext
protected org.eclipse.jface.viewers.AbstractTableViewer getTableViewer()
protected org.eclipse.emf.edit.domain.EditingDomain getEditingDomainForContainment()
protected boolean isTableDisabled()
protected boolean isLowerBoundReached()
protected boolean isUpperBoundReached()
protected boolean isOrdered()
protected boolean isViewerSelectionInvalid()
protected int getNumberOfVisibleRows()
Copyright © 2019. All rights reserved.