Package com.nomagic.magicdraw.uml
Class DeprecatedRepresentationTextCreator
java.lang.Object
com.nomagic.magicdraw.uml.DeprecatedRepresentationTextCreator
- Direct Known Subclasses:
RepresentationTextCreator
Deprecated OpenApi methods of RepresentationTextCreator that should not be used any more
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendColor(StringBuffer text, Color color) Deprecated.static StringappendColor(String text, Color color) Deprecated.static StringappendGrayColor(String text) Deprecated.static voidappendGrayColor(StringBuffer text) Deprecated.static StringconstructActivityEdgeText(ActivityEdge activityEdge, boolean showWeight) static StringconstructCombinedFragmentOperatorText(CombinedFragment combinedFragment) static StringcreateActivityParameterNodeText(ActivityParameterNode parameter, boolean showFullType, boolean addColorInformation) static StringcreateAssociationText(Association association) Deprecated.static StringcreateBehaviorText(Behavior behavior) static StringcreateBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind) static StringcreateBehaviorText(Behavior behavior, boolean showStereotype, boolean showProperties, boolean showInheritedSign, boolean showSignature, boolean showFullType, boolean showConstraintName, boolean showConstraintExpression, boolean addColorInformation, boolean showParameterDirectionKind, boolean showOpaqueBehaviorBody) static StringcreateBehaviorText(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 StringcreateClassifierName(Classifier classifier, boolean showFullType, boolean addColorInformation) Deprecated.static StringcreateClassifiersRepresentation(Collection classifiers, boolean showFullType, boolean addColorInformation) Deprecated.static StringcreateConstraintsText(Constraint constraint, boolean useName, boolean useExpression, boolean addBrackets) static StringcreateConstraintsText(ValueSpecification valueSpecification, boolean addBrackets) static StringcreateConstraintsText(Collection<Constraint> constraints, String separator, boolean useName, boolean useExpression, boolean addBrackets) static StringcreateDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature) static StringcreateDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId) static StringcreateDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId, LocationInTool locationInTool) static StringDeprecated.static StringcreateEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression) static StringcreateEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign) static StringcreateEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign) static StringcreateEnumerationLiteralText(EnumerationLiteral enumLiteral, boolean showStereotype, boolean showProperties, boolean showTaggedValues, boolean showConstraintName, boolean showConstraintExpression, boolean showInheritedSign, boolean addColorInformation) static StringcreateEventText(Event event) static StringcreateEventText(Event event, boolean showOperationsSignature, boolean useAdvancedColoring) static StringcreateGuardText(Message msg) Deprecated.static StringDeprecated.static StringcreateInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor) static StringcreateInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor, boolean showAutoID) static StringcreateInteractionUseText(CallBehaviorAction interactionUse) static StringcreateInteractionUseText(InteractionUse interactionUse, boolean addReferTo, boolean addArguments) static StringDeprecated.static StringcreateMultiplicityText(MultiplicityElement multiplicity, boolean showOrder, boolean showUnique, boolean addBrackets) static StringcreateMultiplicityText(Integer lower, Integer upper) Deprecated.static StringcreateMultiplicityText(String lower, String upper, boolean ordered, boolean unique, boolean addBrackets) static StringcreateMultiplicityText(String lower, String upper, ValueSpecification lowerValue, boolean unique, boolean ordered, boolean addBrackets) static StringcreateNamedElementListText(List<? extends NamedElement> elements) static StringcreateOperandGuardText(InteractionOperand operand) static StringcreateOperationText(Operation operation, boolean showParameters, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation, boolean showTemplateParameters) static StringcreateOperationText(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 StringcreateOperationText(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 StringcreateOperationText(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 StringcreateParameterDirectionText(Project project, Class<? extends Parameter> parameterMetaType, ParameterDirectionKind parameterDirection, boolean skipDefaultValue, boolean showReturnDirection, boolean addColorInformation) Deprecated.useModelTextCreator#createParameterDirectionText(ParameterDirectionKind, Project, ParameterDirectionTextParams, Supplier)static StringcreateParametersText(Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation) static StringcreateParametersText(Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showParameterDefaultValue) static StringcreateParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation) static StringcreateParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue) static StringcreateParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue, boolean skipDefaultDirection, boolean showReturnDirection) static StringcreatePinText(Pin pin, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor, boolean showSynchronizationInfo) Deprecated.static StringcreatePortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor) static StringcreatePortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showInheritedSign, boolean addColor) static StringcreatePortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showTaggedValues, boolean showInheritedSign, boolean addColor) static voidcreatePropertyPropertyStringText(Property property, StringBuffer text) Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder)static voidcreatePropertyPropertyStringText(Property property, StringBuffer text, String separator) Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder, String)static StringcreatePropertyText(Property property, boolean showName, boolean showType, boolean showVisibility, boolean showFullType, boolean showInitValue, boolean showStereotype, boolean showProperties, boolean showConstraints, boolean showMultiplicity, boolean addColorInformation) static StringcreatePropertyText(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 StringcreatePropertyText(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 StringcreatePropertyText(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 StringcreatePropertyText(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 StringcreateProtocolTransitionText(ProtocolTransition transition) static StringcreateProtocolTransitionText(ProtocolTransition transition, boolean showPort) static StringcreateProtocolTransitionText(ProtocolTransition transition, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring) static StringcreatePureSlotsString(Collection<Slot> slots, String separator, boolean showHTML, boolean showEmptyValue) static StringcreateReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean addColorInformation) static StringcreateReceptionText(Reception reception, boolean showSignature, boolean showVisibility, boolean showFullType, boolean showStereotype, boolean showProperties, boolean showConstraintName, boolean showConstraintExpression, boolean showParameterDirection, boolean showInheritedSign, boolean addColorInformation) static StringcreateReceptionText(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 Comparator<BaseElement>createRepresentationTextComparator(boolean addColor, boolean showAutoId) static StringcreateSlotsText(Collection<Slot> slots, String separator, boolean showHTML, boolean showEmptyValue) static StringcreateSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName) Deprecated.static StringcreateSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName) Deprecated.static StringcreateSlotText(Slot slot, boolean showName, boolean ignoreTrueValues, boolean showHTML, boolean showFeatureType, boolean showFullType, boolean showFeatureTypeTaggedValues, boolean addColorInformation, boolean showEmptyValue, boolean showQualifiedName, boolean showDerived) Deprecated.static StringcreateSlotText(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 StringcreateStateText(State state) Deprecated.static StringcreateStereotypesText(Element element, char separator) static StringcreateStereotypesText(Element element, char separator, boolean skipDSL, boolean useAlias) static StringcreateStereotypesText(Collection<Stereotype> stereotypes, char separator) static StringcreateStereotypesText(Collection<Stereotype> stereotypes, char separator, boolean skipDSL, boolean useAlias) static StringcreateStereotypeText(Stereotype stereotype) static StringcreateStereotypeText(Stereotype stereotype, boolean useAlias) static StringcreateStereotypeText(String stereotypeName) Deprecated.static StringcreateTemplateBindingText(TemplateBinding binding) Constructs given binding element text.static StringcreateTemplateBindingText(TemplateBinding binding, boolean attachTemplateParameterInfo) Constructs given binding element text.static StringcreateTemplateParametersText(Collection templateParameters, String separator) static StringcreateTemplateParameterSubstitutionText(TemplateParameterSubstitution parameterSubstitution, boolean attachTemplateParameterInfo) static StringcreateTemplateParameterText(TemplateParameter tParameter) static StringcreateTransitionText(Transition transition, boolean showEffect) static StringcreateTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody) static StringcreateTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody, boolean showOperationsSignature, boolean useAdvancedColoring) static StringcreateTriggersText(Collection triggers) static StringcreateTriggersText(Collection triggers, boolean showPort) static StringcreateTriggersText(Collection triggers, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring) static StringcreateTriggerText(Trigger trigger) static StringcreateTriggerText(Trigger trigger, boolean showPort) static StringcreateTriggerText(Trigger trigger, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring) static StringcreateTypedElementText(TypedElement typedElement, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor) static StringcreateTypeName(Type type, boolean showFullType, boolean addColorInformation) Deprecated.static StringcreateValueSpecificationText(ValueSpecification specification) static charcreateVisibilityText(VisibilityKind visibility) Deprecated.static StringendColorHtmlTag(String text) Deprecated.static voidendColorHtmlTag(StringBuilder text) Deprecated.Deprecated.text creation parameters are now retrieved fromRepresentationTextParamswhich is passed as argument for various methodsstatic StringgetPureTextFromColoredText(String coloredText) Deprecated.static StringgetRelationshipFromToRepresentation(Element relationship, Element clientModelElement, String clientName, Element supplierModelElement, String supplierName, boolean showFullType, boolean addColor) static StringgetRepresentedText(BaseElement el, boolean addColor) static StringgetRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber) static StringgetRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature) static StringgetRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, boolean noCache) static StringgetRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, LocationInTool locationInTool, boolean noCache) booleanDeprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textbooleanDeprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textstatic StringresetColor(String text) Deprecated.static voidresetColor(StringBuffer text) Deprecated.voidsetAddColor(boolean addColor) Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textvoidsetLocationInTool(LocationInTool locationInTool) Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textvoidsetShowFullType(boolean value) Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textstatic voidstartColorHtmlTag(StringBuilder text, Color color) Deprecated.static StringstartColorHtmlTag(String text, Color color) Deprecated.
-
Field Details
-
EMPTY_NAME_NOTATION
Deprecated.- See Also:
-
COLOR_PREFIX
Deprecated.- See Also:
-
COLOR_POSTFIX
Deprecated.- See Also:
-
GRAY_COLOR_STRING
Deprecated.
-
-
Constructor Details
-
DeprecatedRepresentationTextCreator
public DeprecatedRepresentationTextCreator()
-
-
Method Details
-
createTransitionText
-
createTransitionText
@Deprecated public static String createTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody) -
createTransitionText
@Deprecated public static String createTransitionText(Transition transition, boolean showEffect, boolean showPort, boolean showOpaqueBehaviorBody, boolean showOperationsSignature, boolean useAdvancedColoring) -
createProtocolTransitionText
-
createProtocolTransitionText
@Deprecated public static String createProtocolTransitionText(ProtocolTransition transition, boolean showPort) -
createProtocolTransitionText
@Deprecated public static String createProtocolTransitionText(ProtocolTransition transition, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring) -
createTriggersText
-
createTriggersText
-
createTriggersText
@Deprecated public static String createTriggersText(Collection triggers, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring) -
createTriggerText
-
createTriggerText
-
createTriggerText
@Deprecated public static String createTriggerText(Trigger trigger, boolean showPort, boolean showOperationsSignature, boolean useAdvancedColoring) -
createEventText
-
createEventText
@Deprecated public static String createEventText(Event event, boolean showOperationsSignature, boolean useAdvancedColoring) -
createSlotText
@Deprecated public static 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 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 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 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 String createPureSlotsString(Collection<Slot> slots, String separator, boolean showHTML, boolean showEmptyValue) -
createSlotsText
@Deprecated public static String createSlotsText(Collection<Slot> slots, String separator, boolean showHTML, boolean showEmptyValue) -
createConstraintsText
@CheckForNull @Deprecated public static String createConstraintsText(Collection<Constraint> constraints, String separator, boolean useName, boolean useExpression, boolean addBrackets) -
createConstraintsText
@Deprecated public static String createConstraintsText(Constraint constraint, boolean useName, boolean useExpression, boolean addBrackets) -
createConstraintsText
@Deprecated public static String createConstraintsText(ValueSpecification valueSpecification, boolean addBrackets) -
constructActivityEdgeText
@Deprecated public static String constructActivityEdgeText(ActivityEdge activityEdge, boolean showWeight) -
createValueSpecificationText
@Deprecated public static String createValueSpecificationText(@CheckForNull ValueSpecification specification) -
createTypeName
@Deprecated public static String createTypeName(Type type, boolean showFullType, boolean addColorInformation) Deprecated. -
createMultiplicityText
Deprecated. -
createMultiplicityRangeText
Deprecated. -
createMultiplicityText
@Deprecated public static String createMultiplicityText(String lower, String upper, boolean ordered, boolean unique, boolean addBrackets) -
createMultiplicityText
@Deprecated public static String createMultiplicityText(MultiplicityElement multiplicity, boolean showOrder, boolean showUnique, boolean addBrackets) -
createMultiplicityText
@Deprecated public static String createMultiplicityText(String lower, String upper, @CheckForNull ValueSpecification lowerValue, boolean unique, boolean ordered, boolean addBrackets) -
createPinText
@Deprecated public static String createPinText(Pin pin, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor, boolean showSynchronizationInfo) Deprecated. -
createOperandGuardText
-
constructCombinedFragmentOperatorText
@Deprecated public static String constructCombinedFragmentOperatorText(CombinedFragment combinedFragment) -
createClassifiersRepresentation
@Deprecated public static String createClassifiersRepresentation(Collection classifiers, boolean showFullType, boolean addColorInformation) Deprecated. -
createClassifierName
@Deprecated public static String createClassifierName(Classifier classifier, boolean showFullType, boolean addColorInformation) Deprecated. -
createInteractionUseText
@Deprecated public static String createInteractionUseText(InteractionUse interactionUse, boolean addReferTo, boolean addArguments) -
createInteractionUseText
-
createId
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.Create Association text.- Parameters:
association- Text owner.- Returns:
- The created string.
-
createBehaviorText
Creates behavior text.- Parameters:
behavior- behavior to represent.- Returns:
- behavior text.
-
createBehaviorText
@Deprecated public static 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 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 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.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
-
createStereotypesText
@Deprecated public static String createStereotypesText(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 String createStereotypesText(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
-
createStereotypeText
Deprecated. -
createStereotypesText
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 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, StringBuffer text) Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder) -
createPropertyPropertyStringText
@Deprecated public static void createPropertyPropertyStringText(Property property, StringBuffer text, String separator) Deprecated.useModelTextCreatorUtils.appendPropertyPropertyStringText(Property, TextBuilder, String) -
createOperationText
@Deprecated public static 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 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 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 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 String createParameterDirectionText(Project project, Class<? extends Parameter> parameterMetaType, @CheckForNull ParameterDirectionKind parameterDirection, boolean skipDefaultValue, boolean showReturnDirection, boolean addColorInformation) Deprecated.useModelTextCreator#createParameterDirectionText(ParameterDirectionKind, Project, ParameterDirectionTextParams, Supplier) -
createParameterText
@Deprecated public static 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 String createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue, boolean skipDefaultDirection, boolean showReturnDirection) -
createParameterText
@Deprecated public static String createParameterText(Parameter parameter, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showDefaultValue) -
createParametersText
@Deprecated public static String createParametersText(Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation, boolean showParameterDefaultValue) -
createParametersText
@Deprecated public static String createParametersText(Collection<Parameter> parameters, boolean showSignature, boolean showFullType, boolean showParameterDirection, boolean addColorInformation) -
createActivityParameterNodeText
@Deprecated public static 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 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 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 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.Creates Message guard text.- Parameters:
msg- message- Returns:
- text
-
createEnumerationLiteralText
@Deprecated public static 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 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 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 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 String createTemplateParametersText(Collection templateParameters, String separator) Create the Template Parameters Text.- Parameters:
templateParameters- The given TemplateParameters.separator- The text separator
-
createTemplateParameterText
Creates TemplateParameter text.- Parameters:
tParameter- The given TemplateParameter- Returns:
- The create string.
-
createTemplateBindingText
Constructs given binding element text.- Parameters:
binding- The given binding.- Returns:
- The created string.
-
createTemplateBindingText
public static 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 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 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 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 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 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 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 String createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor) -
createPortText
@Deprecated public static String createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showTaggedValues, boolean showInheritedSign, boolean addColor) -
createPortText
@Deprecated public static String createPortText(Port port, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean showInheritedSign, boolean addColor) -
createInstanceSpecificationText
@Deprecated public static String createInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor) -
createInstanceSpecificationText
@Deprecated public static String createInstanceSpecificationText(InstanceSpecification instance, boolean showClassifier, boolean showFullType, boolean addColor, boolean showAutoID) -
appendGrayColor
Deprecated. -
appendGrayColor
Deprecated. -
resetColor
Deprecated. -
resetColor
Deprecated. -
appendColor
Deprecated. -
appendColor
Deprecated. -
getPureTextFromColoredText
Deprecated. -
startColorHtmlTag
Deprecated. -
startColorHtmlTag
Deprecated. -
endColorHtmlTag
Deprecated. -
createRepresentationTextComparator
@Deprecated public static Comparator<BaseElement> createRepresentationTextComparator(boolean addColor, boolean showAutoId) -
endColorHtmlTag
Deprecated. -
getRepresentedText
-
getRepresentedText
@Deprecated public static String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber) -
getRepresentedText
@Deprecated public static String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature) -
getRepresentedText
@Deprecated public static String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, boolean noCache) -
getRepresentedText
@Deprecated public static String getRepresentedText(BaseElement el, boolean addColor, boolean showElementNumber, boolean fullSignature, LocationInTool locationInTool, boolean noCache) -
createDefaultRepresentationText
@Deprecated public static String createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature) -
createDefaultRepresentationText
@Deprecated public static String createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId) -
createDefaultRepresentationText
@Deprecated public static String createDefaultRepresentationText(BaseElement element, boolean addColor, boolean fullSignature, boolean showAutoId, LocationInTool locationInTool) -
isAddColor
Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving text- Returns:
- always returns false
-
setAddColor
Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textMethod has no impact, does not set the value -
getLocationInTool
Deprecated.text creation parameters are now retrieved fromRepresentationTextParamswhich is passed as argument for various methods- Returns:
- always returns
LocationInTool.unknown
-
setLocationInTool
Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textMethod has no impact, does not set the value -
isShowFullType
Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving text- Returns:
- always returns false
-
setShowFullType
Deprecated.text creation parameters should now be set inRepresentationTextParamsand passed as argument for methods when retrieving textMethod has no impact, does not set the value -
getRelationshipFromToRepresentation
-
createTypedElementText
@Deprecated public static String createTypedElementText(TypedElement typedElement, boolean showName, boolean showType, boolean showMultiplicity, boolean showFullType, boolean addColor) -
createNamedElementListText
-
createVisibilityText
Deprecated. -
createElementNameText
Deprecated.
-
RichTextStringUtils.COLOR_POSTFIX