Class PresentationElementRendererManager
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.PresentationElementRendererManager
-
@OpenApi public final class PresentationElementRendererManager extends java.lang.Object
Manager registers the presentation element renderer providers:PresentationElementRendererManager.getInstance().addProvider(provider);
- See Also:
PresentationElementRendererProvider
-
-
Field Summary
Fields Modifier and Type Field Description private static PresentationElementRendererManager
mInstance
Singleton instanceprivate java.util.Map<PresentationElementRendererProvider,com.nomagic.magicdraw.uml.symbols.SymbolDecoratorProvider>
mProviders
Registered providers map
-
Constructor Summary
Constructors Modifier Constructor Description private
PresentationElementRendererManager()
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProvider(PresentationElementRendererProvider provider)
Registers renderer provider.static PresentationElementRendererManager
getInstance()
Returns shared instance of this manager.void
removeProvider(PresentationElementRendererProvider provider)
Unregisters renderer provider.
-
-
-
Field Detail
-
mInstance
private static PresentationElementRendererManager mInstance
Singleton instance
-
mProviders
private final java.util.Map<PresentationElementRendererProvider,com.nomagic.magicdraw.uml.symbols.SymbolDecoratorProvider> mProviders
Registered providers map
-
-
Method Detail
-
getInstance
@OpenApi public static PresentationElementRendererManager getInstance()
Returns shared instance of this manager.- Returns:
- instance of this manager.
-
addProvider
@OpenApi public void addProvider(PresentationElementRendererProvider provider)
Registers renderer provider.- Parameters:
provider
- renderer provider to add.
-
removeProvider
@OpenApi public void removeProvider(PresentationElementRendererProvider provider)
Unregisters renderer provider.- Parameters:
provider
- renderer provider to remove.
-
-