|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.conform.ConformInput
public class ConformInput
Input using the GraphicalViewerImpl to populate the
ConformModel links between the old and the new.
| Constructor Summary | |
|---|---|
ConformInput()
|
|
| Method Summary | |
|---|---|
void |
addMappingsByName()
Adds in the mappings between ExistingItemModel and
TargetItemModel instances by name. |
org.eclipse.swt.widgets.Canvas |
buildControl(InputContext context)
Builds the Control. |
String[] |
getInheritedTargetItemNames()
Obtains the listing of TargetItemModel names that are flagged to
inherit. |
Map<String,String> |
getTargetItemToExistingItemMapping()
Obtains the ConformModel as a mapping of TargetItemModel
name to ExistingItemModel name. |
Object |
getValue(org.eclipse.swt.widgets.Canvas control,
InputContext context)
Obtains the value from the input Control. |
void |
setConform(ConformModel conform)
Specifies the (or change of) ConformModel. |
void |
setConform(String[] existingItemNames,
String[] targetItemNames,
String... inheritableTargetItemNames)
Convenience method to load the ConformModel based on the names
and provide default mappings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConformInput()
| Method Detail |
|---|
public void setConform(String[] existingItemNames,
String[] targetItemNames,
String... inheritableTargetItemNames)
ConformModel based on the names
and provide default mappings.
existingItemNames - Names for the ExistingItemModel instances.targetItemNames - Names for the TargetItemModel instances.inheritableTargetItemNames - TargetItemModel names that may inherit their
configuration.public Map<String,String> getTargetItemToExistingItemMapping()
ConformModel as a mapping of TargetItemModel
name to ExistingItemModel name.
TargetItemModel name to
ExistingItemModel name.public String[] getInheritedTargetItemNames()
TargetItemModel names that are flagged to
inherit.
TargetItemModel names that are flagged to
inherit.public void setConform(ConformModel conform)
ConformModel.
conform - ConformModel.public void addMappingsByName()
ExistingItemModel and
TargetItemModel instances by name.
public org.eclipse.swt.widgets.Canvas buildControl(InputContext context)
InputControl.
buildControl in interface Input<org.eclipse.swt.widgets.Canvas>context - InputContext.
Control to input the value.
public Object getValue(org.eclipse.swt.widgets.Canvas control,
InputContext context)
Input
Obtains the value from the input Control.
The input Control will be the one created by
Input.buildControl(InputContext).
getValue in interface Input<org.eclipse.swt.widgets.Canvas>control - Control.context - InputContext.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||