|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MappingUiDefinition
A mapping UI definition provides the label and
image descriptor for the
(type or attribute) mapping type indicated by getKey().
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
MappingUiDefinition.ImageDescriptorTransformer
|
static class |
MappingUiDefinition.KeyTransformer
|
static class |
MappingUiDefinition.LabelTransformer
|
static class |
MappingUiDefinition.NullComposite
|
| Field Summary | |
|---|---|
static org.eclipse.jpt.common.utility.transformer.Transformer<MappingUiDefinition,ImageDescriptor> |
IMAGE_DESCRIPTOR_TRANSFORMER
|
static org.eclipse.jpt.common.utility.transformer.Transformer<MappingUiDefinition,String> |
KEY_TRANSFORMER
|
static org.eclipse.jpt.common.utility.transformer.Transformer<MappingUiDefinition,String> |
LABEL_TRANSFORMER
|
| Method Summary | |
|---|---|
JpaComposite |
buildMappingComposite(JpaUiFactory factory,
PropertyValueModel<? extends JpaContextNode> nodeModel,
PropertyValueModel<Boolean> enabledModel,
Composite parentComposite,
WidgetFactory widgetFactory,
ResourceManager resourceManager)
Create a JPA composite corresponding to the definition's mapping type. |
ImageDescriptor |
getImageDescriptor()
Return an image descriptor corresponding to the mapping type. |
String |
getKey()
Return a key corresponding to the mapping's key. |
String |
getLabel()
Return a string corresponding to the mapping type. |
String |
getLinkLabel()
Return a string that corresponds to the mapping type and can be used in the mapping change link label. |
boolean |
isEnabledFor(JpaContextNode node)
Return whether the ui represented by this definition is enabled for the given node. |
| Field Detail |
|---|
static final org.eclipse.jpt.common.utility.transformer.Transformer<MappingUiDefinition,String> KEY_TRANSFORMER
static final org.eclipse.jpt.common.utility.transformer.Transformer<MappingUiDefinition,String> LABEL_TRANSFORMER
static final org.eclipse.jpt.common.utility.transformer.Transformer<MappingUiDefinition,ImageDescriptor> IMAGE_DESCRIPTOR_TRANSFORMER
| Method Detail |
|---|
String getKey()
JavaTypeMappingDefinition.getKey(),
JavaAttributeMappingDefinition.getKey(),
OrmTypeMappingDefinition.getKey(),
OrmAttributeMappingDefinition.getKey()String getLabel()
String getLinkLabel()
JpaComposite buildMappingComposite(JpaUiFactory factory,
PropertyValueModel<? extends JpaContextNode> nodeModel,
PropertyValueModel<Boolean> enabledModel,
Composite parentComposite,
WidgetFactory widgetFactory,
ResourceManager resourceManager)
ImageDescriptor getImageDescriptor()
boolean isEnabledFor(JpaContextNode node)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||