|
||||||||||
| 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 class org.eclipse.amp.axf.view.ModelViewPart |
|---|
propertySheetPage |
| 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)
|
SpringPartitionLayoutAlgorithm |
createSpringLayout()
Creates the spring layout. |
java.lang.Object |
getAdapter(java.lang.Class type)
|
double |
getGravity()
Gets the gravity. |
protected org.eclipse.jface.viewers.ISelectionProvider |
getSelectionProvider()
|
org.eclipse.jface.action.IAction |
getSpringCustomizer()
Gets the spring customizer. |
SpringPartitionLayoutAlgorithm |
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 |
|---|
createSelectionListener, createSelectionSynchronizer, dispose |
| Methods inherited from class org.eclipse.amp.axf.view.ModelViewPart |
|---|
addModelListener, getModel, getModelListeners, getName, getPropertySheetPage, isSingle, propertyChange, removeModelListener, removeSelectionListener, setModel, setPartName |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData |
| 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 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.IWorkbenchPartcreatePartControl in class AGFViewPartparent - ModelViewPart.createPartControl(org.eclipse.swt.widgets.Composite)public SpringPartitionLayoutAlgorithm createSpringLayout()
public void setInput(org.eclipse.ui.IEditorInput input)
ModelViewPart
setInput in class ModelViewPartinput - the new inputpublic void createModelListeners()
IModelPart
createModelListeners in interface IModelPartcreateModelListeners in class ModelViewPartModelViewPart.createModelListeners()public void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class ModelViewPartIWorkbenchPart.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.IAdaptablegetAdapter in class AGFViewParttype -
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 SpringPartitionLayoutAlgorithm getSpringLayout()
public org.eclipse.jface.action.IAction getSpringCustomizer()
public void setSpringCustomizer(org.eclipse.jface.action.IAction springCustomizer)
springCustomizer - the new spring customizerprotected org.eclipse.jface.viewers.ISelectionProvider getSelectionProvider()
getSelectionProvider in class AGFViewPartAGFViewPart.getSelectionProvider()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||