|
||||||||||
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.construction.GUIComponent rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUINonVisualComponent rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUITransformerComponent
public class GUITransformerComponent
An invisible widget that accepts an object on input
input pin
(ipInput()
method) and performs a transformation (depending on
a type of transformer object set by calling
setTransformer(Transformer)
method), to other objects that are
provided on ouput
output pin (opOutput()
method)
after transformation.
Transformer
Nested Class Summary | |
---|---|
static class |
GUITransformerComponent.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUITransformerComponent.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> |
input
Deprecated. Not for public use. |
IAttributeValue<Text> |
output
Deprecated. Not for public use. |
IAttributeValue<Text> |
refresh
Deprecated. Not for public use. |
IAssociationEndInstance<Transformer> |
transformer
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 | |
---|---|
GUITransformerComponent()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUITransformerComponent |
createSlotValue(GUIContainerComponent parent,
IProperty property)
Returns new GUITransformerComponent that transforms
an element into the element linked with it via the slot of
the given property, and assigns new object to the given parent
GUIContainerComponent . |
static GUITransformerComponent |
createSlotValueDowncast(GUIContainerComponent parent,
IProperty property,
IClass klass)
Returns new GUITransformerComponent that transforms
an element into the element linked with it via the slot of
the given property and typed with the given class, and assigns
new object to the given parent GUIContainerComponent . |
Transformer |
getTransformer()
Returns the assigned transformer object that performs the transformation of elements. |
java.lang.Object |
handle(rs.sol.soloist.client.common.requests.Request request)
Handles single request from the client (browser) and returns an appropriate response. |
ISlot<?> |
ipInput()
Returns the input input pin; when event occurs,
this widget will transform (using assigned transformer) the element
from the binding message received on this pin into other element,
which will be provided on the output output pin
(opOutput() method). |
ISlot<?> |
ipRefresh()
Returns the refresh input pin; when event occurs,
this widget will re-transform the last element
received on the input input pin
(ipInput() method), and provide transformation result on
the output output pin (opOutput() method). |
ISlot<?> |
opOutput()
Returns the output output pin; when event occurs
on either input input pin (ipInput() method)
or refresh input pin (ipRefresh() method) this
widget will transform the element and provide the result on this pin. |
void |
setTransformer(Transformer t)
Sets the transformer object that performs the transformation of elements. |
rs.sol.soloist.client.common.descr.Descr |
transform(rs.sol.soloist.client.common.descr.Descr elementDescr)
Deprecated. Not for public use. |
static GUITransformerComponent |
transform(GUIContainerComponent parent,
Transformer transformer)
Deprecated. Not for public use. |
rs.sol.soloist.server.uml.concepts.IElement |
transform(rs.sol.soloist.server.uml.concepts.IElement el)
|
static GUITransformerComponent |
transformToSlotValue(GUIContainerComponent parent,
IProperty property)
Deprecated. Not for public use. |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUINonVisualComponent |
---|
setCellAlignment, setCellSize, setCellStyle, setCenter, setDirectionAndSize, setLeftRightWidth, setRowColumn, setRowColumn, setSize, setTopBottomHeight, setXY |
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 |
---|
@Deprecated public IAttributeValue<Text> input
@Deprecated public IAttributeValue<Text> output
@Deprecated public IAttributeValue<Text> refresh
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
@Deprecated public IAssociationEndInstance<Transformer> transformer
Constructor Detail |
---|
public GUITransformerComponent()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUINonVisualComponent
public rs.sol.soloist.server.uml.concepts.IElement transform(rs.sol.soloist.server.uml.concepts.IElement el)
transform
in interface rs.sol.soloist.server.server.ITransformer
public static GUITransformerComponent createSlotValue(GUIContainerComponent parent, IProperty property)
GUITransformerComponent
that transforms
an element into the element linked with it via the slot of
the given property, and assigns new object to the given parent
GUIContainerComponent
.
parent
- the parent GUIContainerComponent
widgetproperty
- the property used for transformation
GUITransformerComponent
public static GUITransformerComponent createSlotValueDowncast(GUIContainerComponent parent, IProperty property, IClass klass)
GUITransformerComponent
that transforms
an element into the element linked with it via the slot of
the given property and typed with the given class, and assigns
new object to the given parent GUIContainerComponent
.
parent
- the parent GUIContainerComponent
widgetproperty
- the property used for transformationklass
- the class used for down-casting
GUITransformerComponent
public ISlot<?> ipInput()
input
input pin; when event occurs,
this widget will transform (using assigned transformer) the element
from the binding message received on this pin into other element,
which will be provided on the output
output pin
(opOutput()
method).
input
input pinsetTransformer(Transformer)
,
GUIComponentBinding
public ISlot<?> ipRefresh()
refresh
input pin; when event occurs,
this widget will re-transform the last element
received on the input
input pin
(ipInput()
method), and provide transformation result on
the output
output pin (opOutput()
method).
The content of the binding message accepted on this pin is of no importance. Only event is what matters.
refresh
input pinsetTransformer(Transformer)
,
GUIComponentBinding
public ISlot<?> opOutput()
output
output pin; when event occurs
on either input
input pin (ipInput()
method)
or refresh
input pin (ipRefresh()
method) this
widget will transform the element and provide the result on this pin.
output
output pinsetTransformer(Transformer)
,
GUIComponentBinding
public Transformer getTransformer()
setTransformer(Transformer)
public void setTransformer(Transformer t)
t
- the new transformer object.public java.lang.Object handle(rs.sol.soloist.client.common.requests.Request request)
GUIComponent
handle
in class GUIComponent
request
- a Request
from client deserialized and ready
to be handeled
Object
representing the server's
response to a request@Deprecated public rs.sol.soloist.client.common.descr.Descr transform(rs.sol.soloist.client.common.descr.Descr elementDescr)
@Deprecated public static GUITransformerComponent transform(GUIContainerComponent parent, Transformer transformer)
@Deprecated public static GUITransformerComponent transformToSlotValue(GUIContainerComponent parent, IProperty property)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |