|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.extension.util.SourceExtensionUtil
public class SourceExtensionUtil
Utility class providing helper methods for source extension implementations.
| Method Summary | |
|---|---|
static net.officefloor.compile.properties.Property |
createPropertyCheckbox(String label,
String name,
boolean defaultValue,
String trueValue,
String falseValue,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyCheckbox(String label,
String name,
boolean defaultValue,
String trueValue,
String falseValue,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyClass(String label,
String name,
org.eclipse.swt.widgets.Composite container,
GovernanceSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyClass(String label,
String name,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyClass(String label,
String name,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyResource(String label,
String name,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyResource(String label,
String name,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyText(String label,
String name,
String defaultValue,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static net.officefloor.compile.properties.Property |
createPropertyText(String label,
String name,
String defaultValue,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Creates the display for the input Property. |
static void |
informNoPropertiesRequired(org.eclipse.swt.widgets.Composite container)
Creates the display to inform that no Property instances are
required. |
static void |
loadPropertyLayout(org.eclipse.swt.widgets.Composite container)
Loads the property layout for creating property displays. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void loadPropertyLayout(org.eclipse.swt.widgets.Composite container)
container - Composite to contain the properties.public static void informNoPropertiesRequired(org.eclipse.swt.widgets.Composite container)
Property instances are
required.
container - Composite to provide display on.
public static net.officefloor.compile.properties.Property createPropertyClass(String label,
String name,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.container - Composite to add display Control instances.context - WorkSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyClass(String label,
String name,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.container - Composite to add display Control instances.context - ManagedObjectSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyClass(String label,
String name,
org.eclipse.swt.widgets.Composite container,
GovernanceSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.container - Composite to add display Control instances.context - GovernanceSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyResource(String label,
String name,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.container - Composite to add display Control instances.context - WorkSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyResource(String label,
String name,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.container - Composite to add display Control instances.context - ManagedObjectSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyText(String label,
String name,
String defaultValue,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.defaultValue - Default value for the Property.container - Composite to add display Control instances.context - ManagedObjectSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyText(String label,
String name,
String defaultValue,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.defaultValue - Default value for the Property.container - Composite to add display Control instances.context - WorkSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the Text.
public static net.officefloor.compile.properties.Property createPropertyCheckbox(String label,
String name,
boolean defaultValue,
String trueValue,
String falseValue,
org.eclipse.swt.widgets.Composite container,
ManagedObjectSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.defaultValue - Default value for the Property.trueValue - Value should Property be checked.falseValue - Value should Property be unchecked.container - Composite to add display Control instances.context - ManagedObjectSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the SWT.CHECK Button.
public static net.officefloor.compile.properties.Property createPropertyCheckbox(String label,
String name,
boolean defaultValue,
String trueValue,
String falseValue,
org.eclipse.swt.widgets.Composite container,
WorkSourceExtensionContext context,
PropertyValueChangeListener listener)
Property.
label - Label for the Property.name - Name of the Property.defaultValue - Default value for the Property.trueValue - Value should Property be checked.falseValue - Value should Property be unchecked.container - Composite to add display Control instances.context - WorkSourceExtensionContext.listener - PropertyValueChangeListener. May be null.
Property for the SWT.CHECK Button.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||