|
||||||||||
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.components.GUIContainerComponent rs.sol.soloist.server.guiconfiguration.components.GUIDynamicContentsPanel rs.sol.soloist.server.guiconfiguration.elementcomponents.GUIMultiFileUplaod
public class GUIMultiFileUplaod
A special type of GUIDynamicContentsPanel
that provides
editing of the file collection for the object accepted on (inherited)
element
input pin
(GUIDynamicContentsPanel.ipElement()
method). The precondition is that the received object's class has an
association (with * multiplicity) toward file container class.
That association must be specified using setFileAssocEndName(String)
method. The file container class must hold a file in an attribute specified by
setFileAttributeName(String)
method. Addind and removing files
to and from the collection is done by commands. These commands must also be
specified. It is done by using setAddFileCommand(Command)
method and
by setRemoveFileCommand(Command)
method.
GUIDynamicContentsPanel
Nested Class Summary | |
---|---|
static class |
GUIMultiFileUplaod.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUIMultiFileUplaod.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
IAssociationEndInstance<rs.sol.soloist.server.builtindomains.commands.Command> |
addFileCommand
Deprecated. Not for public use. |
static IClass |
CLASSIFIER
UML class reference |
IAttributeValue<Text> |
fileAssocEndName
Deprecated. Not for public use. |
IAttributeValue<Text> |
fileAttributeName
Deprecated. Not for public use. |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAssociationEndInstance<rs.sol.soloist.server.builtindomains.commands.Command> |
removeFileCommand
Deprecated. Not for public use. |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIDynamicContentsPanel |
---|
element, logger, refreshContents |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIContainerComponent |
---|
back, children, forward, input, 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 | |
---|---|
GUIMultiFileUplaod()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUIMultiFileUplaod |
create(GUIContainerComponent parent,
java.lang.String fileAssocEndName,
java.lang.String fileAttributeName,
rs.sol.soloist.server.builtindomains.commands.Command addFileCommand,
rs.sol.soloist.server.builtindomains.commands.Command removeFileCommand)
Returns new GUIMultiFileUpload that works with the given
file-holing class association end, file attribute, add and remove file
commands, and assigns it to the given parent. |
rs.sol.soloist.server.builtindomains.commands.Command |
getAddFileCommand()
Returns an add file command. |
java.lang.String |
getFileAssocEndName()
Returns file association end name. |
java.lang.String |
getFileAttributeName()
Returns the name of the file attribute. |
rs.sol.soloist.server.builtindomains.commands.Command |
getRemoveFileCommand()
Returns a remove file command. |
void |
setAddFileCommand(rs.sol.soloist.server.builtindomains.commands.Command c)
Sets an add file command. |
void |
setFileAssocEndName(java.lang.String assocEndName)
Sets the name of the association end toward the class that holds the file. |
void |
setFileAttributeName(java.lang.String fileAttributeName)
Sets the name of the file attribute of the class that holds the file. |
void |
setRemoveFileCommand(rs.sol.soloist.server.builtindomains.commands.Command c)
Sets a remove file command. |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIDynamicContentsPanel |
---|
createSpecificInfo, getDynamicContents, handle, ipElement, ipRefreshContents, 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 final IAttributeValue<Text> fileAssocEndName
@Deprecated public final IAttributeValue<Text> fileAttributeName
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
@Deprecated public final IAssociationEndInstance<rs.sol.soloist.server.builtindomains.commands.Command> addFileCommand
@Deprecated public final IAssociationEndInstance<rs.sol.soloist.server.builtindomains.commands.Command> removeFileCommand
Constructor Detail |
---|
public GUIMultiFileUplaod()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUIDynamicContentsPanel
public static GUIMultiFileUplaod create(GUIContainerComponent parent, java.lang.String fileAssocEndName, java.lang.String fileAttributeName, rs.sol.soloist.server.builtindomains.commands.Command addFileCommand, rs.sol.soloist.server.builtindomains.commands.Command removeFileCommand)
GUIMultiFileUpload
that works with the given
file-holing class association end, file attribute, add and remove file
commands, and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgetfileAssocEndName
- the association end name toward the class that holds the filefileAttributeName
- the file attribute name of the class that holds the fileaddFileCommand
- add file commandremoveFileCommand
- remove file command
GUIMultiFileUpload
public java.lang.String getFileAssocEndName()
setFileAssocEndName(String)
public void setFileAssocEndName(java.lang.String assocEndName)
assocEndName
- the name of the association endpublic java.lang.String getFileAttributeName()
setFileAttributeName(String)
public void setFileAttributeName(java.lang.String fileAttributeName)
fileAttributeName
- the name of the file attributepublic rs.sol.soloist.server.builtindomains.commands.Command getAddFileCommand()
setAddFileCommand(Command)
public void setAddFileCommand(rs.sol.soloist.server.builtindomains.commands.Command c)
c
- an add file commandpublic rs.sol.soloist.server.builtindomains.commands.Command getRemoveFileCommand()
setRemoveFileCommand(Command)
public void setRemoveFileCommand(rs.sol.soloist.server.builtindomains.commands.Command c)
c
- a remove file command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |