@Deprecated
public class CustomizationManager
extends java.lang.Object
CustomizationEngine
, AppearanceConfiguration
, and
FacetContext
. An instance of this class must be passed to
CustomizableModelContentProvider
and CustomizableModelLabelProvider
.
Note that you must call installCustomPainter
for all customizations to be displayed properly.
Constructor and Description |
---|
CustomizationManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clearCustomizations()
Deprecated.
Removes all customizations
|
void |
clearFacets()
Deprecated.
Removes all Facets
|
Font |
getCustomFont()
Deprecated.
|
Font |
getCustomItalicFont()
Deprecated.
|
int |
getFontSizeDelta()
Deprecated.
|
java.util.List<MetamodelView> |
getRegisteredCustomizations()
Deprecated.
Get registered customizations
|
void |
installCustomPainter(Tree tree)
Deprecated.
Install a
CustomTreePainter on the given Tree . |
boolean |
isShowAttributes()
Deprecated.
|
boolean |
isShowContainer()
Deprecated.
|
boolean |
isShowDerivedLinks()
Deprecated.
|
boolean |
isShowElementIDs()
Deprecated.
|
boolean |
isShowEmptyAttributes()
Deprecated.
|
boolean |
isShowEmptyLinks()
Deprecated.
|
boolean |
isShowFullQualifiedNames()
Deprecated.
|
boolean |
isShowMultiplicity()
Deprecated.
|
boolean |
isShowOppositeLinks()
Deprecated.
|
boolean |
isShowOrdering()
Deprecated.
|
boolean |
isShowTypeOfLinks()
Deprecated.
|
boolean |
isShowURI()
Deprecated.
|
boolean |
isSortInstances()
Deprecated.
|
boolean |
isSortLinks()
Deprecated.
|
boolean |
isSortLinksByType()
Deprecated.
|
void |
loadCustomizations()
Deprecated.
Loads or reloads the customizations registered by
registerCustomization . |
void |
loadFacet(Facet facet)
Deprecated.
Loads the given Facet.
|
void |
registerCustomization(MetamodelView customization)
Deprecated.
Adds the given customization to the engine.
|
void |
setCustomFont(Font customFont)
Deprecated.
|
void |
setCustomItalicFont(Font customItalicFont)
Deprecated.
|
void |
setFontSizeDelta(int value)
Deprecated.
|
void |
setShowAttributes(boolean value)
Deprecated.
|
void |
setShowContainer(boolean showContainer)
Deprecated.
|
void |
setShowDerivedLinks(boolean showDerivedLinks)
Deprecated.
|
void |
setShowElementIDs(boolean showElementIDs)
Deprecated.
|
void |
setShowEmptyAttributes(boolean value)
Deprecated.
|
void |
setShowEmptyLinks(boolean showEmptyLinks)
Deprecated.
|
void |
setShowFullQualifiedNames(boolean showFullQualifiedNames)
Deprecated.
|
void |
setShowMultiplicity(boolean showMultiplicity)
Deprecated.
|
void |
setShowOppositeLinks(boolean showOppositeLinks)
Deprecated.
|
void |
setShowOrdering(boolean value)
Deprecated.
|
void |
setShowTypeOfLinks(boolean value)
Deprecated.
|
void |
setShowURI(boolean showURI)
Deprecated.
|
void |
setSortInstances(boolean sortInstances)
Deprecated.
|
void |
setSortLinks(boolean value)
Deprecated.
|
void |
setSortLinksByType(boolean value)
Deprecated.
|
public void installCustomPainter(Tree tree)
CustomTreePainter
on the given Tree
.
This custom painter is necessary to display some customizations, like underlined, struckthrough, and Facet overlay icons.
public void registerCustomization(MetamodelView customization)
loadCustomizations
must be called to
effectively load the registered customizations.
Customizations should be retrieved from the CustomizationsCatalog
.
customization
- a customization root object, defined from metamodel
"http://www.eclipse.org/MoDisco/infra/browser/custom/0.8".public void loadCustomizations()
registerCustomization
.
note: this method should be called after all Facet
s are loaded,
because customizations can reference Facet
s.
public void clearCustomizations()
public java.util.List<MetamodelView> getRegisteredCustomizations()
public void loadFacet(Facet facet)
Facets should be retrieved from the FacetSetCatalog
.
public void clearFacets()
public boolean isShowEmptyLinks()
public void setShowEmptyLinks(boolean showEmptyLinks)
public boolean isSortInstances()
public void setSortInstances(boolean sortInstances)
public boolean isShowDerivedLinks()
public void setShowDerivedLinks(boolean showDerivedLinks)
public boolean isShowFullQualifiedNames()
public void setShowFullQualifiedNames(boolean showFullQualifiedNames)
public boolean isShowMultiplicity()
public void setShowMultiplicity(boolean showMultiplicity)
public boolean isShowOppositeLinks()
public void setShowOppositeLinks(boolean showOppositeLinks)
public boolean isShowContainer()
public void setShowContainer(boolean showContainer)
public boolean isSortLinks()
public void setSortLinks(boolean value)
public void setSortLinksByType(boolean value)
public boolean isSortLinksByType()
public void setShowAttributes(boolean value)
public boolean isShowAttributes()
public void setShowEmptyAttributes(boolean value)
public boolean isShowEmptyAttributes()
public void setShowOrdering(boolean value)
public boolean isShowOrdering()
public void setShowTypeOfLinks(boolean value)
public boolean isShowTypeOfLinks()
public void setShowElementIDs(boolean showElementIDs)
public boolean isShowElementIDs()
public void setShowURI(boolean showURI)
public boolean isShowURI()
public void setFontSizeDelta(int value)
public int getFontSizeDelta()
public void setCustomFont(Font customFont)
public Font getCustomFont()
public void setCustomItalicFont(Font customItalicFont)
public Font getCustomItalicFont()