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

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.GUIItemSetting
                      extended by rs.sol.soloist.server.guiconfiguration.style.GUIElementSetting
All Implemented Interfaces:
rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

public class GUIElementSetting
extends GUIItemSetting

A GUIItemSetting for elements. It can configure presentation and behavior of one kind of elements, or a single element.

Author:
SOL Expert Group
See Also:
create(GUIContext, IElement), GUIContext, GUISettingFeature

Nested Class Summary
static class GUIElementSetting.FQPropertyNames
          Deprecated. Not for public use.
static class GUIElementSetting.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          UML class reference
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 IAttributeValue<Text> kind
          Deprecated. Not for public use.
 IAssociationEndInstance<rs.sol.soloist.server.builtindomains.common.ElementDescriptor> specificElement
          Deprecated. Not for public use.
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUIItemSetting
description, features, name, owner, ownerFeature, subsettings, supersetting
 
Constructor Summary
GUIElementSetting()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static GUIElementSetting create(GUIContext context)
          Returns new GUIElementSetting and assigns it to the specified context.
static GUIElementSetting create(GUIContext context, java.lang.Class<? extends rs.sol.soloist.server.uml.concepts.IElement> kindClass)
          Deprecated.  
static GUIElementSetting create(GUIContext context, rs.sol.soloist.server.uml.concepts.IElement el)
          Returns new GUIElementSetting for the specified element and assigns it to the specified context.
 java.lang.String getKind()
          Returns the kind of class this object holds for.
 int getMatchingRate(rs.sol.soloist.server.uml.concepts.IElement el)
          Deprecated. Not for public use.
 rs.sol.soloist.server.uml.concepts.IElement getSpecificElement()
          Returns the specific element that this object holds for.
 void setKind(java.lang.String kind)
          Sets the kind of class this object holds for.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.style.GUIItemSetting
addFeature, addSetting, clearContexts, clearFeatures, doesMatch, doesMatchFully, getDescription, getFeature, getFeatures, getName, getOwnedFeature, getSettings, removeFeature, removeSetting, 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

kind

@Deprecated
public IAttributeValue<Text> kind
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


specificElement

@Deprecated
public IAssociationEndInstance<rs.sol.soloist.server.builtindomains.common.ElementDescriptor> specificElement
Deprecated. Not for public use.
Constructor Detail

GUIElementSetting

public GUIElementSetting()
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 GUIItemSetting

getMatchingRate

@Deprecated
public int getMatchingRate(rs.sol.soloist.server.uml.concepts.IElement el)
Deprecated. Not for public use.

Description copied from class: GUIItemSetting
Returns the measure of how this GUI Item Setting matches the given Element, i.e., the "matching distance":

== -1: does not match at all (infinite distance);

== 0: matches completely (best, 0 distance);

>0: matches partly, the greater the number - the worse it matches (longer matching distance).

Specified by:
getMatchingRate in class GUIItemSetting

getSpecificElement

public rs.sol.soloist.server.uml.concepts.IElement getSpecificElement()
Returns the specific element that this object holds for.

Returns:
the specific element that this object holds for

create

public static GUIElementSetting create(GUIContext context)
Returns new GUIElementSetting and assigns it to the specified context.

Parameters:
context - the context to which new setting should be assigned to
Returns:
new GUIElementSetting

create

public static GUIElementSetting create(GUIContext context,
                                       rs.sol.soloist.server.uml.concepts.IElement el)
Returns new GUIElementSetting for the specified element and assigns it to the specified context.

Parameters:
context - the context to which new setting should be assigned to
el - the element for which this object holds for
Returns:
new GUIElementSetting

create

@Deprecated
public static GUIElementSetting create(GUIContext context,
                                                  java.lang.Class<? extends rs.sol.soloist.server.uml.concepts.IElement> kindClass)
Deprecated. 


getKind

public java.lang.String getKind()
Returns the kind of class this object holds for.

Returns:
the kind of class this object holds for

setKind

public void setKind(java.lang.String kind)
Sets the kind of class this object holds for.

Parameters:
kind - the kind of class this object holds for