Class ReferenceEditorSource
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.web.components.editors.ReferenceEditorSource
-
- All Implemented Interfaces:
IEditorSource
,java.io.Serializable
,org.apache.wicket.util.io.IClusterable
public class ReferenceEditorSource extends java.lang.Object implements IEditorSource
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
includeNullOption
-
Constructor Summary
Constructors Constructor Description ReferenceEditorSource(boolean includeNullOption)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceEditorSource
getNullOptionInstance()
Returns an IEditorSource that creates ReferenceEditors that include the null optionstatic ReferenceEditorSource
getSharedInstance()
Returns an IEditorSource that creates ReferenceEditors that don't include the null optionboolean
isIncludeNullOption()
org.apache.wicket.Component
newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
-
-
-
Method Detail
-
getNullOptionInstance
public static ReferenceEditorSource getNullOptionInstance()
Returns an IEditorSource that creates ReferenceEditors that include the null option
-
getSharedInstance
public static ReferenceEditorSource getSharedInstance()
Returns an IEditorSource that creates ReferenceEditors that don't include the null option
-
isIncludeNullOption
public boolean isIncludeNullOption()
-
newEditorComponent
public org.apache.wicket.Component newEditorComponent(java.lang.String id, RecordEditMode editMode, SRecordInstance record, FormMeta formMeta)
- Specified by:
newEditorComponent
in interfaceIEditorSource
-
-