Class CucaDiagram

All Implemented Interfaces:
Annotated, Diagram, GroupHierarchy, PortionShower, WithSprite
Direct Known Subclasses:
AbstractEntityDiagram, ActivityDiagram

public abstract class CucaDiagram extends UmlDiagram implements GroupHierarchy, PortionShower
  • Field Details

  • Constructor Details

  • Method Details

    • V1972

      public final boolean V1972()
    • mergeIntricated

      public final boolean mergeIntricated()
    • getAllSuperGroups

      public java.util.Set<SuperGroup> getAllSuperGroups()
      Specified by:
      getAllSuperGroups in interface GroupHierarchy
    • getOrCreateLeaf

      public abstract IEntity getOrCreateLeaf(Ident ident, Code code, LeafType type, USymbol symbol)
    • cleanIdent

      public Ident cleanIdent(Ident ident)
    • setNamespaceSeparator

      public final void setNamespaceSeparator(java.lang.String namespaceSeparator)
    • getNamespaceSeparator

      public final java.lang.String getNamespaceSeparator()
    • hasUrl

      public boolean hasUrl()
      Description copied from interface: Diagram
      Check if the Diagram have some links.
      Specified by:
      hasUrl in interface Diagram
      Overrides:
      hasUrl in class AbstractPSystem
    • setLastEntity

      public final void setLastEntity(ILeaf foo)
    • getOrCreateLeafDefault

      protected final ILeaf getOrCreateLeafDefault(Ident idNewLong, Code code, LeafType type, USymbol symbol)
    • createLeaf

      public ILeaf createLeaf(Ident idNewLong, Code code, Display display, LeafType type, USymbol symbol)
    • createLeafInternal

      protected final ILeaf createLeafInternal(Ident newIdent, Code code, Display display, LeafType type, USymbol symbol)
    • buildLeafIdent

      public final Ident buildLeafIdent(java.lang.String id)
    • buildLeafIdentSpecial

      public final Ident buildLeafIdentSpecial(java.lang.String id)
    • buildFullyQualified

      public final Ident buildFullyQualified(java.lang.String id)
    • buildCode

      public final Code buildCode(java.lang.String s)
    • leafExist

      public boolean leafExist(Code code)
    • leafExistSmart

      public boolean leafExistSmart(Ident ident)
    • leafExistStrict

      public boolean leafExistStrict(Ident ident)
    • getChildrenGroups

      public final java.util.Collection<IGroup> getChildrenGroups(IGroup parent)
      Specified by:
      getChildrenGroups in interface GroupHierarchy
    • gotoGroup

      public final void gotoGroup(Ident ident, Code code, Display display, GroupType type, IGroup parent, NamespaceStrategy strategy)
    • getNamespace1972

      protected final java.lang.String getNamespace1972(Code fullyCode, java.lang.String separator)
    • endGroup

      public void endGroup()
    • gotoGroupExternal

      protected final void gotoGroupExternal(Ident newIdLong, Code code, Display display, Code namespace, GroupType type, IGroup parent)
    • gotoThisGroup

      public final void gotoThisGroup(IGroup group)
    • getFullyQualifiedCode1972

      protected final Code getFullyQualifiedCode1972(Code code)
    • getCurrentGroup

      public final IGroup getCurrentGroup()
    • getGroup

      public final IGroup getGroup(Code code)
    • getGroupStrict

      public final IGroup getGroupStrict(Ident ident)
    • getGroupVerySmart

      public final IGroup getGroupVerySmart(Ident ident)
    • isGroup

      public final boolean isGroup(Code code)
    • isGroupStrict

      public final boolean isGroupStrict(Ident ident)
    • isGroupVerySmart

      public final boolean isGroupVerySmart(Ident ident)
    • getGroups

      public final java.util.Collection<IGroup> getGroups(boolean withRootGroup)
    • getRootGroup

      public IGroup getRootGroup()
      Specified by:
      getRootGroup in interface GroupHierarchy
    • getRootSuperGroup

      public SuperGroup getRootSuperGroup()
      Specified by:
      getRootSuperGroup in interface GroupHierarchy
    • getLeafsvalues

      public final java.util.Collection<ILeaf> getLeafsvalues()
    • getLeafssize

      public final int getLeafssize()
    • getLeaf

      public final ILeaf getLeaf(Code code)
    • getLeafStrict

      public final ILeaf getLeafStrict(Ident ident)
    • getLeafSmart

      public final ILeaf getLeafSmart(Ident ident)
    • getLeafVerySmart

      public ILeaf getLeafVerySmart(Ident ident)
    • addLink

      public final void addLink(Link link)
    • removeLink

      protected final void removeLink(Link link)
    • getLinks

      public final java.util.List<Link> getLinks()
    • getDotStrings

      protected abstract java.util.List<java.lang.String> getDotStrings()
    • getDotStringSkek

      public final java.lang.String[] getDotStringSkek()
    • exportDiagramInternal

      protected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
      Specified by:
      exportDiagramInternal in class UmlDiagram
      Throws:
      java.io.IOException
    • getWarningOrError

      public java.lang.String getWarningOrError()
      Specified by:
      getWarningOrError in interface Diagram
      Overrides:
      getWarningOrError in class UmlDiagram
    • isAutarkic

      public boolean isAutarkic(IGroup g)
    • resetPragmaLabel

      public void resetPragmaLabel()
    • getLabeldistance

      public java.lang.String getLabeldistance()
    • getLabelangle

      public java.lang.String getLabelangle()
    • isEmpty

      public final boolean isEmpty(IGroup gToTest)
      Specified by:
      isEmpty in interface GroupHierarchy
    • isVisibilityModifierPresent

      public final boolean isVisibilityModifierPresent()
    • setVisibilityModifierPresent

      public final void setVisibilityModifierPresent(boolean visibilityModifierPresent)
    • showPortion

      public final boolean showPortion(EntityPortion portion, IEntity entity)
      Specified by:
      showPortion in interface PortionShower
    • hideOrShow

      public final void hideOrShow(EntityGender gender, EntityPortion portions, boolean show)
    • hideOrShow

      public void hideOrShow(java.util.Set<VisibilityModifier> visibilities, boolean show)
    • hideOrShow2

      public void hideOrShow2(java.lang.String what, boolean show)
    • removeOrRestore

      public void removeOrRestore(java.lang.String what, boolean show)
    • getHides

      public final java.util.Set<VisibilityModifier> getHides()
    • getColorMapper

      public ColorMapper getColorMapper()
    • isStandalone

      public final boolean isStandalone(IEntity ent)
    • getLastLink

      public final Link getLastLink()
    • getTwoLastLinks

      public final java.util.List<Link> getTwoLastLinks()
    • getLastEntity

      public final ILeaf getLastEntity()
    • getEntityFactory

      public final EntityFactory getEntityFactory()
    • applySingleStrategy

      public void applySingleStrategy()
    • isHideEmptyDescriptionForState

      public boolean isHideEmptyDescriptionForState()
    • incRawLayout

      protected void incRawLayout()
    • constraintOnLinks

      public CommandExecutionResult constraintOnLinks(Link link1, Link link2, Display display)
    • getDefaultMargins

      public ClockwiseTopRightBottomLeft getDefaultMargins()
      Overrides:
      getDefaultMargins in class TitledDiagram