package generator
import java.util.Set
import org.sculptor.generator.chain.ChainOverride
import org.sculptor.generator.ext.UmlGraphHelper
import sculptormetamodel.DomainObject
import sculptormetamodel.Entity
import sculptormetamodel.Module
@ChainOverride
class UmlGraphHelperOverride extends UmlGraphHelper {
override boolean isShownInView(DomainObject domainObject, Set<Module> focus, int detail, String subjectArea) {
next.isShownInView(domainObject, focus, detail, subjectArea) && domainObject instanceof Entity
}
}