Class LayoutOperation
- java.lang.Object
-
- org.opennms.features.topology.api.AbstractCheckedOperation
-
- org.opennms.features.topology.app.internal.operations.LayoutOperation
-
- All Implemented Interfaces:
CheckedOperation,HistoryOperation,Operation
- Direct Known Subclasses:
CircleLayoutOperation,D3TopoLayoutOperation,FRLayoutOperation,GridLayoutOperation,HierarchyLayoutOperation,ISOMLayoutOperation,KKLayoutOperation,ManualLayoutOperation,RealUltimateLayoutOperation,SimpleLayoutOperation,SpringLayoutOperation,TopoFRLayoutOperation
public abstract class LayoutOperation extends AbstractCheckedOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceLayoutOperation.LayoutFactory
-
Field Summary
-
Fields inherited from interface org.opennms.features.topology.api.Operation
OPERATION_CONTEXT_LOCATION, OPERATION_LABEL, OPERATION_MENU_LOCATION
-
-
Constructor Summary
Constructors Constructor Description LayoutOperation(LayoutOperation.LayoutFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyHistory(GraphContainer container, Map<String,String> settings)booleandisplay(List<VertexRef> targets, OperationContext operationContext)voidexecute(List<VertexRef> targets, OperationContext operationContext)LayoutAlgorithmgetLayoutAlgorithm()protected booleanisChecked(GraphContainer container)-
Methods inherited from class org.opennms.features.topology.api.AbstractCheckedOperation
createHistory, enabled, enabled, isChecked
-
-
-
-
Constructor Detail
-
LayoutOperation
public LayoutOperation(LayoutOperation.LayoutFactory factory)
-
-
Method Detail
-
execute
public final void execute(List<VertexRef> targets, OperationContext operationContext)
-
display
public boolean display(List<VertexRef> targets, OperationContext operationContext)
-
isChecked
protected final boolean isChecked(GraphContainer container)
- Overrides:
isCheckedin classAbstractCheckedOperation
-
applyHistory
public void applyHistory(GraphContainer container, Map<String,String> settings)
-
getLayoutAlgorithm
public LayoutAlgorithm getLayoutAlgorithm()
-
-