|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance rs.sol.soloist.server.builtindomains.common.ObjectOfClass rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature rs.sol.soloist.server.guiconfiguration.style.GUITextFeature
public class GUITextFeature
A GUISettingFeature
that describes a textual
representation. Defines the contents and presentation style of a text.
GUIContext
,
GUIItemSetting
Nested Class Summary | |
---|---|
static class |
GUITextFeature.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUITextFeature.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
IAttributeValue<Text> |
attrName
Deprecated. Not for public use. |
static IClass |
CLASSIFIER
UML class reference |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAttributeValue<Boolean> |
getFromType
Deprecated. Not for public use. |
IAttributeValue<Boolean> |
isFixed
Deprecated. Not for public use. |
IAttributeValue<Text> |
textValue
Deprecated. Not for public use. |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature |
---|
complain, description, name, ownerContext, ownerSetting |
Constructor Summary | |
---|---|
GUITextFeature()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUITextFeature |
create(GUIItemSetting setting,
java.lang.String name,
java.lang.String s,
boolean isFixed)
Deprecated. Not for public use. |
static GUITextFeature |
createDescription(GUIItemSetting setting,
IProperty property)
Returns new GUITextFeature that specifies the property from which
the description of all elements affected by the specified setting will be fetched. |
static GUITextFeature |
createDescription(GUIItemSetting setting,
java.lang.String attrName)
Deprecated. Not for public use. |
static GUITextFeature |
createDescription(GUIItemSetting setting,
java.lang.String s,
boolean isFixed)
Deprecated. Not for public use. |
static GUITextFeature |
createDescriptionFromType(GUIItemSetting setting)
Deprecated. Not for public use. |
static GUITextFeature |
createFixedDescription(GUIItemSetting setting,
java.lang.String fixedDescr)
Returns new GUITextFeature that specifies fixed description for
elements that are covered with specified setting. |
static GUITextFeature |
createFixedName(GUIItemSetting setting,
java.lang.String fixedName)
Returns new GUITextFeature that specifies fixed name for
elements that are covered with specified setting. |
static GUITextFeature |
createFixedSeparator(GUIItemSetting setting,
java.lang.String fixedSeparator)
Returns new GUITextFeature that specifies fixed separator for
elements that are covered with specified setting. |
static GUITextFeature |
createFixedTooltip(GUIItemSetting setting,
java.lang.String fixedTooltip)
Returns new GUITextFeature that specifies fixed tooltip for
elements that are covered with specified setting. |
static GUITextFeature |
createFromType(GUIItemSetting setting,
java.lang.String name)
Deprecated. Not for public use. |
rs.sol.soloist.client.common.info.element.TextInfo |
createInfo(rs.sol.soloist.server.uml.concepts.IElement el,
IElementPresentationProvider epp)
Deprecated. Not for public use. |
static GUITextFeature |
createName(GUIItemSetting setting,
IProperty property)
Returns new GUITextFeature that specifies the property from which
the name of all elements affected by the specified setting will be fetched. |
static GUITextFeature |
createName(GUIItemSetting setting,
java.lang.String attrName)
Deprecated. Not for public use. |
static GUITextFeature |
createName(GUIItemSetting setting,
java.lang.String s,
boolean isFixed)
Deprecated. Not for public use. |
static GUITextFeature |
createNameFromType(GUIItemSetting setting)
Deprecated. Not for public use. |
static GUITextFeature |
createSeparator(GUIItemSetting setting,
IProperty property)
Returns new GUITextFeature that specifies the property from which
the separator of all elements affected by the specified setting will be fetched. |
static GUITextFeature |
createSeparator(GUIItemSetting setting,
java.lang.String attrName)
Deprecated. Not for public use. |
static GUITextFeature |
createSeparator(GUIItemSetting setting,
java.lang.String s,
boolean isFixed)
Deprecated. Not for public use. |
static GUITextFeature |
createSeparatorFromType(GUIItemSetting setting)
Deprecated. Not for public use. |
static GUITextFeature |
createTooltip(GUIItemSetting setting,
IProperty property)
Returns new GUITextFeature that specifies the property from which
the tooltip of all elements affected by the specified setting will be fetched. |
static GUITextFeature |
createTooltip(GUIItemSetting setting,
java.lang.String s,
boolean isFixed)
Deprecated. Not for public use. |
static GUITextFeature |
createTooltipFromType(GUIItemSetting setting)
Deprecated. Not for public use. |
java.lang.String |
getAttributeName()
Returns the attribute name of this feature. |
boolean |
getFixed()
Returns whether this feature specifies fixed text. |
java.lang.String |
getFromType(IClassifierInstance instance)
Deprecated. Not for public use. |
boolean |
getGetFromType()
Deprecated. |
java.lang.String |
getText(IDataTypeInstance value)
Returns the textual value (the contents) defined by this feature for the given data type instance. |
java.lang.String |
getTextValue()
Returns the fixed text of this feature. |
java.lang.String |
getValue(rs.sol.soloist.server.uml.concepts.IElement el)
Returns the textual value (the contents) defined by this feature for the given element. |
boolean |
isElementSpecific()
Deprecated. Not for public use. |
static boolean |
isValidSlot(ISlot slot)
Deprecated. Not for public use. |
void |
setAttributeName(java.lang.String attributeName)
Sets the attribute name for this feature. |
void |
setFixed(boolean fixed)
Sets whether this feature is fixed or not. |
void |
setGetFromType(boolean getFromType)
Deprecated. |
void |
setTextValue(java.lang.String textValue)
Sets fixed text value for this feature. |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature |
---|
getComplain, getContext, getDescription, getName, setComplain, setDescription, setName |
Methods inherited from class rs.sol.soloist.server.builtindomains.common.ObjectOfClass |
---|
handle |
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance |
---|
destroy, equals, getAssociationEndInstance, getAssociationEndInstances, getAttributeValue, getAttributeValues, getMyClass, getMyID, getSlot, getSlot, getSlots, getUMLClass, hashCode, isMarkedAsDeleted, toString |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance |
---|
accept, accept, exists, getAssociationEndInstance, getAssociationEndInstance, getAssociationEndInstance, getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isEqualTo, makeClone, markAsDeleted |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance |
---|
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance |
---|
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement |
---|
getMElement |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
---|
isKindOf, isModelElement, isRTElement |
Field Detail |
---|
@Deprecated public IAttributeValue<Boolean> isFixed
@Deprecated public IAttributeValue<Boolean> getFromType
@Deprecated public IAttributeValue<Text> textValue
@Deprecated public IAttributeValue<Text> attrName
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUITextFeature()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUISettingFeature
public java.lang.String getValue(rs.sol.soloist.server.uml.concepts.IElement el)
el
- the element whose text should be retrieved
@Deprecated public boolean isElementSpecific()
isElementSpecific
in class GUISettingFeature
@Deprecated public static boolean isValidSlot(ISlot slot)
@Deprecated public java.lang.String getFromType(IClassifierInstance instance)
public java.lang.String getText(IDataTypeInstance value)
value
- the element whose text should be retrieved
@Deprecated public rs.sol.soloist.client.common.info.element.TextInfo createInfo(rs.sol.soloist.server.uml.concepts.IElement el, IElementPresentationProvider epp)
createInfo
in class GUISettingFeature
public static GUITextFeature createFixedName(GUIItemSetting setting, java.lang.String fixedName)
GUITextFeature
that specifies fixed name for
elements that are covered with specified setting.
setting
- the setting whose elements are affected by new featurefixedName
- the fixed name that will hold for all elements of
the owner setting
GUITextFeature
public static GUITextFeature createFixedDescription(GUIItemSetting setting, java.lang.String fixedDescr)
GUITextFeature
that specifies fixed description for
elements that are covered with specified setting.
setting
- the setting whose elements are affected by new featurefixedDescr
- the fixed description that will hold for all elements of
the owner setting
GUITextFeature
public static GUITextFeature createFixedTooltip(GUIItemSetting setting, java.lang.String fixedTooltip)
GUITextFeature
that specifies fixed tooltip for
elements that are covered with specified setting.
setting
- the setting whose elements are affected by new featurefixedTooltip
- the fixed tooltip that will hold for all elements of
the owner setting
GUITextFeature
public static GUITextFeature createFixedSeparator(GUIItemSetting setting, java.lang.String fixedSeparator)
GUITextFeature
that specifies fixed separator for
elements that are covered with specified setting.
setting
- the setting whose elements are affected by new featurefixedSeparator
- the fixed separator that will hold for all elements of
the owner setting
GUITextFeature
public static GUITextFeature createName(GUIItemSetting setting, IProperty property)
GUITextFeature
that specifies the property from which
the name of all elements affected by the specified setting will be fetched.
setting
- the setting whose elements are affected by new featureproperty
- the property whose slot will be read to fetch the name
GUITextFeature
public static GUITextFeature createSeparator(GUIItemSetting setting, IProperty property)
GUITextFeature
that specifies the property from which
the separator of all elements affected by the specified setting will be fetched.
setting
- the setting whose elements are affected by new featureproperty
- the property whose slot will be read to fetch the separator
GUITextFeature
public static GUITextFeature createDescription(GUIItemSetting setting, IProperty property)
GUITextFeature
that specifies the property from which
the description of all elements affected by the specified setting will be fetched.
setting
- the setting whose elements are affected by new featureproperty
- the property whose slot will be read to fetch the description
GUITextFeature
public static GUITextFeature createTooltip(GUIItemSetting setting, IProperty property)
GUITextFeature
that specifies the property from which
the tooltip of all elements affected by the specified setting will be fetched.
setting
- the setting whose elements are affected by new featureproperty
- the property whose slot will be read to fetch the tooltip
GUITextFeature
public java.lang.String getTextValue()
public java.lang.String getAttributeName()
public boolean getFixed()
public void setTextValue(java.lang.String textValue)
textValue
- new fixed valuepublic void setAttributeName(java.lang.String attributeName)
attributeName
- an attribute namepublic void setFixed(boolean fixed)
fixed
- the boolean that tells whether this feature is fixed or not@Deprecated public boolean getGetFromType()
@Deprecated public void setGetFromType(boolean getFromType)
@Deprecated public static GUITextFeature createName(GUIItemSetting setting, java.lang.String attrName)
@Deprecated public static GUITextFeature createSeparator(GUIItemSetting setting, java.lang.String attrName)
@Deprecated public static GUITextFeature createDescription(GUIItemSetting setting, java.lang.String attrName)
@Deprecated public static GUITextFeature createName(GUIItemSetting setting, java.lang.String s, boolean isFixed)
@Deprecated public static GUITextFeature createSeparator(GUIItemSetting setting, java.lang.String s, boolean isFixed)
@Deprecated public static GUITextFeature createDescription(GUIItemSetting setting, java.lang.String s, boolean isFixed)
@Deprecated public static GUITextFeature createTooltip(GUIItemSetting setting, java.lang.String s, boolean isFixed)
@Deprecated public static GUITextFeature create(GUIItemSetting setting, java.lang.String name, java.lang.String s, boolean isFixed)
@Deprecated public static GUITextFeature createFromType(GUIItemSetting setting, java.lang.String name)
@Deprecated public static GUITextFeature createNameFromType(GUIItemSetting setting)
@Deprecated public static GUITextFeature createSeparatorFromType(GUIItemSetting setting)
@Deprecated public static GUITextFeature createDescriptionFromType(GUIItemSetting setting)
@Deprecated public static GUITextFeature createTooltipFromType(GUIItemSetting setting)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |