Class QualifiedNameCreatorConfiguratorProvider
- java.lang.Object
-
- com.nomagic.magicdraw.persistence.xmi.load.model.utils.QualifiedNameCreatorConfiguratorProvider
-
@OpenApi public final class QualifiedNameCreatorConfiguratorProvider extends java.lang.Object
Holds external (registered by plugins) qualified name configurators. These configurators are applied on element unique name creation in: - Import of other project into opened project. - Orphan proxies replacement?- See Also:
QualifiedNameCreatorConfigurator
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<QualifiedNameCreatorConfigurator>
mConfigurators
Configurators Listprivate static QualifiedNameCreatorConfiguratorProvider
mInstance
Instance of singleton configurator.
-
Constructor Summary
Constructors Modifier Constructor Description private
QualifiedNameCreatorConfiguratorProvider()
Singleton.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfigurator(QualifiedNameCreatorConfigurator configurator)
static QualifiedNameCreatorConfiguratorProvider
getInstance()
java.lang.String
getRichNameString(Element element)
Get name from all configurators.boolean
removeConfigurator(QualifiedNameCreatorConfigurator configurator)
-
-
-
Field Detail
-
mInstance
private static QualifiedNameCreatorConfiguratorProvider mInstance
Instance of singleton configurator.
-
mConfigurators
private final java.util.List<QualifiedNameCreatorConfigurator> mConfigurators
Configurators List
-
-
Method Detail
-
getInstance
public static QualifiedNameCreatorConfiguratorProvider getInstance()
- Returns:
- Instance of Singleton
-
addConfigurator
public void addConfigurator(QualifiedNameCreatorConfigurator configurator)
- Parameters:
configurator
- Configurator
-
removeConfigurator
public boolean removeConfigurator(QualifiedNameCreatorConfigurator configurator)
- Parameters:
configurator
- Configurator- Returns:
- true if removed.
-
getRichNameString
public java.lang.String getRichNameString(Element element)
Get name from all configurators.- Parameters:
element
- Element- Returns:
- Conjuncted String from all configurators.
-
-