|
||||||||||
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.style.GUIItemSetting rs.sol.soloist.server.guiconfiguration.style.GUIObjectSetting
public class GUIObjectSetting
A GUIItemSetting
for objects of classes. It can configure
presentation and behavior of GUI items rendering all objects, or all objects
of one particular class, or of one particular object. It depends on the
type of object provided during the construction of this object.
create(GUIContext, IElement)
,
GUIContext
,
GUISettingFeature
Nested Class Summary | |
---|---|
static class |
GUIObjectSetting.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUIObjectSetting.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 |
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 | |
---|---|
GUIObjectSetting()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUIObjectSetting |
create(GUIContext context)
Deprecated. Not for public use. |
static GUIObjectSetting |
create(GUIContext context,
IClass cls)
Returns new GUIObjectSetting for the specified class
and assigns it to the specified context. |
static GUIObjectSetting |
create(GUIContext context,
rs.sol.soloist.server.uml.concepts.IElement specificElement)
Returns new GUIObjectSetting for the specified element
and assigns it to the specified context. |
static GUIObjectSetting |
create(GUIContext context,
java.lang.String classFQName)
Deprecated. Not for public use. |
static int |
getDistance(IClassifier source,
IClassifier goal)
Deprecated. Not for public use. |
int |
getMatchingRate(rs.sol.soloist.server.uml.concepts.IElement el)
Deprecated. |
rs.sol.soloist.server.uml.concepts.IElement |
getSpecificElement()
|
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 |
---|
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
@Deprecated public IAssociationEndInstance<rs.sol.soloist.server.builtindomains.common.ElementDescriptor> specificElement
Constructor Detail |
---|
public GUIObjectSetting()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUIItemSetting
@Deprecated public int getMatchingRate(rs.sol.soloist.server.uml.concepts.IElement el)
== -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).
Redefined. Does:
- If el is not a Class Instance, then return -1;
- Else if (specificObject!=null), then if (el==specificObject) then return 0;
- Else if (specificClass!=null), then if (el.getClass()==specificClass.getElement()) then return 1;
- Else if (specificClass==null and specificObject==null), then return 2;
- Else return -1.
getMatchingRate
in class GUIItemSetting
@Deprecated public static int getDistance(IClassifier source, IClassifier goal)
public rs.sol.soloist.server.uml.concepts.IElement getSpecificElement()
public static GUIObjectSetting create(GUIContext context, rs.sol.soloist.server.uml.concepts.IElement specificElement)
GUIObjectSetting
for the specified element
and assigns it to the specified context.
context
- the context to which new setting should be assigned tospecificElement
- the element for which this setting holds for
GUIObjectSetting
public static GUIObjectSetting create(GUIContext context, IClass cls)
GUIObjectSetting
for the specified class
and assigns it to the specified context.
context
- the context to which new setting should be assigned tocls
- the class for which this setting holds for
GUIObjectSetting
@Deprecated public static GUIObjectSetting create(GUIContext context)
@Deprecated public static GUIObjectSetting create(GUIContext context, java.lang.String classFQName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |