|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrs.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.components.GUIContainerComponent
rs.sol.soloist.server.guiconfiguration.components.GUITabComponent
rs.sol.soloist.server.guiconfiguration.components.GUIDynamicallyVisibleTabsComponent
public abstract class GUIDynamicallyVisibleTabsComponent
An abstract base class for tab widget class with a parameterized
data-dependent variable collection of child widgets. This class
is meant to be sub-classed by the users by providing
an implementation of the single-parameter getVisibleTabs(IElement)
method.
Parameter can be obtained in the run-time by binding other widget's
output pin with this widget's element
input pin. The
implementation of the getVisibleTabs(IElement)
method
should downcast IElement into the parameter object's direct class and
based on that, return a complete collection of this widget's children.
Nested Class Summary | |
---|---|
static class |
GUIDynamicallyVisibleTabsComponent.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUIDynamicallyVisibleTabsComponent.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
static IClass |
CLASSIFIER
UML class reference |
IAttributeValue<Text> |
element
Deprecated. Not for public use. |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAttributeValue<Text> |
refreshVisibleTabs
Deprecated. Not for public use. |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.components.GUITabComponent |
---|
barHeight, tabTexts |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIContainerComponent |
---|
back, children, forward, input, logger, next, output, previous, refresh, reset, submit, visibleChild |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent |
---|
addStyle, context, description, enabled, init, inputBindings, layoutData, name, outputBindings, ownerTable, parent, removeStyle, show, showInParent, styleName, tooltip, visible |
Constructor Summary | |
---|---|
GUIDynamicallyVisibleTabsComponent()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
java.util.List<rs.sol.soloist.client.common.descr.Descr> |
getVisibleTabs(rs.sol.soloist.client.common.descr.Descr descr)
Deprecated. Not for public use. |
abstract java.util.List<GUIComponent> |
getVisibleTabs(rs.sol.soloist.server.uml.concepts.IElement el)
Returns the collection of visible tabs based on the given element. |
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<?> |
ipElement()
Returns the element input pin; when event occurs,
the element from the binding message will be used as a parameter
to fetch a collection of tabs that should be visible from that
moment onwards. |
ISlot<?> |
ipRefreshVisibleTabs()
Returns the refreshVisibleTabs input pin; when event occurs,
this panel will re-fetch tabs based on the last received element
via the element input pin (ipElement() method). |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.components.GUITabComponent |
---|
create, create, getBarHeight, getTabTexts, setBarHeight, setTabTexts, validate |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIContainerComponent |
---|
add, addFirst, clear, get, getVisibleChild, ipBack, ipForward, ipNext, ipPrevious, ipRefresh, ipRelay1, ipRelay2, ipReset, ipSubmit, ipVisibleChild, opRelay1, opRelay2, opVisibleChild, remove, removeFirst, setVisibleChild, validateSingleChild |
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> refreshVisibleTabs
@Deprecated public IAttributeValue<Text> element
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUIDynamicallyVisibleTabsComponent()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUITabComponent
public abstract java.util.List<GUIComponent> getVisibleTabs(rs.sol.soloist.server.uml.concepts.IElement el)
el
- the element based on which the collection of visible tabs
should be calculated
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 requestpublic ISlot<?> ipRefreshVisibleTabs()
refreshVisibleTabs
input pin; when event occurs,
this panel will re-fetch tabs based on the last received element
via the element
input pin (ipElement()
method).
The content of the binding message accepted on this pin is of no importance. Only event is what matters.
refreshVisibleTabs
input pinGUIComponentBinding
public ISlot<?> ipElement()
element
input pin; when event occurs,
the element from the binding message will be used as a parameter
to fetch a collection of tabs that should be visible from that
moment onwards.
element
input pinGUIComponentBinding
@Deprecated public java.util.List<rs.sol.soloist.client.common.descr.Descr> getVisibleTabs(rs.sol.soloist.client.common.descr.Descr descr)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |