/* * @see org.tigris.gef.util.Predicate#predicate(java.lang.Object) */ public boolean predicate(Object o) { if (!(Model.getFacade().isAUMLElement(o))) { return false; } Object me = o; return theType.predicate(me) && specific.predicate(me) && elementName.predicate(Model.getFacade().getName(me)); }
/** * @param m the given package * @return true if the name of the given package is equal */ public boolean matchPackage(Object m) { boolean res = packageName.predicate(Model.getFacade().getName(m)); return res; }
/** * @param name the name to match * @return true if the name of the given diagram equals */ public boolean matchDiagram(String name) { return diagramName.predicate(name); }