Package org.eclipse.gef.layout
Interface ILayoutFilter
public interface ILayoutFilter
An
ILayoutFilter can be used to filter layout objects, so that they
are not reported to any ILayoutAlgorithm.-
Method Summary
Modifier and TypeMethodDescriptionbooleanisLayoutIrrelevant(org.eclipse.gef.graph.Edge edge) Returnstrueto indicate that the givenEdgeis irrelevant for layout.booleanisLayoutIrrelevant(org.eclipse.gef.graph.Node node) Returnstrueto indicate that the givenNodeis irrelevant for layout.
-
Method Details
-
isLayoutIrrelevant
boolean isLayoutIrrelevant(org.eclipse.gef.graph.Edge edge) Returnstrueto indicate that the givenEdgeis irrelevant for layout. Otherwise returnsfalse.- Parameters:
edge- TheEdgewhich may be irrelevant for layout.- Returns:
trueto indicate that the givenEdgeis irrelevant for layout, otherwisefalse.
-
isLayoutIrrelevant
boolean isLayoutIrrelevant(org.eclipse.gef.graph.Node node) Returnstrueto indicate that the givenNodeis irrelevant for layout. Otherwise returnsfalse.- Parameters:
node- TheNodewhich may be irrelevant for layout.- Returns:
trueto indicate that the givenNodeis irrelevant for layout, otherwisefalse.
-