|
||||||||||
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
org.eclipse.amp.axf.view.ModelViewPart
org.eclipse.amp.agf.gef.AGFViewPart
org.eclipse.amp.agf.zest.GraphViewPart
public class GraphViewPart
The Class GraphViewPart.
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
GraphViewPart()
|
Method Summary | |
---|---|
void |
createModelListeners()
Creates the model listeners. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm |
createSpringLayout()
Creates the spring layout. |
java.lang.Object |
getAdapter(java.lang.Class type)
|
double |
getGravity()
Gets the gravity. |
org.eclipse.jface.action.IAction |
getSpringCustomizer()
Gets the spring customizer. |
org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm |
getSpringLayout()
Gets the spring layout. |
double |
getSpringLength()
Gets the spring length. |
double |
getSpringMove()
Gets the spring move. |
double |
getStrain()
Gets the strain. |
org.eclipse.zest.core.viewers.GraphViewer |
getViewer()
Gets the viewer. |
void |
setFocus()
Sets the focus. |
void |
setGravity(double gravity)
Sets the gravity. |
void |
setInput(org.eclipse.ui.IEditorInput input)
Sets the input. |
void |
setLayoutAlgorithm(org.eclipse.zest.layouts.LayoutAlgorithm layout)
Sets the layout algorithm. |
void |
setSpringCustomizer(org.eclipse.jface.action.IAction springCustomizer)
Sets the spring customizer. |
void |
setSpringLength(double length)
Sets the spring length. |
void |
setSpringMove(double springMove)
Sets the spring move. |
void |
setStrain(double strain)
Sets the strain. |
Methods inherited from class org.eclipse.amp.agf.gef.AGFViewPart |
---|
createSelectionSynchronizer, dispose |
Methods inherited from class org.eclipse.amp.axf.view.ModelViewPart |
---|
addModelListener, getModel, getModelListeners, getName, getPropertySheetPage, isSingle, propertyChange, removeModelListener, setModel, setPartName |
Methods inherited from class org.eclipse.ui.part.ViewPart |
---|
getViewSite, init, init, saveState, setInitializationData |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
---|
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Constructor Detail |
---|
public GraphViewPart()
Method Detail |
---|
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class AGFViewPart
parent
- ModelViewPart.createPartControl(org.eclipse.swt.widgets.Composite)
public org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm createSpringLayout()
public void setInput(org.eclipse.ui.IEditorInput input)
ModelViewPart
setInput
in class ModelViewPart
input
- the new inputpublic void createModelListeners()
IModelPart
createModelListeners
in interface IModelPart
createModelListeners
in class ModelViewPart
ModelViewPart.createModelListeners()
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class ModelViewPart
IWorkbenchPart.setFocus()
public void setLayoutAlgorithm(org.eclipse.zest.layouts.LayoutAlgorithm layout)
layout
- the new layout algorithmpublic java.lang.Object getAdapter(java.lang.Class type)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class AGFViewPart
type
-
ModelViewPart.getAdapter(java.lang.Class)
public org.eclipse.zest.core.viewers.GraphViewer getViewer()
public double getStrain()
public void setStrain(double strain)
strain
- the new strainpublic double getSpringLength()
public void setSpringLength(double length)
length
- the new spring lengthpublic double getGravity()
public void setGravity(double gravity)
gravity
- the new gravitypublic double getSpringMove()
public void setSpringMove(double springMove)
springMove
- the new spring movepublic org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm getSpringLayout()
public org.eclipse.jface.action.IAction getSpringCustomizer()
public void setSpringCustomizer(org.eclipse.jface.action.IAction springCustomizer)
springCustomizer
- the new spring customizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |