Package com.nomagic.magicdraw.uml
Class DeprecatedRepresentationTextCreator
- java.lang.Object
-
- com.nomagic.magicdraw.uml.DeprecatedRepresentationTextCreator
-
- Direct Known Subclasses:
RepresentationTextCreator
@OpenApiAll public class DeprecatedRepresentationTextCreator extends java.lang.Object
Deprecated OpenApi methods of RepresentationTextCreator that should not be used any more
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COLOR_POSTFIX
Deprecated.static java.lang.String
COLOR_PREFIX
Deprecated.static java.lang.String
EMPTY_NAME_NOTATION
Deprecated.static java.lang.String
GRAY_COLOR_STRING
Deprecated.
-
Constructor Summary
Constructors Constructor Description DeprecatedRepresentationTextCreator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
appendColor(java.lang.StringBuffer text, java.awt.Color color)
Deprecated.static java.lang.String
appendColor(java.lang.String text, java.awt.Color color)
Deprecated.static java.lang.String
appendGrayColor(java.lang.String text)
Deprecated.static void
appendGrayColor(java.lang.StringBuffer text)
Deprecated.static java.lang.String
constructActivityEdgeText(ActivityEdge activityEdge, boolean showWeight)
static java.lang.String
constructCombinedFragmentOperatorText(CombinedFragment combinedFragment)
static java.lang.String
createActivityParameterNodeText(ActivityParameterNode parameter, boolean showFullType, boolean addColorInformation)
static java.lang.String
createAssociationText(Association association)
Deprecated.static java.lang.String
createBehaviorText(Behavior behavior)
static java.lang.String
createBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind)
static java.lang.String
createBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind, boolean showOpaqueBehaviorBody)
static java.lang.String
createBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind, boolean showOpaqueBehaviorBody)
static java.lang.String
createClassifierName(Classifier classifier, boolean showFullType, boolean addColorInformation)
Deprecated.static java.lang.String
createClassifiersRepresentation(java.util.Collection classifiers, boolean showFullType, boolean addColorInformation)
Deprecated.static java.lang.String
createConstraintsText(Constraint constraint, boolean useName, boolean useExpression, boolean addBrackets)
static java.lang.String
createConstraintsText(ValueSpecification valueSpecification, boolean addBrackets)
static java.lang.String
createConstraintsText(java.util.Collection<Constraint> constraints, java.lang.String separator, boolean useName, boolean useExpression, boolean addBrackets)
static java.lang.String
createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature)
static java.lang.String
createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId)
static java.lang.String
createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId, LocationInTool locationInTool)
static java.lang.String
createElementNameText(Element o)
Deprecated.static java.lang.String
createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression)
static java.lang.String
createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign)
static java.lang.String
createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign)
static java.lang.String
createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign, boolean addColorInformation)
static java.lang.String
createEventText(Event event)
static java.lang.String
createEventText(Event event, boolean showOperationsSignature, boolean useAdvancedColoring)
static java.lang.String
createGuardText(Message msg)
Deprecated.static java.lang.String
createId(Element e, boolean addColor)
Deprecated.static java.lang.String
createInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor)
static java.lang.String
createInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor, boolean showAutoID)
static java.lang.String
createInteractionUseText(CallBehaviorAction interactionUse)
static java.lang.String
createInteractionUseText(InteractionUse interactionUse, boolean addReferTo, boolean addArguments)
static java.lang.String
createMultiplicityRangeText(java.lang.Integer range)
Deprecated.static java.lang.String
createMultiplicityText(MultiplicityElement multiplicity, boolean showOrder, boolean showUnique, boolean addBrackets)
static java.lang.String
createMultiplicityText(java.lang.Integer lower, java.lang.Integer upper)
Deprecated.static java.lang.String
createMultiplicityText(java.lang.String lower, java.lang.String upper, boolean ordered, boolean unique, boolean addBrackets)
static java.lang.String
createMultiplicityText(java.lang.String lower, java.lang.String upper, ValueSpecification lowerValue, boolean unique, boolean ordered, boolean addBrackets)
static java.lang.String
createNamedElementListText(java.util.List<? extends NamedElement> elements)
static java.lang.String
createOperandGuardText(InteractionOperand operand)
static java.lang.String
createOperationText(Operation operation, boolean showParameters, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters)
static java.lang.String
createOperationText(Operation operation, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters, boolean showParameterDefaultValue)
static java.lang.String
createOperationText(Operation operation, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters, boolean showParameterDefaultValue, boolean showInheritedSign)
static java.lang.String
createOperationText(Operation operation, boolean showParameters, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters, boolean showParameterDefaultValue, boolean showInheritedSign)
static java.lang.String
createParameterDirectionText(Project project, java.lang.Class<? extends Parameter> parameterMetaType, ParameterDirectionKind parameterDirection, boolean skipDefaultValue, boolean showReturnDirection, boolean addColorInformation)
Deprecated.useModelTextCreator#createParameterDirectionText(ParameterDirectionKind, Project, ParameterDirectionTextParams, Supplier)
static java.lang.String
createParametersText(java.util.Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation)
static java.lang.String
createParametersText(java.util.Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showParameterDefaultValue)
static java.lang.String
createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation)
static java.lang.String
createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue)
static java.lang.String
createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue, boolean skipDefaultDirection, boolean showReturnDirection)
static java.lang.String
createPinText(Pin pin, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor, boolean showSynchronizationInfo)
Deprecated.static java.lang.String
createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor)
static java.lang.String
createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showInheritedSign, boolean addColor)
static java.lang.String
createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showTaggedValues, boolean showInheritedSign, boolean addColor)
static void
createPropertyPropertyStringText(Property property, java.lang.StringBuffer text)
Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder)
static void
createPropertyPropertyStringText(Property property, java.lang.StringBuffer text, java.lang.String separator)
Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder, String)
static java.lang.String
createPropertyText(Property property, boolean showName, boolean showType, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showConstraints, boolean showMultiplicity, boolean addColorInformation)
static java.lang.String
createPropertyText(Property property, boolean showName, boolean showType, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean addColorInformation)
static java.lang.String
createPropertyText(Property property, boolean showName, boolean showType, boolean showDerived, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean addColorInformation)
static java.lang.String
createPropertyText(Property property, boolean showName, boolean showType, boolean showDerived, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean showInheritedSign, boolean addColorInformation)
static java.lang.String
createPropertyText(Property property, boolean showName, boolean showType, boolean showDerived, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean showInheritedSign, boolean addColorInformation)
static java.lang.String
createProtocolTransitionText(ProtocolTransition transition)
static java.lang.String
createProtocolTransitionText(ProtocolTransition transition, boolean showPort)
static java.lang.String
createProtocolTransitionText(ProtocolTransition transition, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring)
static java.lang.String
createPureSlotsString(java.util.Collection<Slot> slots, java.lang.String separator, boolean showHTML, boolean showEmptyValue)
static java.lang.String
createReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation)
static java.lang.String
createReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean showInheritedSign, boolean addColorInformation)
static java.lang.String
createReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean showInheritedSign, boolean addColorInformation)
static java.util.Comparator<BaseElement>
createRepresentationTextComparator(boolean addColor, boolean showAutoId)
static java.lang.String
createSlotsText(java.util.Collection<Slot> slots, java.lang.String separator, boolean showHTML, boolean showEmptyValue)
static java.lang.String
createSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName)
Deprecated.static java.lang.String
createSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName)
Deprecated.static java.lang.String
createSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName, boolean showDerived)
Deprecated.static java.lang.String
createSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName, boolean showDerived, boolean forEditing, boolean colorUnitSymbols, boolean colorTag)
Deprecated.static java.lang.String
createStateText(State state)
Deprecated.static java.lang.String
createStereotypesText(Element element, char separator)
static java.lang.String
createStereotypesText(Element element, char separator, boolean skipDSL, boolean useAlias)
static java.lang.String
createStereotypesText(java.util.Collection<Stereotype> stereotypes, char separator)
static java.lang.String
createStereotypesText(java.util.Collection<Stereotype> stereotypes, char separator, boolean skipDSL, boolean useAlias)
static java.lang.String
createStereotypeText(Stereotype stereotype)
static java.lang.String
createStereotypeText(Stereotype stereotype, boolean useAlias)
static java.lang.String
createStereotypeText(java.lang.String stereotypeName)
Deprecated.static java.lang.String
createTemplateBindingText(TemplateBinding binding)
Constructs given binding element text.static java.lang.String
createTemplateBindingText(TemplateBinding binding, boolean attachTemplateParameterInfo)
Constructs given binding element text.static java.lang.String
createTemplateParametersText(java.util.Collection templateParameters, java.lang.String separator)
static java.lang.String
createTemplateParameterSubstitutionText(TemplateParameterSubstitution parameterSubstitution, boolean attachTemplateParameterInfo)
static java.lang.String
createTemplateParameterText(TemplateParameter tParameter)
static java.lang.String
createTransitionText(Transition transition, boolean showEffect)
static java.lang.String
createTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody)
static java.lang.String
createTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody, boolean showOperationsSignature, boolean useAdvancedColoring)
static java.lang.String
createTriggersText(java.util.Collection triggers)
static java.lang.String
createTriggersText(java.util.Collection triggers, boolean showPort)
static java.lang.String
createTriggersText(java.util.Collection triggers, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring)
static java.lang.String
createTriggerText(Trigger trigger)
static java.lang.String
createTriggerText(Trigger trigger, boolean showPort)
static java.lang.String
createTriggerText(Trigger trigger, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring)
static java.lang.String
createTypedElementText(TypedElement typedElement, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor)
static java.lang.String
createTypeName(Type type, boolean showFullType, boolean addColorInformation)
Deprecated.static java.lang.String
createValueSpecificationText(ValueSpecification specification)
static char
createVisibilityText(VisibilityKind visibility)
Deprecated.static java.lang.String
endColorHtmlTag(java.lang.String text)
Deprecated.static void
endColorHtmlTag(java.lang.StringBuilder text)
Deprecated.LocationInTool
getLocationInTool()
Deprecated.text creation parameters are now retrieved fromRepresentationTextParams
which is passed as argument for various methodsstatic java.lang.String
getPureTextFromColoredText(java.lang.String coloredText)
Deprecated.static java.lang.String
getRelationshipFromToRepresentation(Element relationship, Element clientModelElement, java.lang.String clientName, Element supplierModelElement, java.lang.String supplierName, boolean showFullType, boolean addColor)
static java.lang.String
getRepresentedText(BaseElement el, boolean addColor)
static java.lang.String
getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber)
static java.lang.String
getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature)
static java.lang.String
getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, boolean noCache)
static java.lang.String
getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, LocationInTool locationInTool, boolean noCache)
boolean
isAddColor()
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textboolean
isShowFullType()
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textstatic java.lang.String
resetColor(java.lang.String text)
Deprecated.static void
resetColor(java.lang.StringBuffer text)
Deprecated.void
setAddColor(boolean addColor)
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textvoid
setLocationInTool(LocationInTool locationInTool)
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textvoid
setShowFullType(boolean value)
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textstatic void
startColorHtmlTag(java.lang.StringBuilder text, java.awt.Color color)
Deprecated.static java.lang.String
startColorHtmlTag(java.lang.String text, java.awt.Color color)
Deprecated.
-
-
-
Field Detail
-
EMPTY_NAME_NOTATION
@Deprecated public static final java.lang.String EMPTY_NAME_NOTATION
Deprecated.- See Also:
- Constant Field Values
-
COLOR_PREFIX
@Deprecated public static final java.lang.String COLOR_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
COLOR_POSTFIX
@Deprecated public static final java.lang.String COLOR_POSTFIX
Deprecated.- See Also:
- Constant Field Values
-
GRAY_COLOR_STRING
@Deprecated public static final java.lang.String GRAY_COLOR_STRING
Deprecated.
-
-
Method Detail
-
createTransitionText
@Deprecated public static java.lang.String createTransitionText(Transition transition, boolean showEffect)
-
createTransitionText
@Deprecated public static java.lang.String createTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody)
-
createTransitionText
@Deprecated public static java.lang.String createTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody, boolean showOperationsSignature, boolean useAdvancedColoring)
-
createProtocolTransitionText
@Deprecated public static java.lang.String createProtocolTransitionText(ProtocolTransition transition)
-
createProtocolTransitionText
@Deprecated public static java.lang.String createProtocolTransitionText(ProtocolTransition transition, boolean showPort)
-
createProtocolTransitionText
@Deprecated public static java.lang.String createProtocolTransitionText(ProtocolTransition transition, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring)
-
createTriggersText
@Deprecated public static java.lang.String createTriggersText(java.util.Collection triggers)
-
createTriggersText
@Deprecated public static java.lang.String createTriggersText(java.util.Collection triggers, boolean showPort)
-
createTriggersText
@Deprecated public static java.lang.String createTriggersText(java.util.Collection triggers, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring)
-
createTriggerText
@Deprecated public static java.lang.String createTriggerText(Trigger trigger)
-
createTriggerText
@Deprecated public static java.lang.String createTriggerText(Trigger trigger, boolean showPort)
-
createTriggerText
@Deprecated public static java.lang.String createTriggerText(Trigger trigger, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring)
-
createEventText
@Deprecated public static java.lang.String createEventText(Event event)
-
createEventText
@Deprecated public static java.lang.String createEventText(Event event, boolean showOperationsSignature, boolean useAdvancedColoring)
-
createSlotText
@Deprecated public static java.lang.String createSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName)
Deprecated.Returns string representation of given tag definition.- Parameters:
slot
- The given slot.showName
- Is show name?ignoreTrueValues
- Is ignore true values?showHTML
- True for show htmshowFeatureType
- Is show feature type?showFullType
- True for show full type.addColorInformation
- True for set color.showEmptyValue
- show empty valueshowQualifiedName
- show qualified name- Returns:
- The created string.
-
createSlotText
@Deprecated public static java.lang.String createSlotText(@Nonnull Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName)
Deprecated.Returns string representation of given tag definition.- Parameters:
slot
- The given slot.showName
- Is show name?ignoreTrueValues
- Is ignore true values?showHTML
- True for show htmshowFeatureType
- Is show feature type?showFullType
- True for show full type.showFeatureTypeTaggedValues
- show feature type tagged valuesaddColorInformation
- True for set color.showEmptyValue
- show empty valueshowQualifiedName
- show qualified name- Returns:
- The created string.
-
createSlotText
@Deprecated public static java.lang.String createSlotText(@Nonnull Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName, boolean showDerived)
Deprecated.Returns string representation of given tag definition.- Parameters:
slot
- The given slot.showName
- Is show name?ignoreTrueValues
- Is ignore true values?showHTML
- True for show htmshowFeatureType
- Is show feature type?showFullType
- True for show full type.showFeatureTypeTaggedValues
- show feature type tagged valuesaddColorInformation
- True for set color.showEmptyValue
- show empty valueshowQualifiedName
- show qualified nameshowDerived
- if true returned string will be calculated as derived if possible- Returns:
- The created string.
-
createSlotText
@Deprecated public static java.lang.String createSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName, boolean showDerived, boolean forEditing, boolean colorUnitSymbols, boolean colorTag)
Deprecated.Returns string representation of given tag definition.- Parameters:
slot
- The given slot.showName
- Is show name?ignoreTrueValues
- Is ignore true values?showHTML
- True for show htmshowFeatureType
- Is show feature type?showFullType
- True for show full type.showFeatureTypeTaggedValues
- show feature type tagged valuesaddColorInformation
- True for set color.showEmptyValue
- show empty valueshowQualifiedName
- show qualified nameshowDerived
- if true returned string will be calculated as derived if possibleforEditing
- flag to indicate that we need text for editing, so no additional text providers will be usedcolorUnitSymbols
- flag to indicate if we need to use color for additional text providers, we can't use addColorInformation, as we use same provider for instances that don't have color information propertycolorTag
- indicates if we need color tag or font color tag if we use in additional text providers- Returns:
- The created string.
-
createPureSlotsString
@Deprecated @CheckForNull public static java.lang.String createPureSlotsString(java.util.Collection<Slot> slots, java.lang.String separator, boolean showHTML, boolean showEmptyValue)
-
createSlotsText
@Deprecated public static java.lang.String createSlotsText(java.util.Collection<Slot> slots, java.lang.String separator, boolean showHTML, boolean showEmptyValue)
-
createConstraintsText
@CheckForNull @Deprecated public static java.lang.String createConstraintsText(java.util.Collection<Constraint> constraints, java.lang.String separator, boolean useName, boolean useExpression, boolean addBrackets)
-
createConstraintsText
@Deprecated public static java.lang.String createConstraintsText(Constraint constraint, boolean useName, boolean useExpression, boolean addBrackets)
-
createConstraintsText
@Deprecated public static java.lang.String createConstraintsText(ValueSpecification valueSpecification, boolean addBrackets)
-
constructActivityEdgeText
@Deprecated public static java.lang.String constructActivityEdgeText(ActivityEdge activityEdge, boolean showWeight)
-
createValueSpecificationText
@Deprecated public static java.lang.String createValueSpecificationText(@CheckForNull ValueSpecification specification)
-
createTypeName
@Deprecated public static java.lang.String createTypeName(Type type, boolean showFullType, boolean addColorInformation)
Deprecated.
-
createMultiplicityText
@Deprecated public static java.lang.String createMultiplicityText(java.lang.Integer lower, java.lang.Integer upper)
Deprecated.
-
createMultiplicityRangeText
@Deprecated public static java.lang.String createMultiplicityRangeText(@CheckForNull java.lang.Integer range)
Deprecated.
-
createMultiplicityText
@Deprecated public static java.lang.String createMultiplicityText(java.lang.String lower, java.lang.String upper, boolean ordered, boolean unique, boolean addBrackets)
-
createMultiplicityText
@Deprecated public static java.lang.String createMultiplicityText(MultiplicityElement multiplicity, boolean showOrder, boolean showUnique, boolean addBrackets)
-
createMultiplicityText
@Deprecated public static java.lang.String createMultiplicityText(java.lang.String lower, java.lang.String upper, @CheckForNull ValueSpecification lowerValue, boolean unique, boolean ordered, boolean addBrackets)
-
createPinText
@Deprecated public static java.lang.String createPinText(Pin pin, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor, boolean showSynchronizationInfo)
Deprecated.
-
createOperandGuardText
@Deprecated public static java.lang.String createOperandGuardText(InteractionOperand operand)
-
constructCombinedFragmentOperatorText
@Deprecated public static java.lang.String constructCombinedFragmentOperatorText(CombinedFragment combinedFragment)
-
createClassifiersRepresentation
@Deprecated public static java.lang.String createClassifiersRepresentation(java.util.Collection classifiers, boolean showFullType, boolean addColorInformation)
Deprecated.
-
createClassifierName
@Deprecated public static java.lang.String createClassifierName(Classifier classifier, boolean showFullType, boolean addColorInformation)
Deprecated.
-
createInteractionUseText
@Deprecated public static java.lang.String createInteractionUseText(InteractionUse interactionUse, boolean addReferTo, boolean addArguments)
-
createInteractionUseText
@Deprecated public static java.lang.String createInteractionUseText(CallBehaviorAction interactionUse)
-
createId
@Deprecated public static java.lang.String createId(Element e, boolean addColor)
Deprecated.Create the id (number) to be prepended to the text representation of the element- Parameters:
e
- the elementaddColor
- if true wrap in grey color tags- Returns:
- the auto id (with space at the end) or empty string if number is not available
-
createAssociationText
@Deprecated public static java.lang.String createAssociationText(Association association)
Deprecated.Create Association text.- Parameters:
association
- Text owner.- Returns:
- The created string.
-
createBehaviorText
@Deprecated public static java.lang.String createBehaviorText(Behavior behavior)
Creates behavior text.- Parameters:
behavior
- behavior to represent.- Returns:
- behavior text.
-
createBehaviorText
@Deprecated public static java.lang.String createBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind)
Creates behavior text.- Parameters:
behavior
- behavior to represent.showStereotype
- indicates if stereotypes should be displayed.showProperties
- indicates if properties and tagged values should be displayed.showInheritedSign
- indicates if inherited sign should be displayed.showSignature
- indicates if behavior signature should be displayed.showFullType
- indicates if full qualified type name should be displayed.showConstraintName
- indicates if constraint name should be displayed.showConstraintExpression
- indicates if constraint expression should be displayed.addColorInformation
- indicates if color information should be added to the representation text.showParameterDirectionKind
- indicates if parameter direction kind should be displayed.- Returns:
- behavior text.
-
createBehaviorText
@Deprecated public static java.lang.String createBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind, boolean showOpaqueBehaviorBody)
Creates behavior text.- Parameters:
behavior
- behavior to represent.showStereotype
- indicates if stereotypes should be displayed.showProperties
- indicates if properties and tagged values should be displayed.showInheritedSign
- indicates if inherited sign should be displayed.showSignature
- indicates if behavior signature should be displayed.showFullType
- indicates if full qualified type name should be displayed.showConstraintName
- indicates if constraint name should be displayed.showConstraintExpression
- indicates if constraint expression should be displayed.addColorInformation
- indicates if color information should be added to the representation text.showParameterDirectionKind
- indicates if parameter direction kind should be displayed.showOpaqueBehaviorBody
- indicates if opaque behavior body should be displayed- Returns:
- behavior text.
-
createBehaviorText
@Deprecated public static java.lang.String createBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind, boolean showOpaqueBehaviorBody)
Creates behavior text.- Parameters:
behavior
- behavior to represent.showStereotype
- indicates if stereotypes should be displayed.showProperties
- indicates if properties and tagged values should be displayed.showInheritedSign
- indicates if inherited sign should be displayed.showSignature
- indicates if behavior signature should be displayed.showFullType
- indicates if full qualified type name should be displayed.showConstraintName
- indicates if constraint name should be displayed.showConstraintExpression
- indicates if constraint expression should be displayed.addColorInformation
- indicates if color information should be added to the representation text.showParameterDirectionKind
- indicates if parameter direction kind should be displayed.showOpaqueBehaviorBody
- indicates if opaque behavior body should be displayed- Returns:
- behavior text.
-
createStateText
@Deprecated public static java.lang.String createStateText(State state)
Deprecated.Creates state name text. It appends SubMachine name if available.- Parameters:
state
- the state to create text for.- Returns:
- string containing state name ad SubMachine name
-
createStereotypeText
@Deprecated public static java.lang.String createStereotypeText(Stereotype stereotype)
-
createStereotypesText
@Deprecated public static java.lang.String createStereotypesText(java.util.Collection<Stereotype> stereotypes, char separator)
Deprecated.Returns string representation of given.- Parameters:
stereotypes
- the collection of stereotypes.separator
- the separator of stereotypes- Returns:
- The created string.
-
createStereotypesText
@Deprecated public static java.lang.String createStereotypesText(java.util.Collection<Stereotype> stereotypes, char separator, boolean skipDSL, boolean useAlias)
Deprecated.Returns string representation of given.- Parameters:
stereotypes
- the collection of stereotypes.separator
- the separator of stereotypesskipDSL
- skip DSL stereotypes or noruseAlias
- use DSL alias instead of name- Returns:
- The created string.
-
createStereotypeText
@Deprecated public static java.lang.String createStereotypeText(Stereotype stereotype, boolean useAlias)
-
createStereotypeText
@Deprecated public static java.lang.String createStereotypeText(@CheckForNull java.lang.String stereotypeName)
Deprecated.
-
createStereotypesText
@Deprecated public static java.lang.String createStereotypesText(Element element, char separator)
Deprecated.Create the representation text of element be assigned stereotype.- Parameters:
element
- The given element.separator
- The separator string.- Returns:
- The string representation.
-
createStereotypesText
@Deprecated public static java.lang.String createStereotypesText(Element element, char separator, boolean skipDSL, boolean useAlias)
Deprecated.Create the representation text of element be assigned stereotype.- Parameters:
element
- The given element.separator
- The separator string.skipDSL
- skip DSL stereotypes or noruseAlias
- use DSL alias instead of name- Returns:
- The string representation.
-
createPropertyPropertyStringText
@Deprecated public static void createPropertyPropertyStringText(Property property, java.lang.StringBuffer text)
Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder)
-
createPropertyPropertyStringText
@Deprecated public static void createPropertyPropertyStringText(Property property, java.lang.StringBuffer text, java.lang.String separator)
Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder, String)
-
createOperationText
@Deprecated public static java.lang.String createOperationText(Operation operation, boolean showParameters, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters)
Constructs operation representation text.- Parameters:
operation
- operation which text will be created.showParameters
- flag indicates if operation parameters should be shown.showVisibility
- flag indicates if operation visibility should be shown.showFullType
- true for show full typeshowStereotype
- show stereotypeshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter directionaddColorInformation
- add colorshowTemplateParameters
-- Returns:
- method text string.
-
createOperationText
@Deprecated public static java.lang.String createOperationText(Operation operation, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters, boolean showParameterDefaultValue)
Constructs representation operation text.- Parameters:
operation
- operation which text will be created.showSignature
- flag indicates if method parameters should be shown.showVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showStereotype
- show stereotypeshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter direction kindaddColorInformation
- add colorshowTemplateParameters
- indicates if template parameters should be shown.showParameterDefaultValue
- indicates if parameter default values should be shown.- Returns:
- method text string.
-
createOperationText
@Deprecated public static java.lang.String createOperationText(Operation operation, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters, boolean showParameterDefaultValue, boolean showInheritedSign)
Constructs representation operation text.- Parameters:
operation
- operation which text will be created.showSignature
- flag indicates if method parameters should be shown.showVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showStereotype
- show stereotypeshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter direction kindaddColorInformation
- add colorshowTemplateParameters
- indicates if template parameters should be shown.showParameterDefaultValue
- indicates if parameter default values should be shown.showInheritedSign
- show inherited sign- Returns:
- method text string.
-
createOperationText
@Deprecated public static java.lang.String createOperationText(Operation operation, boolean showParameters, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters, boolean showParameterDefaultValue, boolean showInheritedSign)
Constructs operation representation text.- Parameters:
operation
- operation which text will be created.showParameters
- flag indicates if operation parameters should be shown.showVisibility
- flag indicates if operation visibility should be shown.showFullType
- True for show full type.showStereotype
- show stereotypeshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter direction kindaddColorInformation
- add colorshowTemplateParameters
- indicates if template parameters should be shown.showParameterDefaultValue
- indicates if parameter default values should be shown.showInheritedSign
- show inherited sign- Returns:
- method text string.
-
createParameterDirectionText
@Deprecated public static java.lang.String createParameterDirectionText(Project project, java.lang.Class<? extends Parameter> parameterMetaType, @CheckForNull ParameterDirectionKind parameterDirection, boolean skipDefaultValue, boolean showReturnDirection, boolean addColorInformation)
Deprecated.useModelTextCreator#createParameterDirectionText(ParameterDirectionKind, Project, ParameterDirectionTextParams, Supplier)
-
createParameterText
@Deprecated public static java.lang.String createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation)
Creates text which represents parameter. for example "param : java::lang::String"- Parameters:
parameter
- parameter which text will be created.showFullType
- True for show full type.showParameterDirection
- show parameter directionaddColorInformation
- add color- Returns:
- Created text
-
createParameterText
@Deprecated public static java.lang.String createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue, boolean skipDefaultDirection, boolean showReturnDirection)
-
createParameterText
@Deprecated public static java.lang.String createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue)
-
createParametersText
@Deprecated public static java.lang.String createParametersText(java.util.Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showParameterDefaultValue)
-
createParametersText
@Deprecated public static java.lang.String createParametersText(java.util.Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation)
-
createActivityParameterNodeText
@Deprecated public static java.lang.String createActivityParameterNodeText(ActivityParameterNode parameter, boolean showFullType, boolean addColorInformation)
Deprecated.Creates text which represents activity parameter node. for example "param : java::lang::String"- Parameters:
parameter
- parameter which text will be created.showFullType
- True for show full type.addColorInformation
- indicates if color information should be added to the parameter text.- Returns:
- Created text
-
createReceptionText
@Deprecated public static java.lang.String createReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation)
Constructs reception representation text.- Parameters:
reception
- reception which text will be created.showSignature
- flag indicates if method parameters should be shown.showVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showStereotype
- show stereotypesshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter directionaddColorInformation
- add color- Returns:
- reception representation text
-
createReceptionText
@Deprecated public static java.lang.String createReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean showInheritedSign, boolean addColorInformation)
Constructs reception representation text.- Parameters:
reception
- reception which text will be created.showSignature
- flag indicates if method parameters should be shown.showVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showStereotype
- show stereotypesshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter directionshowInheritedSign
- show inherited signaddColorInformation
- add color- Returns:
- reception representation text
-
createReceptionText
@Deprecated public static java.lang.String createReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean showInheritedSign, boolean addColorInformation)
Constructs reception representation text.- Parameters:
reception
- reception which text will be created.showSignature
- flag indicates if method parameters should be shown.showVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showStereotype
- show stereotypesshowProperties
- show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowParameterDirection
- show parameter directionshowInheritedSign
- show inherited signaddColorInformation
- add color- Returns:
- reception representation text
-
createGuardText
@Deprecated public static java.lang.String createGuardText(Message msg)
Deprecated.Creates Message guard text.- Parameters:
msg
- message- Returns:
- text
-
createEnumerationLiteralText
@Deprecated public static java.lang.String createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression)
Deprecated.Constructs enumeration literal text.- Parameters:
enumLiteral
- EnumerationLiteralshowStereotype
- True, for show stereotypeshowProperties
- True, for show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expression- Returns:
- text
-
createEnumerationLiteralText
@Deprecated public static java.lang.String createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign)
Deprecated.Constructs enumeration literal text.- Parameters:
enumLiteral
- EnumerationLiteralshowStereotype
- True, for show stereotypeshowProperties
- True, for show propertiesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowInheritedSign
- show inherited sign- Returns:
- text
-
createEnumerationLiteralText
@Deprecated public static java.lang.String createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign)
Deprecated.Constructs enumeration literal text.- Parameters:
enumLiteral
- EnumerationLiteralshowStereotype
- True, for show stereotypeshowProperties
- True, for show propertiesshowTaggedValues
- True, for show tagged valuesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowInheritedSign
- show inherited sign- Returns:
- text
-
createEnumerationLiteralText
@Deprecated public static java.lang.String createEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign, boolean addColorInformation)
Deprecated.Constructs enumeration literal text.- Parameters:
enumLiteral
- EnumerationLiteralshowStereotype
- True, for show stereotypeshowProperties
- True, for show propertiesshowTaggedValues
- True, for show tagged valuesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowInheritedSign
- show inherited sign- Returns:
- text
-
createTemplateParametersText
@Deprecated public static java.lang.String createTemplateParametersText(java.util.Collection templateParameters, java.lang.String separator)
Create the Template Parameters Text.- Parameters:
templateParameters
- The given TemplateParameters.separator
- The text separator
-
createTemplateParameterText
@Deprecated public static java.lang.String createTemplateParameterText(TemplateParameter tParameter)
Creates TemplateParameter text.- Parameters:
tParameter
- The given TemplateParameter- Returns:
- The create string.
-
createTemplateBindingText
public static java.lang.String createTemplateBindingText(TemplateBinding binding)
Constructs given binding element text.- Parameters:
binding
- The given binding.- Returns:
- The created string.
-
createTemplateBindingText
public static java.lang.String createTemplateBindingText(TemplateBinding binding, boolean attachTemplateParameterInfo)
Constructs given binding element text.- Parameters:
binding
- The given binding.attachTemplateParameterInfo
- indicates if full template parameter notation should be used.- Returns:
- The created string.
-
createTemplateParameterSubstitutionText
@Deprecated public static java.lang.String createTemplateParameterSubstitutionText(TemplateParameterSubstitution parameterSubstitution, boolean attachTemplateParameterInfo)
Deprecated.Create TemplateParameterSubstitution Text.- Parameters:
parameterSubstitution
- The given ParameterSubstitution.attachTemplateParameterInfo
- indicates if full template parameter notation should be used.- Returns:
- The created text.
-
createPropertyText
@Deprecated public static java.lang.String createPropertyText(Property property, boolean showName, boolean showType, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showConstraints, boolean showMultiplicity, boolean addColorInformation)
Deprecated.Constructs attribute view text.- Parameters:
property
- attribute which text will be created.showName
- show nameshowType
- show typeshowVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showInitValue
- indicates if initial value of attribute will be shown. @return attribute view text string.showStereotype
- show stereotypeshowProperties
- show propertiesshowConstraints
- show constraintsshowMultiplicity
- show multiplicityaddColorInformation
- add color- Returns:
- property text
-
createPropertyText
@Deprecated public static java.lang.String createPropertyText(Property property, boolean showName, boolean showType, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean addColorInformation)
Deprecated.Constructs attribute view text.- Parameters:
property
- attribute which text will be created.showName
- show nameshowType
- show typeshowVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showInitValue
- indicates if initial value of attribute will be shown. @return attribute view text string.showStereotype
- show stereotypesshowProperties
- show propertiesshowTypeTaggedValues
- show tagged valuesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowMultiplicity
- show multiplicityaddColorInformation
- add color- Returns:
- text
-
createPropertyText
@Deprecated public static java.lang.String createPropertyText(Property property, boolean showName, boolean showType, boolean showDerived, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean addColorInformation)
Deprecated.Constructs attribute view text.- Parameters:
property
- attribute which text will be created.showName
- show nameshowType
- show typeshowDerived
- show derived signshowVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showInitValue
- indicates if initial value of attribute will be shown. @return attribute view text string.showStereotype
- show stereotypesshowProperties
- show propertiesshowTypeTaggedValues
- show tagged valuesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowMultiplicity
- show multiplicityaddColorInformation
- add color- Returns:
- text
-
createPropertyText
@Deprecated public static java.lang.String createPropertyText(Property property, boolean showName, boolean showType, boolean showDerived, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean showInheritedSign, boolean addColorInformation)
Deprecated.Constructs attribute view text.- Parameters:
property
- attribute which text will be created.showName
- show nameshowType
- show typeshowDerived
- show derived signshowVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showInitValue
- indicates if initial value of attribute will be shown. @return attribute view text string.showStereotype
- show stereotypesshowProperties
- show propertiesshowTypeTaggedValues
- show tagged valuesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowMultiplicity
- show multiplicityshowInheritedSign
- show inherited signaddColorInformation
- add color- Returns:
- text
-
createPropertyText
@Deprecated public static java.lang.String createPropertyText(Property property, boolean showName, boolean showType, boolean showDerived, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showTypeTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showMultiplicity, boolean showInheritedSign, boolean addColorInformation)
Deprecated.Constructs attribute view text.- Parameters:
property
- attribute which text will be created.showName
- show nameshowType
- show typeshowDerived
- show derived signshowVisibility
- flag indicates if method visibility should be shown.showFullType
- True for show full type.showInitValue
- indicates if initial value of attribute will be shown. @return attribute view text string.showStereotype
- show stereotypesshowProperties
- show propertiesshowTypeTaggedValues
- show tagged valuesshowConstraintName
- show constraint nameshowConstraintExpression
- show constraint expressionshowMultiplicity
- show multiplicityshowInheritedSign
- show inherited signaddColorInformation
- add color- Returns:
- text
-
createPortText
@Deprecated public static java.lang.String createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor)
-
createPortText
@Deprecated public static java.lang.String createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showTaggedValues, boolean showInheritedSign, boolean addColor)
-
createPortText
@Deprecated public static java.lang.String createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showInheritedSign, boolean addColor)
-
createInstanceSpecificationText
@Deprecated public static java.lang.String createInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor)
-
createInstanceSpecificationText
@Deprecated public static java.lang.String createInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor, boolean showAutoID)
-
appendGrayColor
@Deprecated public static java.lang.String appendGrayColor(java.lang.String text)
Deprecated.
-
appendGrayColor
@Deprecated public static void appendGrayColor(java.lang.StringBuffer text)
Deprecated.
-
resetColor
@Deprecated public static java.lang.String resetColor(java.lang.String text)
Deprecated.
-
resetColor
@Deprecated public static void resetColor(java.lang.StringBuffer text)
Deprecated.
-
appendColor
@Deprecated public static void appendColor(java.lang.StringBuffer text, java.awt.Color color)
Deprecated.
-
appendColor
@Deprecated public static java.lang.String appendColor(java.lang.String text, java.awt.Color color)
Deprecated.
-
getPureTextFromColoredText
@Deprecated public static java.lang.String getPureTextFromColoredText(java.lang.String coloredText)
Deprecated.
-
startColorHtmlTag
@Deprecated public static void startColorHtmlTag(java.lang.StringBuilder text, java.awt.Color color)
Deprecated.
-
startColorHtmlTag
@Deprecated public static java.lang.String startColorHtmlTag(java.lang.String text, java.awt.Color color)
Deprecated.
-
endColorHtmlTag
@Deprecated public static void endColorHtmlTag(java.lang.StringBuilder text)
Deprecated.
-
createRepresentationTextComparator
@Deprecated public static java.util.Comparator<BaseElement> createRepresentationTextComparator(boolean addColor, boolean showAutoId)
-
endColorHtmlTag
@Deprecated public static java.lang.String endColorHtmlTag(java.lang.String text)
Deprecated.
-
getRepresentedText
@Deprecated public static java.lang.String getRepresentedText(BaseElement el, boolean addColor)
-
getRepresentedText
@Deprecated public static java.lang.String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber)
-
getRepresentedText
@Deprecated public static java.lang.String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature)
-
getRepresentedText
@Deprecated public static java.lang.String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, boolean noCache)
-
getRepresentedText
@Deprecated public static java.lang.String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, LocationInTool locationInTool, boolean noCache)
-
createDefaultRepresentationText
@Deprecated public static java.lang.String createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature)
-
createDefaultRepresentationText
@Deprecated public static java.lang.String createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId)
-
createDefaultRepresentationText
@Deprecated public static java.lang.String createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId, LocationInTool locationInTool)
-
isAddColor
@Deprecated public boolean isAddColor()
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving text- Returns:
- always returns false
-
setAddColor
@Deprecated public void setAddColor(boolean addColor)
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textMethod has no impact, does not set the value
-
getLocationInTool
@Deprecated public LocationInTool getLocationInTool()
Deprecated.text creation parameters are now retrieved fromRepresentationTextParams
which is passed as argument for various methods- Returns:
- always returns
LocationInTool.unknown
-
setLocationInTool
@Deprecated public void setLocationInTool(LocationInTool locationInTool)
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textMethod has no impact, does not set the value
-
isShowFullType
@Deprecated public boolean isShowFullType()
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving text- Returns:
- always returns false
-
setShowFullType
@Deprecated public void setShowFullType(boolean value)
Deprecated.text creation parameters should now be set inRepresentationTextParams
and passed as argument for methods when retrieving textMethod has no impact, does not set the value
-
getRelationshipFromToRepresentation
@Deprecated public static java.lang.String getRelationshipFromToRepresentation(Element relationship, @CheckForNull Element clientModelElement, java.lang.String clientName, @CheckForNull Element supplierModelElement, java.lang.String supplierName, boolean showFullType, boolean addColor)
-
createTypedElementText
@Deprecated public static java.lang.String createTypedElementText(TypedElement typedElement, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor)
-
createNamedElementListText
@Deprecated public static java.lang.String createNamedElementListText(java.util.List<? extends NamedElement> elements)
-
createVisibilityText
@Deprecated public static char createVisibilityText(@CheckForNull VisibilityKind visibility)
Deprecated.
-
createElementNameText
@Deprecated public static java.lang.String createElementNameText(@CheckForNull Element o)
Deprecated.
-
-