public interface AwbProjectEditorWindow
Modifier and Type | Interface and Description |
---|---|
static class |
AwbProjectEditorWindow.ProjectCloseUserFeedback
The Enumeration ProjectCloseUserFeedback.
|
Modifier and Type | Method and Description |
---|---|
void |
addDefaultTabs()
Adds the default tabs.
|
void |
addProjectTab(ProjectWindowTab projectWindowTab)
Adds the specified project tab.
|
void |
addProjectTab(ProjectWindowTab projectWindowTab,
int indexPosition)
Adds a Project-Tab and a new node (child of a specified parent) to the ProjectWindow
at the specified index position.
|
void |
dispose()
Disposes the AwbProjectEditorWindow.
|
Project |
getProject()
Has to return the current project.
|
ProjectWindowTab |
getTabForSubPanels(java.lang.String superPanelName)
Returns the specified tab for sub panels.
|
AwbProjectEditorWindow.ProjectCloseUserFeedback |
getUserFeedbackForClosingProject(java.lang.String msgTitle,
java.lang.String msgText,
java.lang.Object parentVisualizationComponent)
Checks, how the user wants to proceed, if unsaved projects has to be closed.
|
void |
moveToFront()
Moves the AwbProjectEditorWindow to the front.
|
void |
removeProjectTab(ProjectWindowTab projectWindowTab)
Removes the specified project tab.
|
void |
setFocus2Tab(java.lang.String tabName)
Has to set the focus to the specified tab.
|
void |
setMaximized()
Maximizes the current AwbProjectEditorWindow.
|
void |
setViewForDeveloperOrEndUser()
Rebuilds the AwbProjectEditorWindow depending on the selected view that is either
Project.VIEW_User , Project.VIEW_Developer or null . |
void |
showErrorMessage(java.lang.String msgText,
java.lang.String msgHead)
Has to show an error message.
|
void |
validateStartTab()
Has to validates the current start tab settings that could be
changed, if the view was changed from developer to end user view.
|
Project getProject()
AwbProjectEditorWindow.ProjectCloseUserFeedback getUserFeedbackForClosingProject(java.lang.String msgTitle, java.lang.String msgText, java.lang.Object parentVisualizationComponent)
msgTitle
- the message titlemsgText
- the message textparentVisualizationComponent
- the parent visualization componentvoid showErrorMessage(java.lang.String msgText, java.lang.String msgHead)
msgText
- the message textmsgHead
- the message headervoid addDefaultTabs()
void addProjectTab(ProjectWindowTab projectWindowTab)
projectWindowTab
- the project window tabvoid addProjectTab(ProjectWindowTab projectWindowTab, int indexPosition)
projectWindowTab
- the project window tabindexPosition
- the index position (greater one)void removeProjectTab(ProjectWindowTab projectWindowTab)
projectWindowTab
- the project window tabvoid dispose()
void moveToFront()
void setMaximized()
void setFocus2Tab(java.lang.String tabName)
tabName
- the new focus 2 tabvoid setViewForDeveloperOrEndUser()
Project.VIEW_User
, Project.VIEW_Developer
or null
.ProjectWindowTab getTabForSubPanels(java.lang.String superPanelName)
superPanelName
- the super panel namevoid validateStartTab()