rs.sol.soloist.server.guiconfiguration.elementcomponents
Class GUISingleElementComponent

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.construction.GUIComponent
                      extended by rs.sol.soloist.server.guiconfiguration.elementcomponents.GUISingleElementComponent
All Implemented Interfaces:
IElementPresentationProvider, IUpdatable, rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

public class GUISingleElementComponent
extends GUIComponent

A widget that renders an object accepted on the element input pin (ipElement() method).

Author:
SOL Expert Group

Nested Class Summary
static class GUISingleElementComponent.FQPropertyNames
          Deprecated. Not for public use.
static class GUISingleElementComponent.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          UML class reference
 IAttributeValue<Text> click
          Deprecated. Not for public use.
 IAttributeValue<Text> doubleClick
          Deprecated. Not for public use.
 IAssociationEndInstance<rs.sol.soloist.server.builtindomains.common.ElementDescriptor> element
          Deprecated. Not for public use.
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 IAttributeValue<Text> rightClick
          Deprecated. Not for public use.
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent
addStyle, context, description, enabled, init, inputBindings, layoutData, logger, name, outputBindings, ownerTable, parent, removeStyle, show, showInParent, styleName, tooltip, visible
 
Constructor Summary
GUISingleElementComponent()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static GUISingleElementComponent create(GUIContainerComponent parent)
          Returns new GUISingleElementComponent and assigns it to its parent.
static GUISingleElementComponent create(GUIContainerComponent parent, int row, int column)
          Deprecated. Not for public use.
static GUISingleElementComponent create(GUIContainerComponent parent, LayoutData layoutData)
          Returns new GUISingleElementComponent, places it in the parent's layout according to the given LayoutData, and assigns it to its parent.
 ISlot<?> ipElement()
          Returns the element input pin; when event occurs, the object from the binding message will be displayed by this widget.
 ISlot<?> opClick()
          Returns the click output pin; each time user clicks on this widget the holding element will be provided on this pin.
 ISlot<?> opDoubleClick()
          Returns the doubleClick output pin; each time user double-clicks on this widget the holding element will be provided on this pin.
 ISlot<?> opElement()
          Returns the element output pin; each time new element arrives via the input pin element (ipElement() method), it will also be provided on this pin.
 ISlot<?> opRightClick()
          Returns the rightClick output pin; each time user right-clicks on this widget the holding element will be provided on this pin.
 void setElement(rs.sol.soloist.server.uml.concepts.IElement element)
          Sets the initial element to display by this widget.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent
addStyleNames, addValueToSlot, clearSlot, clone, createInfo, createInfoAlreadyValidated, destructor, fillElementInfo, getApplication, getCommands, getCommands, getCommonOwner, getContext, getDescription, getDescrString, getDragIcon, getEnabled, getFeature, getFeature, getInputBindings, getInputPin, getInputPins, getLabelString, getLargeIcon, getLayoutData, getName, getNameString, getOutputPin, getOutputPins, getOwner, getParts, getSetting, getSmallIcon, getStyle, getSubnodes, getTooltip, getTooltipString, getTypeString, getVisible, handle, ipAddStyle, ipEnabled, ipInit, ipRemoveStyle, ipShow, ipShowInParent, ipVisible, isInputPin, isOutputPin, putFeatureInfo, readElement, readElements, readSlot, readSlotAsInfo, readSubnodes, removeValueFromSlot, setCellAlignment, setCellSize, setCellStyle, setCenter, setContext, setDescription, setDirectionAndSize, setEnabled, setLayoutData, setLeftRightWidth, setName, setRowColumn, setRowColumn, setSize, setSlot, setSlot, setStyle, setTooltip, setTopBottomHeight, setVisible, setXY, toTranslateDescriptors, translatePinName, updateInfo, validate, validateParts, validateParts
 
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, 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, 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

click

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

doubleClick

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

rightClick

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


element

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

GUISingleElementComponent

public GUISingleElementComponent()
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 GUIComponent

create

public static GUISingleElementComponent create(GUIContainerComponent parent)
Returns new GUISingleElementComponent and assigns it to its parent.

Parameters:
parent - the parent GUIContainerComponent widget
Returns:
the new GUISingleElementComponent

create

public static GUISingleElementComponent create(GUIContainerComponent parent,
                                               LayoutData layoutData)
Returns new GUISingleElementComponent, places it in the parent's layout according to the given LayoutData, and assigns it to its parent.

Parameters:
parent - the parent GUIContainerComponent widget
layoutData - the layout data of the new widget
Returns:
the new GUISingleElementComponent

ipElement

public ISlot<?> ipElement()
Returns the element input pin; when event occurs, the object from the binding message will be displayed by this widget.

The content of the binding message accepted on this pin is of no importance. Only event is what matters.

Returns:
the previous input pin
See Also:
GUIComponentBinding

opElement

public ISlot<?> opElement()
Returns the element output pin; each time new element arrives via the input pin element (ipElement() method), it will also be provided on this pin.

Returns:
the element output pin
See Also:
GUIComponentBinding

opRightClick

public ISlot<?> opRightClick()
Returns the rightClick output pin; each time user right-clicks on this widget the holding element will be provided on this pin.

Returns:
the rightClick output pin
See Also:
GUIComponentBinding

opDoubleClick

public ISlot<?> opDoubleClick()
Returns the doubleClick output pin; each time user double-clicks on this widget the holding element will be provided on this pin.

Returns:
the doubleClick output pin
See Also:
GUIComponentBinding

opClick

public ISlot<?> opClick()
Returns the click output pin; each time user clicks on this widget the holding element will be provided on this pin.

Returns:
the click output pin
See Also:
GUIComponentBinding

setElement

public void setElement(rs.sol.soloist.server.uml.concepts.IElement element)
Sets the initial element to display by this widget.

Parameters:
element - the initial element to display by this widget

create

@Deprecated
public static GUISingleElementComponent create(GUIContainerComponent parent,
                                                          int row,
                                                          int column)
Deprecated. Not for public use.