Package jadex.base

Class ModelFileFilter

  • All Implemented Interfaces:
    IAsyncFilter

    public class ModelFileFilter
    extends java.lang.Object
    implements IAsyncFilter
    Filter for Jadex component models. Is so complicated because it has to work locally and must be transferable.
    • Field Detail

      • all

        protected boolean all
        The all selected flag.
      • rids

        protected java.util.Map<java.net.URL,​IResourceIdentifier> rids
        The resource identifiers of the tree's root entries.
    • Constructor Detail

      • ModelFileFilter

        public ModelFileFilter()
        Create a new filter.
    • Method Detail

      • setAll

        public void setAll​(boolean all)
        Set the all.
        Parameters:
        all - The all to set.
      • isAll

        public boolean isAll()
        Get the all.
        Returns:
        the all.
      • getResourceIdentifiers

        public java.util.Map<java.net.URL,​IResourceIdentifier> getResourceIdentifiers()
        Get the resource identifiers for the root path entries.
      • setResourceIdentifiers

        public void setResourceIdentifiers​(java.util.Map<java.net.URL,​IResourceIdentifier> rids)
        Set the resource identifiers for the root path entries.
      • getExternalAccess

        public IExternalAccess getExternalAccess()
        Get the external access.
        Returns:
        The external access.
      • setExternalAccess

        public void setExternalAccess​(IExternalAccess exta)
        Set the external access.
        Parameters:
        exta - The external acccess.
      • filter

        public IFuture<java.lang.Boolean> filter​(java.lang.Object obj)
        Test if object is accepted by filter.
        Specified by:
        filter in interface IAsyncFilter
        Parameters:
        obj - The object to filter.
        Returns:
        True, if ok.