|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectViewPart
org.eclipse.amp.axf.view.ModelViewPart
org.eclipse.amp.agf.zest.ZestViewPart
public class ZestViewPart
The Class ZestViewPart.
| Field Summary | |
|---|---|
(package private) double |
gravity
|
(package private) IAction |
springCustomizer
|
(package private) double |
springLength
|
(package private) double |
springMove
|
private SpringLayoutAlgorithm |
springs
|
(package private) double |
strain
|
private GraphViewer |
viewer
|
| Fields inherited from class org.eclipse.amp.axf.view.ModelViewPart |
|---|
propertySheetPage |
| Constructor Summary | |
|---|---|
ZestViewPart()
|
|
| Method Summary | |
|---|---|
void |
createModelListeners()
Creates the model listeners. |
void |
createPartControl(Composite parent)
|
SpringLayoutAlgorithm |
createSpringLayout()
Creates the spring layout. |
void |
dispose()
|
java.lang.Object |
getAdapter(java.lang.Class type)
|
double |
getGravity()
Gets the gravity. |
IAction |
getSpringCustomizer()
Gets the spring customizer. |
SpringLayoutAlgorithm |
getSpringLayout()
Gets the spring layout. |
double |
getSpringLength()
Gets the spring length. |
double |
getSpringMove()
Gets the spring move. |
double |
getStrain()
Gets the strain. |
GraphViewer |
getViewer()
Gets the viewer. |
void |
setFocus()
Sets the focus. |
void |
setGravity(double gravity)
Sets the gravity. |
void |
setInput(IEditorInput input)
Sets the input. |
void |
setLayoutAlgorithm(LayoutAlgorithm layout)
Sets the layout algorithm. |
void |
setSpringCustomizer(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.axf.view.ModelViewPart |
|---|
addModelListener, createSelectionListener, getModel, getModelListeners, getName, getPropertySheetPage, isSingle, propertyChange, removeModelListener, removeSelectionListener, setModel, setPartName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private GraphViewer viewer
private SpringLayoutAlgorithm springs
IAction springCustomizer
double gravity
double strain
double springLength
double springMove
| Constructor Detail |
|---|
public ZestViewPart()
| Method Detail |
|---|
public void createPartControl(Composite parent)
createPartControl in class ModelViewPartparent - org.eclipse.amp.axf.view.ModelViewPart#createPartControl(org.eclipse.swt.widgets.Composite)public SpringLayoutAlgorithm createSpringLayout()
public void setInput(IEditorInput input)
ModelViewPart
setInput in class ModelViewPartinput - org.eclipse.amp.axf.view.ModelViewPart#setInput(org.eclipse.ui.IEditorInput)public void createModelListeners()
IModelPart
createModelListeners in interface IModelPartcreateModelListeners in class ModelViewPartModelViewPart.createModelListeners()public void setFocus()
setFocus in class ModelViewPartorg.eclipse.ui.IWorkbenchPart#setFocus()public void setLayoutAlgorithm(LayoutAlgorithm layout)
layout - the new layout algorithmpublic java.lang.Object getAdapter(java.lang.Class type)
getAdapter in class ModelViewParttype -
ModelViewPart.getAdapter(java.lang.Class)public 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 SpringLayoutAlgorithm getSpringLayout()
public IAction getSpringCustomizer()
public void setSpringCustomizer(IAction springCustomizer)
springCustomizer - the new spring customizerpublic void dispose()
dispose in class ModelViewPartModelViewPart.dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||