public class PovClipseProjectLayoutWidget
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PovClipseProjectLayoutWidget.InitialValues
A bean to return the selected settings
|
Constructor and Description |
---|
PovClipseProjectLayoutWidget(boolean showResetDefaultButton,
Listener validationListener)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Composite |
createControl(Composite parent)
Creates the widget.
|
PovClipseProjectLayoutWidget.InitialValues |
getInitialValues() |
Shell |
getShell() |
boolean |
isProjectLayoutEnabled() |
void |
setDefaultName(java.lang.String name) |
void |
setDefaults()
Sets the default values
|
java.lang.String |
validatePage() |
public PovClipseProjectLayoutWidget(boolean showResetDefaultButton, Listener validationListener)
showResetDefaultButton
- Use true
to generate the
"Reset to default" button, false
to skip it.validationListener
- The Listener to be used for
widget validation purpose.public PovClipseProjectLayoutWidget.InitialValues getInitialValues()
public Shell getShell()
Shell
or
null
if the widget was not created yet.public Composite createControl(Composite parent)
parent
- The parent control hosing this widget.Composite
representing this widget.public java.lang.String validatePage()
true
if all widget itmes contains valid
data, false
if at least one item has invalid data.public void setDefaults()
public void setDefaultName(java.lang.String name)
public boolean isProjectLayoutEnabled()
true
if the PovClipse
project layout folders shall be created,
false
otherwise.