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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classProject 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 TypeMethodDescriptionvoidactivateWindow(Project project, String id) Activates the project window.default voidactivateWindow(String id) Deprecated.voidaddWindow(Project project, ProjectWindow projectWindow) Adds project window to the active project.default voidaddWindow(ProjectWindow projectWindow) Deprecated.voidaddWindowWithoutOpen(Project project, ProjectWindow window) Adds project window to the active project.default voidaddWindowWithoutOpen(ProjectWindow projectWindow) Deprecated.Returns bounds of window with given id.voidhideWindow(Project project, String id) Hides the project window.default voidhideWindow(String id) Deprecated.voidremoveWindow(Project project, String id) Removes the project window.default voidremoveWindow(String id) Deprecated.voidSet bounds of window.voidupdateWindow(Project project, ProjectWindow projectWindow) Updates the given project window.default voidupdateWindow(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)