|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.common.definition.DefinitionImages
public class DefinitionImages
Manages images for definitions. Should be dispose()
d when the images
are not used any more.
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.ui.common.CommonSharedImagesConstants |
---|
IMG_ADD, IMG_DECORATION_MANDATORY, IMG_DEFINITION_ABSTRACT_FT, IMG_DEFINITION_ABSTRACT_TYPE, IMG_DEFINITION_CHOICE, IMG_DEFINITION_CONCRETE_FT, IMG_DEFINITION_CONCRETE_TYPE, IMG_DEFINITION_GEOMETRIC_PROPERTY, IMG_DEFINITION_GROUP, IMG_DEFINITION_NUMERIC_PROPERTY, IMG_DEFINITION_STRING_PROPERTY, IMG_META, IMG_PLAY, IMG_REMOVE, IMG_STOP |
Constructor Summary | |
---|---|
DefinitionImages()
|
Method Summary | |
---|---|
void |
dispose()
Dispose all images. |
org.eclipse.swt.graphics.Image |
getImage(Definition<?> def)
Get the image for the given definition |
org.eclipse.swt.graphics.Image |
getImage(EntityDefinition entityDef)
Get the image for the given entity definition |
protected org.eclipse.swt.graphics.Image |
getImage(EntityDefinition entityDef,
Definition<?> def)
Get the image for the given definition |
boolean |
isSuppressMandatory()
|
void |
setSuppressMandatory(boolean suppressMandatory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefinitionImages()
Method Detail |
---|
public void dispose()
getImage(Definition)
may not be called after
calling this method.
public org.eclipse.swt.graphics.Image getImage(Definition<?> def)
def
- the definition
null
public org.eclipse.swt.graphics.Image getImage(EntityDefinition entityDef)
entityDef
- the entity definition
null
protected org.eclipse.swt.graphics.Image getImage(EntityDefinition entityDef, Definition<?> def)
entityDef
- the entity definition, may be null
def
- the definition
null
public boolean isSuppressMandatory()
public void setSuppressMandatory(boolean suppressMandatory)
suppressMandatory
- the suppressMandatory to set
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |