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 TypeMethodDescriptionboolean
isLayoutIrrelevant
(org.eclipse.gef.graph.Edge edge) Returnstrue
to indicate that the givenEdge
is irrelevant for layout.boolean
isLayoutIrrelevant
(org.eclipse.gef.graph.Node node) Returnstrue
to indicate that the givenNode
is irrelevant for layout.
-
Method Details
-
isLayoutIrrelevant
boolean isLayoutIrrelevant(org.eclipse.gef.graph.Edge edge) Returnstrue
to indicate that the givenEdge
is irrelevant for layout. Otherwise returnsfalse
.- Parameters:
edge
- TheEdge
which may be irrelevant for layout.- Returns:
true
to indicate that the givenEdge
is irrelevant for layout, otherwisefalse
.
-
isLayoutIrrelevant
boolean isLayoutIrrelevant(org.eclipse.gef.graph.Node node) Returnstrue
to indicate that the givenNode
is irrelevant for layout. Otherwise returnsfalse
.- Parameters:
node
- TheNode
which may be irrelevant for layout.- Returns:
true
to indicate that the givenNode
is irrelevant for layout, otherwisefalse
.
-