|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.commons.swt.data.editors.api.PropertyEditor
com.ibm.commons.swt.data.editors.api.AbstractObjectEditor
com.ibm.commons.swt.data.editors.ObjectCollectionEditor
public class ObjectCollectionEditor
An editor that allows the user to edit a particular collection.
| Field Summary |
|---|
| Fields inherited from class com.ibm.commons.swt.data.editors.api.AbstractObjectEditor |
|---|
currentValue |
| Constructor Summary | |
|---|---|
ObjectCollectionEditor(ObjectCollectionItemNode collectionNode)
Constructs a new instance of this class given a child ObjectCollectionItemNode. |
|
ObjectCollectionEditor(ObjectCollectionNode collectionNode)
Constructs a new instance of this class given a parent ObjectCollectionNode. |
|
| Method Summary | |
|---|---|
protected void |
addObject(IClassDef classDef)
Called when the 'Add' button is pressed. |
protected java.lang.String |
getAddText()
Returns the text to appear on the 'Add' button, that is the button for creating a new 'Object'. |
protected java.lang.String |
getDeleteText()
Returns the text to appear on the 'Delete' button, that is the button for deleting an existing 'Object'. |
protected IClassDef |
getExpectedClassDef()
Returns the com.ibm.commons.iloader.node.IClassDef required to create a new Object. |
protected void |
removeObject()
Called when the 'Remove' (or delete) button is pressed. |
| Methods inherited from class com.ibm.commons.swt.data.editors.api.AbstractObjectEditor |
|---|
createControl, doAddObject, doRemoveObject, initControlValue, setId, stopEdit |
| Methods inherited from class com.ibm.commons.swt.data.editors.api.PropertyEditor |
|---|
addPropertyEditorUpdateListener, addValidator, callDialog, getContextAttribute, getContextObject, getDefaultEditor, getDialogButtonAltText, getDialogButtonImage, getDialogButtonText, getEditor, getRenderedValue, getScriptMode, getTextValidator, getValidator, getWorkBenchPart, hasDialogButton, isScriptModeFixed, postModelUpdate, preModelUpdate, removePropertyEditorUpdateListener, setContextAttribute, setContextObject, setScriptMode, setValidator, setWorkBenchPart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectCollectionEditor(ObjectCollectionNode collectionNode)
collectionNode - ObjectCollectionNodepublic ObjectCollectionEditor(ObjectCollectionItemNode collectionNode)
collectionNode - ObjectCollectionItemNode| Method Detail |
|---|
protected IClassDef getExpectedClassDef()
AbstractObjectEditorcom.ibm.commons.iloader.node.IClassDef required to create a new Object.
getExpectedClassDef in class AbstractObjectEditorIClassDefprotected java.lang.String getAddText()
AbstractObjectEditor
getAddText in class AbstractObjectEditorprotected java.lang.String getDeleteText()
AbstractObjectEditor
getDeleteText in class AbstractObjectEditorprotected void addObject(IClassDef classDef)
AbstractObjectEditor
addObject in class AbstractObjectEditorIClassDefprotected void removeObject()
AbstractObjectEditor
removeObject in class AbstractObjectEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||