Package com.nomagic.magicdraw.ui
Interface ProjectWindowsManager
- All Superinterfaces:
WindowsManager
Project windows manager allows adding (and manage) the custom windows to the project.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Project window configurator registry. -
Field Summary
Fields inherited from interface com.nomagic.magicdraw.ui.WindowsManager
SIDE_EAST, SIDE_NORTH, SIDE_SOUTH, SIDE_WEST, STATE_AUTOHIDE, STATE_DOCKED, STATE_FLOATING, STATE_HIDDEN
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateWindow
(Project project, String id) Activates the project window.default void
activateWindow
(String id) Deprecated.void
addWindow
(Project project, ProjectWindow projectWindow) Adds project window to the active project.default void
addWindow
(ProjectWindow projectWindow) Deprecated.void
addWindowWithoutOpen
(Project project, ProjectWindow window) Adds project window to the active project.default void
addWindowWithoutOpen
(ProjectWindow projectWindow) Deprecated.Returns bounds of window with given id.void
hideWindow
(Project project, String id) Hides the project window.default void
hideWindow
(String id) Deprecated.void
removeWindow
(Project project, String id) Removes the project window.default void
removeWindow
(String id) Deprecated.void
Set bounds of window.void
updateWindow
(Project project, ProjectWindow projectWindow) Updates the given project window.default void
updateWindow
(ProjectWindow projectWindow) Deprecated.
-
Method Details
-
addWindow
Deprecated. -
addWindow
Adds project window to the active project. Window is opened.- Parameters:
project
- projectprojectWindow
- project window to add
-
addWindowWithoutOpen
Deprecated. -
addWindowWithoutOpen
Adds project window to the active project. Does not try to open window.- Parameters:
project
- projectwindow
- project window to add
-
updateWindow
Deprecated. -
updateWindow
Updates the given project window.- Parameters:
project
- projectprojectWindow
- project window to update
-
hideWindow
Deprecated. -
hideWindow
Hides the project window. The window is just hidden, but not removed.- Parameters:
project
- projectid
- the id of project window to be hidden
-
removeWindow
Deprecated. -
removeWindow
Removes the project window.- Parameters:
project
- projectid
- the id of project window to be removed
-
activateWindow
Deprecated. -
activateWindow
Activates the project window.- Parameters:
project
- projectid
- the id of project window to be activated.
-
getBounds
Returns bounds of window with given id.- Parameters:
project
- projectid
- window id- Returns:
- bounds of window
-
setBounds
Set bounds of window. Bounds are changed only if window is "floating". If window is docked inside other container, size is not changed.- Parameters:
project
- projectid
- window idbounds
- bounds
-
activateWindow(Project, String)