|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.ide.ResourceSaveableFilter
public class ResourceSaveableFilter
A saveable filter where the given savable must either match one of the given roots or be a direct or indirect child of one of the roots.
Constructor Summary | |
---|---|
ResourceSaveableFilter(IResource[] roots)
Creates a new filter. |
Method Summary | |
---|---|
boolean |
select(Saveable saveable,
IWorkbenchPart[] containingParts)
Indicate whether the given saveable matches this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceSaveableFilter(IResource[] roots)
roots
- the save rootsMethod Detail |
---|
public boolean select(Saveable saveable, IWorkbenchPart[] containingParts)
ISaveableFilter
select
in interface ISaveableFilter
saveable
- the saveable being testedcontainingParts
- the parts that contain the saveable. This list may
contain zero or more parts.
|
Eclipse Platform Kepler (4.3) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.