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

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.GUIMultitypingFeature
All Implemented Interfaces:
rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

Deprecated.

@Deprecated
public class GUIMultitypingFeature
extends GUISettingFeature

A GUISettingFeature that provides a way for multiple polymorphism - to provide some settings depending on more than one kind of element. For example, it can be used to provide two-way Command mappings (e.g. for drag and drop).

Author:
SOL Expert Group
See Also:
GUIContext, GUIItemSetting

Nested Class Summary
static class GUIMultitypingFeature.FQPropertyNames
          Deprecated. Not for public use.
static class GUIMultitypingFeature.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          Deprecated. UML class reference
static java.lang.String FQ_TYPE_NAME
          Deprecated. Fully qualified UML class name
 IAssociationEndInstance<GUIItemSetting> settings
          Deprecated. Not for public use.
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature
complain, description, name, ownerContext, ownerSetting
 
Constructor Summary
GUIMultitypingFeature()
          Deprecated.  
 
Method Summary
 void addSetting(GUIItemSetting s)
          Deprecated. Adds a setting to a collection of owned settings.
 void clearSettings()
          Deprecated. Clears all owned settings.
 void constructor()
          Deprecated. The domain-specific constructor of the Classifier.
 java.util.List<rs.sol.soloist.client.common.info.element.CommandInfo> createInfo(rs.sol.soloist.server.uml.concepts.IElement source, rs.sol.soloist.server.uml.concepts.IElement target, GUIComponent component)
          Deprecated. Not for public use.
 java.lang.Object createInfo(rs.sol.soloist.server.uml.concepts.IElement el, IElementPresentationProvider epp)
          Deprecated. Not for public use.
 java.util.List<rs.sol.soloist.server.builtindomains.commands.Command> getCommands(rs.sol.soloist.server.uml.concepts.IElement source, rs.sol.soloist.server.uml.concepts.IElement target)
          Deprecated. Returns the collection of Commands that are applicable on the source and target elements.
 GUIItemSetting getOwnedSetting(rs.sol.soloist.server.uml.concepts.IElement el)
          Deprecated. Returns the owned GUIItemSetting that best matches the given element or null if such does not exist.
 java.util.List<GUIItemSetting> getSettings()
          Deprecated. Returns the collection of owned settings.
 void removeSetting(GUIItemSetting s)
          Deprecated. Removes a setting from a collection of owned settings.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature
getComplain, getContext, getDescription, getName, isElementSpecific, 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

FQ_TYPE_NAME

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

See Also:
Constant Field Values

CLASSIFIER

public static final IClass CLASSIFIER
Deprecated. 
UML class reference


settings

@Deprecated
public IAssociationEndInstance<GUIItemSetting> settings
Deprecated. Not for public use.
Constructor Detail

GUIMultitypingFeature

public GUIMultitypingFeature()
Deprecated. 
Method Detail

constructor

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

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

getOwnedSetting

public GUIItemSetting getOwnedSetting(rs.sol.soloist.server.uml.concepts.IElement el)
                               throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Deprecated. 
Returns the owned GUIItemSetting that best matches the given element or null if such does not exist.

Parameters:
el - the element whose setting match should be retrieved
Returns:
the owned GUIItemSetting that best matches the given element
Throws:
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException

getCommands

public java.util.List<rs.sol.soloist.server.builtindomains.commands.Command> getCommands(rs.sol.soloist.server.uml.concepts.IElement source,
                                                                                         rs.sol.soloist.server.uml.concepts.IElement target)
                                                                                  throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
Deprecated. 
Returns the collection of Commands that are applicable on the source and target elements.

Parameters:
source - the source element
target - the target element
Returns:
the collection of Commands that are applicable on the source and target elements
Throws:
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException

createInfo

@Deprecated
public java.util.List<rs.sol.soloist.client.common.info.element.CommandInfo> createInfo(rs.sol.soloist.server.uml.concepts.IElement source,
                                                                                                   rs.sol.soloist.server.uml.concepts.IElement target,
                                                                                                   GUIComponent component)
                                                                                 throws java.lang.Exception
Deprecated. Not for public use.

Throws:
java.lang.Exception

createInfo

@Deprecated
public java.lang.Object createInfo(rs.sol.soloist.server.uml.concepts.IElement el,
                                              IElementPresentationProvider epp)
Deprecated. Not for public use.

Specified by:
createInfo in class GUISettingFeature

getSettings

public java.util.List<GUIItemSetting> getSettings()
Deprecated. 
Returns the collection of owned settings.

Returns:
the collection of owned settings

addSetting

public void addSetting(GUIItemSetting s)
Deprecated. 
Adds a setting to a collection of owned settings.

Parameters:
s - the setting to be added

removeSetting

public void removeSetting(GUIItemSetting s)
Deprecated. 
Removes a setting from a collection of owned settings.

Parameters:
s - the setting to be removed

clearSettings

public void clearSettings()
Deprecated. 
Clears all owned settings.