com.togethersoft.openapi.ide.inspector.util.editors
Class PropertyMapMultiValueElementChooserEditor
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport
|
+--com.togethersoft.openapi.ide.inspector.util.editors.ExtendedEditor
|
+--com.togethersoft.openapi.ide.inspector.util.editors.MultiValueEditor
|
+--com.togethersoft.openapi.ide.inspector.util.editors.PropertyMapMultiValueElementChooserEditor
- public class PropertyMapMultiValueElementChooserEditor
- extends MultiValueEditor
Represents the editor for the PropertyMap as the element chooser dialog.
- Author:
- TogetherSoft
- See Also: MultiValueElementChooserUI
| Methods inherited from class java.beans.PropertyEditorSupport |
isPaintable, paintValue, getJavaInitializationString, getAsText, setAsText, getTags, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |
PropertyMapMultiValueElementChooserEditor
public PropertyMapMultiValueElementChooserEditor(RwiElement rwiElement, String propertyName, int selectorType)
- Constructs this editor which will be represented on UI as the MultiValueElementChooser.
- Parameters:
- rwiElement - RWI element which has RwiPropertyMap
- propertyName - name of this RwiPropertyMap
- selectorType - predefined configuration of filters
- See Also:
- MultiValueElementChooserUI, IdeSelectorDialogType
PropertyMapMultiValueElementChooserEditor
public PropertyMapMultiValueElementChooserEditor(RwiElement rwiElement, String propertyName, UnaryCondition displayFilter, UnaryCondition classFilter, boolean includeCurrentDiagram, UnaryCondition multiple, UnaryOperation title)
- Constructs this editor which will be represented on UI as the MultiValueElementChooser.
- Parameters:
- rwiElement - RWI element which has RwiPropertyMap
- propertyName - name of this RwiPropertyMap
- displayFilter - filters contents of the trees
- classFilter - filters elements which can be choosen
- includeCurrentDiagram - if true then the first tree will be started from the current diagram
- multiple - if true then this chooser will work for the several selected RwiElements
- title - calculates the dialog box title
- See Also:
- MultiValueElementChooserUI, IdeSelectorDialogType
convertValueToString
public String convertValueToString(Object value)
- Convert given PropertyMap to the String representation.
- Returns: converted PropertyMap, or the empty String if given value is not PropertyMap or equals to null.
getUI
protected MultiValueUI getUI()
getValue
public Object getValue()
- Returns value of this editor
setValue
public void setValue(Object value)
- Sets given value to the editor.
- Parameters:
- value - is instance of the PropertyMap
to Class com.togethersoft.openapi.ide.inspector.util.editors.MultiValueUI