public class ModelFileFilter extends java.lang.Object implements IAsyncFilter
IAsyncFilter.AlwaysFilter, IAsyncFilter.NeverFilter
Modifier and Type | Field and Description |
---|---|
protected boolean |
all
The all selected flag.
|
protected IExternalAccess |
exta
The external access.
|
protected java.util.Map<java.net.URL,IResourceIdentifier> |
rids
The resource identifiers of the tree's root entries.
|
protected java.util.List<java.lang.String> |
selectedcomponents
The list of selected component names.
|
ALWAYS, NEVER
Constructor and Description |
---|
ModelFileFilter()
Create a new filter.
|
ModelFileFilter(boolean all,
java.util.List<java.lang.String> selectedcomponents,
java.util.Map<java.net.URL,IResourceIdentifier> rids,
IExternalAccess exta)
Create a new filter.
|
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Boolean> |
filter(java.lang.Object obj)
Test if object is accepted by filter.
|
IExternalAccess |
getExternalAccess()
Get the external access.
|
java.util.Map<java.net.URL,IResourceIdentifier> |
getResourceIdentifiers()
Get the resource identifiers for the root path entries.
|
java.util.List<java.lang.String> |
getSelectedComponents()
Get the list of selected components.
|
boolean |
isAll()
Get the all.
|
void |
setAll(boolean all)
Set the all.
|
void |
setExternalAccess(IExternalAccess exta)
Set the external access.
|
void |
setResourceIdentifiers(java.util.Map<java.net.URL,IResourceIdentifier> rids)
Set the resource identifiers for the root path entries.
|
void |
setSelectedComponents(java.util.List<java.lang.String> selectedcomponents)
Set the list of selected components.
|
protected boolean all
protected java.util.List<java.lang.String> selectedcomponents
protected java.util.Map<java.net.URL,IResourceIdentifier> rids
protected IExternalAccess exta
public ModelFileFilter()
public ModelFileFilter(boolean all, java.util.List<java.lang.String> selectedcomponents, java.util.Map<java.net.URL,IResourceIdentifier> rids, IExternalAccess exta)
public void setAll(boolean all)
all
- The all to set.public boolean isAll()
public java.util.List<java.lang.String> getSelectedComponents()
public void setSelectedComponents(java.util.List<java.lang.String> selectedcomponents)
selectedcomponents
- The list of selcted components.public java.util.Map<java.net.URL,IResourceIdentifier> getResourceIdentifiers()
public void setResourceIdentifiers(java.util.Map<java.net.URL,IResourceIdentifier> rids)
public IExternalAccess getExternalAccess()
public void setExternalAccess(IExternalAccess exta)
exta
- The external acccess.public IFuture<java.lang.Boolean> filter(java.lang.Object obj)
filter
in interface IAsyncFilter
obj
- The object to filter.