rs.sol.soloist.server.guiconfiguration.style
Class GUIDateTimeTextFeature

java.lang.Object
  extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
      extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
          extended by rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
              extended by rs.sol.soloist.server.builtindomains.common.ObjectOfClass
                  extended by rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature
                      extended by rs.sol.soloist.server.guiconfiguration.style.GUITextFeature
                          extended by rs.sol.soloist.server.guiconfiguration.style.GUIDateTimeTextFeature
All Implemented Interfaces:
rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

public class GUIDateTimeTextFeature
extends GUITextFeature

A GUISettingFeature that provides format and pattern for displaying datetime values in the GUI.

Author:
SOL Expert Group
See Also:
GUITextFeature, GUIContext, GUIItemSetting

Nested Class Summary
static class GUIDateTimeTextFeature.FQPropertyNames
          Deprecated. Not for public use.
static class GUIDateTimeTextFeature.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          UML class reference
 IAttributeValue<Text> customPattern
          Deprecated. Not for public use.
 IAttributeValue<GUIDateTimeFormat> format
          Deprecated. Not for public use.
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUITextFeature
attrName, getFromType, isFixed, textValue
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature
complain, description, name, ownerContext, ownerSetting
 
Constructor Summary
GUIDateTimeTextFeature()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static GUIDateTimeTextFeature create(GUIContext context, GUIDateTimeFormat f, java.lang.String pattern)
          Returns new GUIDateTimeTextFeature for the specified context, date time format, and custom pattern.
static GUIDateTimeTextFeature create(GUIItemSetting setting, GUIDateTimeFormat f, java.lang.String pattern)
          Returns new GUIDateTimeTextFeature for the specified setting, date time format, and custom pattern.
 rs.sol.soloist.client.common.info.element.TextInfo createInfo(rs.sol.soloist.server.uml.concepts.IElement el, IElementPresentationProvider epp)
          Deprecated. Not for public use.
 java.lang.String getCustomPattern()
          Returns the custom pattern of this feature.
 GUIDateTimeFormat getFormat()
          Returns the format of this feature (SHORT, MEDIUM, LONG, FULL, CUSTOM).
 java.lang.String getValue(rs.sol.soloist.server.uml.concepts.IElement el)
          Deprecated. Not for public use.
 void setCustomPattern(java.lang.String customPattern)
          Sets the custom pattern for this feature.
 void setFormat(GUIDateTimeFormat format)
          Sets the format for this feature.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.style.GUITextFeature
create, createDescription, createDescription, createDescription, createDescriptionFromType, createFixedDescription, createFixedName, createFixedSeparator, createFixedTooltip, createFromType, createName, createName, createName, createNameFromType, createSeparator, createSeparator, createSeparator, createSeparatorFromType, createTooltip, createTooltip, createTooltipFromType, getAttributeName, getFixed, getFromType, getGetFromType, getText, getTextValue, isElementSpecific, isValidSlot, setAttributeName, setFixed, setGetFromType, setTextValue
 
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

format

@Deprecated
public IAttributeValue<GUIDateTimeFormat> format
Deprecated. Not for public use.

customPattern

@Deprecated
public IAttributeValue<Text> customPattern
Deprecated. Not for public use.

FQ_TYPE_NAME

public static final java.lang.String FQ_TYPE_NAME
Fully qualified UML class name

See Also:
Constant Field Values

CLASSIFIER

public static final IClass CLASSIFIER
UML class reference

Constructor Detail

GUIDateTimeTextFeature

public GUIDateTimeTextFeature()
Method Detail

constructor

public void constructor()
Description copied from interface: IClassifierInstance
The domain-specific constructor of the Classifier.

Specified by:
constructor in interface IClassifierInstance
Overrides:
constructor in class GUITextFeature

getValue

@Deprecated
public java.lang.String getValue(rs.sol.soloist.server.uml.concepts.IElement el)
Deprecated. Not for public use.

Description copied from class: GUITextFeature
Returns the textual value (the contents) defined by this feature for the given element.

Overrides:
getValue in class GUITextFeature
Parameters:
el - the element whose text should be retrieved
Returns:
the textual representation of the specified element

createInfo

@Deprecated
public rs.sol.soloist.client.common.info.element.TextInfo createInfo(rs.sol.soloist.server.uml.concepts.IElement el,
                                                                                IElementPresentationProvider epp)
Deprecated. Not for public use.

Overrides:
createInfo in class GUITextFeature

create

public static GUIDateTimeTextFeature create(GUIContext context,
                                            GUIDateTimeFormat f,
                                            java.lang.String pattern)
Returns new GUIDateTimeTextFeature for the specified context, date time format, and custom pattern.

Parameters:
context - the context to which this feature should be assigned to
f - the format of this feature (SHORT, MEDIUM, LONG, FULL, CUSTOM)
pattern - the custom pattern
Returns:
new GUIDateTimeTextFeature

create

public static GUIDateTimeTextFeature create(GUIItemSetting setting,
                                            GUIDateTimeFormat f,
                                            java.lang.String pattern)
Returns new GUIDateTimeTextFeature for the specified setting, date time format, and custom pattern.

Parameters:
setting - the setting to which this feature should be assigned to
f - the format of this feature (SHORT, MEDIUM, LONG, FULL, CUSTOM)
pattern - the custom pattern
Returns:
new GUIDateTimeTextFeature

getCustomPattern

public java.lang.String getCustomPattern()
Returns the custom pattern of this feature.

Returns:
the custom pattern

getFormat

public GUIDateTimeFormat getFormat()
Returns the format of this feature (SHORT, MEDIUM, LONG, FULL, CUSTOM).

Returns:
the format of this feature

setCustomPattern

public void setCustomPattern(java.lang.String customPattern)
Sets the custom pattern for this feature.

Parameters:
customPattern - the custom pattern

setFormat

public void setFormat(GUIDateTimeFormat format)
Sets the format for this feature.

Parameters:
format - the format