Package org.eclipse.gef.layout
Interface ILayoutFilter
-
public interface ILayoutFilter
AnILayoutFilter
can be used to filter layout objects, so that they are not reported to anyILayoutAlgorithm
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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 Detail
-
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
.
-
-