public class ProjectNewOpen extends Dialog implements AwbProjectNewOpenDialog
Window.IExceptionHandlerAwbProjectNewOpenDialog.ProjectActionblockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSISCANCEL, OK, resizeHasOccurred| Constructor and Description |
|---|
ProjectNewOpen(Shell parentShell,
java.lang.String title,
AwbProjectNewOpenDialog.ProjectAction currentAction)
Instantiates a new project new open dialog.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelPressed() |
protected void |
configureShell(Shell newShell) |
protected Control |
createDialogArea(Composite parent) |
protected Point |
getInitialSize() |
java.lang.String |
getProjectDirectory()
Returns the project folder.
|
java.lang.String |
getProjectName()
Returns the project name.
|
ISelectionChangedListener |
getTreeViewerISelectionChangedListener()
Return the tree viewer I selection changed listener.
|
boolean |
isCanceled()
Checks if is canceled.
|
boolean |
isExportBeforeDelete()
Checks if a project is to export before it will be deleted.
|
boolean |
isProjectError()
Check for project errors.
|
protected void |
okPressed() |
void |
setProjectDirectory(java.lang.String projectDirectory)
Sets the project folder.
|
void |
setProjectName(java.lang.String projectName)
Sets the project name.
|
void |
setVisible(boolean isSetVisible)
Sets the dialog visible.
|
applyDialogFont, buttonPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic ProjectNewOpen(Shell parentShell, java.lang.String title, AwbProjectNewOpenDialog.ProjectAction currentAction)
parentShell - the parent shelltitel - the title of this dialogcurrentAction - the current ProjectActionprotected void configureShell(Shell newShell)
configureShell in class Windowprotected Point getInitialSize()
getInitialSize in class Dialogpublic void setVisible(boolean isSetVisible)
AwbProjectNewOpenDialogsetVisible in interface AwbProjectNewOpenDialogisSetVisible - the new visibleprotected Control createDialogArea(Composite parent)
createDialogArea in class Dialogpublic ISelectionChangedListener getTreeViewerISelectionChangedListener()
protected void cancelPressed()
cancelPressed in class Dialogpublic boolean isCanceled()
AwbProjectNewOpenDialogisCanceled in interface AwbProjectNewOpenDialogpublic boolean isExportBeforeDelete()
AwbProjectNewOpenDialogisExportBeforeDelete in interface AwbProjectNewOpenDialogpublic boolean isProjectError()
public void setProjectName(java.lang.String projectName)
AwbProjectNewOpenDialogsetProjectName in interface AwbProjectNewOpenDialogprojectName - the new project namepublic java.lang.String getProjectName()
AwbProjectNewOpenDialoggetProjectName in interface AwbProjectNewOpenDialogpublic void setProjectDirectory(java.lang.String projectDirectory)
AwbProjectNewOpenDialogsetProjectDirectory in interface AwbProjectNewOpenDialogprojectDirectory - the new projects sub-directorypublic java.lang.String getProjectDirectory()
AwbProjectNewOpenDialoggetProjectDirectory in interface AwbProjectNewOpenDialog