Package com.nomagic.magicdraw.ui
Class ProjectWindowsManager.ConfiguratorRegistry
- java.lang.Object
-
- com.nomagic.magicdraw.ui.ProjectWindowsManager.ConfiguratorRegistry
-
- Enclosing interface:
- ProjectWindowsManager
@OpenApiAll public static class ProjectWindowsManager.ConfiguratorRegistry extends java.lang.Object
Project window configurator registry. Create your own configurator and use this registry in your startup code (plugin's init()) if you want project window to have persistable docking state in project.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Collection<ProjectWindowsConfigurator>
configurator
-
Constructor Summary
Constructors Constructor Description ConfiguratorRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addConfigurator(ProjectWindowsConfigurator configurator)
Add configurator(package private) static void
configureProjectWindows(Project project, ProjectWindowsManager projectWindowsManager)
Configure windows.static void
removeConfigurator(ProjectWindowsConfigurator configurator)
Remove configurator
-
-
-
Field Detail
-
configurator
private static final java.util.Collection<ProjectWindowsConfigurator> configurator
-
-
Method Detail
-
addConfigurator
public static void addConfigurator(ProjectWindowsConfigurator configurator)
Add configurator- Parameters:
configurator
- configurator
-
removeConfigurator
public static void removeConfigurator(ProjectWindowsConfigurator configurator)
Remove configurator- Parameters:
configurator
- configurator
-
configureProjectWindows
static void configureProjectWindows(Project project, ProjectWindowsManager projectWindowsManager)
Configure windows. This method should be called only by internal framework- Parameters:
project
- projectprojectWindowsManager
- manager
-
-