Package | Description |
---|---|
org.eclipse.ocl.examples.common.label |
Modifier and Type | Field and Description |
---|---|
static ILabelGenerator.Option<java.lang.Boolean> |
ILabelGenerator.Builder.SHOW_CLASS_NAME
If the SHOW_CLASS_NAME option is present and true, the value of object.getClass().getName()
is prefixed to the formatted description of each object.
|
static ILabelGenerator.Option<java.lang.Boolean> |
ILabelGenerator.Builder.SHOW_CLASS_SIMPLE_NAME
If the SHOW_CLASS_SIMPLE_NAME option is present and true, the value of object.getClass().getSimpleName()
is prefixed to the formatted description of each object.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> |
AbstractLabelGeneratorBuilder.options |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractLabelGeneratorBuilder.getOption(ILabelGenerator.Option<T> option) |
<T> T |
ILabelGenerator.Builder.getOption(ILabelGenerator.Option<T> option) |
<T> void |
AbstractLabelGeneratorBuilder.setOption(ILabelGenerator.Option<T> option,
T value) |
<T> void |
ILabelGenerator.Builder.setOption(ILabelGenerator.Option<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
ILabelGenerator.Builder |
LabelGeneratorRegistry.createDefaultLabelBuilder(java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options) |
java.lang.String |
ILabelGenerator.Registry.labelFor(java.lang.Object labelledObject,
java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options) |
java.lang.String |
LabelGeneratorRegistry.labelFor(java.lang.Object labelledObject,
java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options) |
Constructor and Description |
---|
AbstractLabelGeneratorBuilder(ILabelGenerator.Registry registry,
java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options) |
DefaultLabelGeneratorBuilder(ILabelGenerator.Registry registry,
java.util.Map<ILabelGenerator.Option<?>,java.lang.Object> options) |