public abstract class CucaDiagram extends UmlDiagram implements GroupHierarchy, PortionShower, ICucaDiagram
| Modifier and Type | Field and Description |
|---|---|
protected EntityFactory |
entityFactory |
protected Entity |
lastEntity |
FORCE_ELK, FORCE_SMETANA| Constructor and Description |
|---|
CucaDiagram(UmlSource source,
UmlDiagramType type,
java.util.Map<java.lang.String,java.lang.String> orig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLink(Link link) |
void |
applySingleStrategy() |
java.lang.String |
cleanId(java.lang.String id) |
CommandExecutionResult |
constraintOnLinks(Link link1,
Link link2,
Display display) |
Together |
currentTogether() |
boolean |
endGroup() |
void |
exportDiagramGraphic(UGraphic ug,
FileFormatOption fileFormatOption) |
protected ImageData |
exportDiagramInternal(java.io.OutputStream os,
int index,
FileFormatOption fileFormatOption) |
Quark<Entity> |
firstWithName(java.lang.String name) |
java.util.Collection<Entity> |
getChildrenGroups(Entity entity) |
Entity |
getCurrentGroup() |
ClockwiseTopRightBottomLeft |
getDefaultMargins() |
protected abstract java.util.List<java.lang.String> |
getDotStrings() |
java.lang.String[] |
getDotStringSkek() |
EntityFactory |
getEntityFactory() |
Entity |
getGroup(java.lang.String code) |
java.util.Set<VisibilityModifier> |
getHides() |
java.lang.String |
getLabelangle() |
java.lang.String |
getLabeldistance() |
Entity |
getLastEntity() |
Link |
getLastLink() |
java.util.List<Link> |
getLinks() |
java.lang.String |
getPortFor(java.lang.String entString,
Quark<Entity> ident) |
java.lang.String |
getPortId(java.lang.String id) |
Entity |
getRootGroup() |
protected TextBlock |
getTextMainBlock(FileFormatOption fileFormatOption) |
java.util.List<Link> |
getTwoLastLinks() |
int |
getUniqueSequence() |
java.lang.String |
getUniqueSequence(java.lang.String prefix) |
java.util.List<java.lang.String> |
getVisibleStereotypeLabels(Entity entity) |
java.lang.String |
getWarningOrError() |
CommandExecutionResult |
gotoGroup(Quark<Entity> quark,
Display display,
GroupType type) |
CommandExecutionResult |
gotoTogether() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
void |
hideOrShow(EntityGender gender,
EntityPortion portions,
boolean show) |
void |
hideOrShow(java.util.Set<VisibilityModifier> visibilities,
boolean show) |
void |
hideOrShow2(java.lang.String what,
boolean show) |
protected void |
incRawLayout() |
boolean |
isEmpty(Entity entity) |
boolean |
isGroup(Quark<Entity> quark) |
boolean |
isGroup(java.lang.String code) |
boolean |
isHideEmptyDescriptionForState() |
boolean |
isStandalone(Entity ent) |
boolean |
isStandaloneForArgo(Entity ent) |
boolean |
isVisibilityModifierPresent() |
Quark<Entity> |
quarkInContext(boolean reuseExistingChild,
java.lang.String full) |
Entity |
reallyCreateLeaf(Quark<Entity> ident,
Display display,
LeafType type,
USymbol symbol) |
protected void |
removeLink(Link link) |
void |
removeOrRestore(java.lang.String what,
boolean show) |
java.lang.String |
removePortId(java.lang.String id) |
void |
resetPragmaLabel() |
void |
setLastEntity(Entity foo) |
void |
setNamespaceSeparator(java.lang.String namespaceSeparator) |
void |
setVisibilityModifierPresent(boolean visibilityModifierPresent) |
boolean |
showPortion(EntityPortion portion,
Entity entity) |
protected void |
updateLasts(Entity result) |
exportCmap, exportDiagramError, exportDiagramNow, getFailureText2, getFlashData, getFooterOrHeaderTeoz, getMinwidth, isRotation, setHideEmptyDescription, setMinwidth, setRotationaddSprite, calculateBackColor, createImageBuilder, getCaption, getCurrentStyleBuilder, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetanacheckFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVerticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateImageBuilder, getCurrentStyleBuilder, getFlashData, getMetadata, getNamespaceSeparator, getPragma, getSkinParam, getSource, getUmlDiagramType, seedgetCaption, getFooter, getHeader, getLegend, getMainFrame, getTitleaddSpriteexportDiagram, getDescription, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getTitleDisplayprotected final EntityFactory entityFactory
protected Entity lastEntity
public CucaDiagram(UmlSource source, UmlDiagramType type, java.util.Map<java.lang.String,java.lang.String> orig)
public final void setNamespaceSeparator(java.lang.String namespaceSeparator)
setNamespaceSeparator in class AbstractPSystempublic final Entity getCurrentGroup()
public final Together currentTogether()
public java.lang.String cleanId(java.lang.String id)
public boolean hasUrl()
DiagramhasUrl in interface DiagramhasUrl in class AbstractPSystempublic final void setLastEntity(Entity foo)
protected void updateLasts(Entity result)
public final Entity reallyCreateLeaf(Quark<Entity> ident, Display display, LeafType type, USymbol symbol)
public final Quark<Entity> quarkInContext(boolean reuseExistingChild, java.lang.String full)
public java.lang.String removePortId(java.lang.String id)
public java.lang.String getPortId(java.lang.String id)
public final java.util.Collection<Entity> getChildrenGroups(Entity entity)
getChildrenGroups in interface GroupHierarchypublic final CommandExecutionResult gotoTogether()
public final CommandExecutionResult gotoGroup(Quark<Entity> quark, Display display, GroupType type)
public boolean endGroup()
public final Entity getGroup(java.lang.String code)
public final boolean isGroup(java.lang.String code)
public Entity getRootGroup()
getRootGroup in interface GroupHierarchypublic final void addLink(Link link)
protected final void removeLink(Link link)
public final java.util.List<Link> getLinks()
getLinks in interface ICucaDiagramprotected abstract java.util.List<java.lang.String> getDotStrings()
public final java.lang.String[] getDotStringSkek()
getDotStringSkek in interface ICucaDiagrampublic final void exportDiagramGraphic(UGraphic ug, FileFormatOption fileFormatOption)
exportDiagramGraphic in interface DiagramexportDiagramGraphic in class TitledDiagramprotected final TextBlock getTextMainBlock(FileFormatOption fileFormatOption)
getTextMainBlock in class TitledDiagramprotected ImageData exportDiagramInternal(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
exportDiagramInternal in class UmlDiagramjava.io.IOExceptionpublic java.lang.String getWarningOrError()
getWarningOrError in interface DiagramgetWarningOrError in class UmlDiagrampublic void resetPragmaLabel()
public java.lang.String getLabeldistance()
public java.lang.String getLabelangle()
public final boolean isEmpty(Entity entity)
isEmpty in interface GroupHierarchypublic final boolean isVisibilityModifierPresent()
public final void setVisibilityModifierPresent(boolean visibilityModifierPresent)
public final boolean showPortion(EntityPortion portion, Entity entity)
showPortion in interface PortionShowerpublic java.util.List<java.lang.String> getVisibleStereotypeLabels(Entity entity)
getVisibleStereotypeLabels in interface PortionShowerpublic final void hideOrShow(EntityGender gender, EntityPortion portions, boolean show)
public void hideOrShow(java.util.Set<VisibilityModifier> visibilities, boolean show)
public void hideOrShow2(java.lang.String what,
boolean show)
public void removeOrRestore(java.lang.String what,
boolean show)
public final java.util.Set<VisibilityModifier> getHides()
public final boolean isStandalone(Entity ent)
public final boolean isStandaloneForArgo(Entity ent)
public final Link getLastLink()
public final java.util.List<Link> getTwoLastLinks()
public final Entity getLastEntity()
public final EntityFactory getEntityFactory()
getEntityFactory in interface ICucaDiagrampublic void applySingleStrategy()
public boolean isHideEmptyDescriptionForState()
isHideEmptyDescriptionForState in interface ICucaDiagramprotected void incRawLayout()
public CommandExecutionResult constraintOnLinks(Link link1, Link link2, Display display)
public ClockwiseTopRightBottomLeft getDefaultMargins()
getDefaultMargins in class TitledDiagrampublic int getUniqueSequence()
getUniqueSequence in interface ICucaDiagrampublic java.lang.String getUniqueSequence(java.lang.String prefix)