Package org.eclipse.gef.layout
Interface ILayoutFilter
-
public interface ILayoutFilterAnILayoutFiltercan 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 booleanisLayoutIrrelevant(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 Detail
-
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.
-
-