Class WorkaroundMorphDef

  • All Implemented Interfaces:
    org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition

    @Portable
    public class WorkaroundMorphDef
    extends Object
    implements org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition
    Without a portable impl of MorphDefinition, compilation fails.
    • Constructor Detail

      • WorkaroundMorphDef

        public WorkaroundMorphDef()
    • Method Detail

      • accepts

        public boolean accepts​(String definitionId)
        Specified by:
        accepts in interface org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition
      • getBase

        public String getBase()
        Specified by:
        getBase in interface org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition
      • getDefault

        public String getDefault()
        Specified by:
        getDefault in interface org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition
      • getTargets

        public Iterable<String> getTargets​(String definitionId)
        Specified by:
        getTargets in interface org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition
      • getPolicy

        public org.kie.workbench.common.stunner.core.definition.clone.ClonePolicy getPolicy()
        Specified by:
        getPolicy in interface org.kie.workbench.common.stunner.core.definition.morph.MorphDefinition