public class ExtendedGraphViewer
extends org.eclipse.zest.core.viewers.GraphViewer
Constructor and Description |
---|
ExtendedGraphViewer(org.eclipse.swt.widgets.Composite composite,
int style)
Public builder of an ExtendedGraphViewer.
|
Modifier and Type | Method and Description |
---|---|
void |
applyLayout() |
void |
forceApplyLayout()
Public method to apply the layout algorithm even when the configuration does not allow it.
|
org.eclipse.draw2d.IFigure[] |
getFiguresAtPosition(int x,
int y)
Public method to get the IFigures in a position given its coordinates.
|
org.eclipse.draw2d.IFigure[] |
getFiguresAtPosition(org.eclipse.draw2d.geometry.Point p)
Public method to get the IFigures in a position Point.
|
boolean |
isLayoutApplicable()
Getter of the field layoutApplicable
|
void |
setLayoutApplicable(boolean layoutApplicable)
Setter of the field layoutApplicable
|
addSelectionChangedListener, findGraphItem, getConnectionElements, getControl, getFactory, getGraphControl, getLayoutAlgorithm, getNodeElements, getStyle, getZoomManager, hookControl, removeSelectionChangedListener, reveal, setConnectionStyle, setContentProvider, setControl, setLayoutAlgorithm, setLayoutAlgorithm, setNodeStyle, setSelectionToWidget, unReveal
addConstraintAdapter, addNode, addRelationship, addRelationship, doFindInputItem, doFindItem, doUpdateItem, filterVisuals, findItems, getConnectionsArray, getConnectionStyle, getConstraintAdapters, getGraphStyle, getNodesArray, getNodeStyle, getRawChildren, getSelectionFromWidget, getWidgetSelection, inputChanged, internalRefresh, removeNode, removeRelationship
addDoubleClickListener, addDragSupport, addDropSupport, addFilter, addOpenListener, addPostSelectionChangedListener, assertContentProviderType, assertElementsNotNull, associate, buildLabel, disassociate, equals, filter, findItem, findItems, fireDoubleClick, fireOpen, firePostSelectionChanged, getColorAndFontCollector, getComparator, getComparer, getFilteredChildren, getFilters, getItem, getRoot, getSelection, getSortedChildren, getSorter, getStructuredSelection, handleDispose, handleDoubleSelect, handleInvalidSelection, handleLabelProviderChanged, handleOpen, handlePostSelect, handleSelect, hasFilters, internalRefresh, internalUpdate, mapElement, needsRefilter, preservingSelection, refresh, refresh, refresh, refresh, refreshItem, removeDoubleClickListener, removeFilter, removeOpenListener, removePostSelectionChangedListener, resetFilters, setComparator, setComparer, setFilters, setInput, setLabelProvider, setSelection, setSelectionToWidget, setSorter, setUseHashlookup, testFindItem, testFindItems, unmapAllElements, unmapElement, unmapElement, update, update, updateItem, updateSelection, usingElementMap
getContentProvider, getInput, getLabelProvider, labelProviderChanged
addHelpListener, fireHelpRequested, fireSelectionChanged, getData, handleHelpRequest, removeHelpListener, scrollDown, scrollUp, setData, setSelection
public ExtendedGraphViewer(org.eclipse.swt.widgets.Composite composite, int style)
composite
- Composite in which the viewer will be placed. It must have a FillLayout.style
- SWT style associated to this GraphViewer.public boolean isLayoutApplicable()
public void setLayoutApplicable(boolean layoutApplicable)
layoutApplicable
- boolean with the new value.public org.eclipse.draw2d.IFigure[] getFiguresAtPosition(org.eclipse.draw2d.geometry.Point p)
p
- Point where this method will search the IFigures.public org.eclipse.draw2d.IFigure[] getFiguresAtPosition(int x, int y)
x
- X coordinate of the point where this method will search.y
- Y coordinate of the point where this method will search.public void applyLayout()
applyLayout
in class org.eclipse.zest.core.viewers.GraphViewer
public void forceApplyLayout()