|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingUiDefinition<M,T>
A UI provider is responsible to provide the support for displaying the information for a certain mapping type. T represents the type of the mapping the definition represents M represents the type of the object being mapped
| Method Summary | |
|---|---|
org.eclipse.swt.graphics.Image |
getImage()
Returns an image that represents the mapping type defined by this provider. |
java.lang.String |
getKey()
Returns a unique string that corresponds to the key of the mapping in the core (JavaAttributeMappingDefinition and/or OrmAttributeMappingProvider). |
java.lang.String |
getLabel()
Returns a human readable text of the mapping type. |
java.lang.String |
getLinkLabel()
Returns a human readable text of the mapping type to be used in the mapping change link label |
boolean |
isEnabledFor(M mappableObject)
Return whether the mapping type represented by this definition is enabled for the given mappable object. |
| Method Detail |
|---|
java.lang.String getKey()
java.lang.String getLabel()
java.lang.String getLinkLabel()
org.eclipse.swt.graphics.Image getImage()
null if no image
is requiredboolean isEnabledFor(M mappableObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||