public abstract class PropertyFormLayout extends java.lang.Object implements Element
PropertyFormLayout encapsulates the constraints controlling the positioning of
PropertyEditors in the property inspector form view.
These contraints are generally specified in the "property-inspectory-hook" of an extension manifest. In general, extension writers do not need to implement this class, a default implementation is provided to unmarshall the layout constraints defined in the extension manifest.
Extension writers that require full control over the property inspector form view layout constraints for a specific
PropertyModelmust extend this class and provide their own implementation. The
"property-form-layout" information is defined by the XML Schema for the "property-inspector-hook"
(propertyInspector-hook.xsd).
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTO_EXTEND_PREFERRED_SIZE |
static java.lang.String |
PROPERTY_FORM_LAYOUT |
static java.lang.String |
PROPERTY_MODEL_CLASS |
| Constructor and Description |
|---|
PropertyFormLayout() |
| Modifier and Type | Method and Description |
|---|---|
AutoExpandPreferredSize |
getAutoExtendPreferredSize() |
Extensible |
getExtensible()
Get the
Extensible information. |
abstract MetaClass |
getPropertyModelClass() |
boolean |
isExtensible()
Find out whether this element is
Extensible. |
boolean |
mayHaveChildren()
Find out whether this element contains other elements as children.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenpublic static final java.lang.String PROPERTY_FORM_LAYOUT
public static final java.lang.String PROPERTY_MODEL_CLASS
public static final java.lang.String AUTO_EXTEND_PREFERRED_SIZE
public abstract MetaClass getPropertyModelClass()
public AutoExpandPreferredSize getAutoExtendPreferredSize()
public boolean mayHaveChildren()
ElementmayHaveChildren in interface Elementpublic boolean isExtensible()
ElementExtensible.isExtensible in interface ElementExtensible.public Extensible getExtensible()
ElementExtensible information.getExtensible in interface Elementtrue from the
isExtensible() method, must implement the Extensible
interface and return this from their implementation of
this method.public java.lang.String toString()
toString in class java.lang.Object