|
JIVE Platform Release 0.2.2 |
|||||||||
| 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
edu.buffalo.cse.jive.ui.AbstractJiveView
edu.buffalo.cse.jive.ui.AbstractGraphicalJiveView
public abstract class AbstractGraphicalJiveView
An abstract IGraphicalJiveView using a ScalableRootEditPart
as its RootEditPart. It also provides zooming controls for its
tool bar.
IGraphicalJiveView,
GraphicalViewer,
ScalableRootEditPart| Field Summary | |
|---|---|
protected static String |
ZOOM_CONTROLS_GROUP
The group used to hold actions having to do with diagram zooming. |
| Fields inherited from class edu.buffalo.cse.jive.ui.AbstractJiveView |
|---|
DISPLAY_TARGET_GROUP, REMOVE_TERMINATED_GROUP, STEP_CONTROLS_GROUP |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
AbstractGraphicalJiveView()
|
|
| Method Summary | |
|---|---|
protected void |
configureToolBar(IToolBarManager manager)
Adds the actions to the tool bar using the supplied tool bar manager. |
protected void |
createContextMenu()
Creates the context menu for the view. |
protected abstract org.eclipse.gef.ContextMenuProvider |
createContextMenuProvider()
Creates a ContextMenuProvider to be used as the
MenuManager for the viewer's context menu. |
protected abstract org.eclipse.gef.EditPartFactory |
createEditPartFactory()
Creates the EditPartFactory to be used by the viewer in order to
create EditParts for elements of the model. |
protected abstract org.eclipse.gef.GraphicalViewer |
createGraphicalViewer()
Creates a GraphicalViewer to be used as the view part's viewer. |
Object |
getAdapter(Class type)
|
org.eclipse.gef.GraphicalViewer |
getViewer()
Returns the GraphicalViewer used by the view part to display its
input. |
protected void |
initializeViewer(Composite parent)
Called immediately in AbstractJiveView.createPartControl(Composite) to initialize
the internal viewer for the view. |
void |
setFocus()
|
protected void |
setViewerInput(IJiveDebugTarget target)
Sets the internal viewer's input to that of the supplied target. |
| Methods inherited from class edu.buffalo.cse.jive.ui.AbstractJiveView |
|---|
addUpdatableAction, configurePullDownMenu, createActions, createPartControl, display, dispose, getDefaultContentDescription, getDisplayDropDownDisabledImageDescriptor, getDisplayDropDownEnabledImageDescriptor, getDisplayed, getDisplayTargetDropDownText, handleDebugEvents, launchAdded, launchChanged, launchRemoved, propertyChange, selectionChanged |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, 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 edu.buffalo.cse.jive.ui.IJiveView |
|---|
display, getDisplayed |
| Methods inherited from interface org.eclipse.ui.IViewPart |
|---|
getViewSite, init, init, saveState |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Field Detail |
|---|
protected static final String ZOOM_CONTROLS_GROUP
| Constructor Detail |
|---|
public AbstractGraphicalJiveView()
| Method Detail |
|---|
public org.eclipse.gef.GraphicalViewer getViewer()
IGraphicalJiveViewGraphicalViewer used by the view part to display its
input.
getViewer in interface IGraphicalJiveViewprotected void initializeViewer(Composite parent)
AbstractJiveViewAbstractJiveView.createPartControl(Composite) to initialize
the internal viewer for the view. Subclasses must implement this method
for the specific framework being used.
initializeViewer in class AbstractJiveViewparent - the parent widget of the viewerprotected abstract org.eclipse.gef.GraphicalViewer createGraphicalViewer()
GraphicalViewer to be used as the view part's viewer.
This method is called by initializeViewer(Composite), and the
resulting viewer is used during the lifetime of the view part.
protected abstract org.eclipse.gef.EditPartFactory createEditPartFactory()
EditPartFactory to be used by the viewer in order to
create EditParts for elements of the model. This method is
called by initializeViewer(Composite), and the resulting factory
is used during the lifetime of the view part.
protected void createContextMenu()
AbstractJiveView
createContextMenu in class AbstractJiveViewprotected abstract org.eclipse.gef.ContextMenuProvider createContextMenuProvider()
ContextMenuProvider to be used as the
MenuManager for the viewer's context menu. This method is called
by createContextMenu(), and the resulting manager is used during
the lifetime of the view part.
protected void configureToolBar(IToolBarManager manager)
AbstractJiveView
configureToolBar in class AbstractJiveViewmanager - the manager used to add the actions to the tool barprotected void setViewerInput(IJiveDebugTarget target)
AbstractJiveView
setViewerInput in class AbstractJiveViewtarget - the target to set as input.public void setFocus()
setFocus in interface IWorkbenchPartsetFocus in class WorkbenchPartpublic Object getAdapter(Class type)
getAdapter in interface IAdaptablegetAdapter in class WorkbenchPart
|
JIVE Platform Release 0.2.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||