/**
* @see org.openbp.jaspira.decoration.FilteredDecorator#qualifies(Object)
*/
public boolean qualifies(Object owner)
{
ModelQualifier qualifier;
if (owner instanceof ModelQualifier)
{
qualifier = (ModelQualifier) owner;
}
else
{
if (! (owner instanceof ProcessElementContainer))
return false;
qualifier = ((ProcessElementContainer) owner).getProcessElement().getQualifier();
}
return qualifier.matches(haltedPosition);
}