|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewFileCreationPage
org.eclipse.tptp.platform.common.ui.wizard.LocationPage
public class LocationPage
Extension of WizardNewFileCreationPage that allows the definition of a required file extension to be used.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
LocationPage(java.lang.String pageName,
org.eclipse.jface.viewers.IStructuredSelection selection)
Constructor for LocationPage |
|
| Method Summary | |
|---|---|
boolean |
allowOverwrite()
|
java.lang.String |
getFileExtension()
Returns the required file extension. |
java.lang.String |
getFileName()
|
java.lang.String |
getItemName()
Returns the text displayed in the Name field. |
void |
setAllowOverwrite(boolean allowOverwrite)
|
void |
setFileExtension(java.lang.String fileExtension)
Sets the required file extension. |
void |
setNameValidator(ICustomLocationNameValidation nameValidator)
name validator will complete name check to allow to pass to next page |
| Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage |
|---|
createControl, createNewFile, getContainerFullPath, handleEvent, setAllowExistingResources, setContainerFullPath, setFileName, setVisible |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
| Constructor Detail |
|---|
public LocationPage(java.lang.String pageName,
org.eclipse.jface.viewers.IStructuredSelection selection)
pageName - selection - | Method Detail |
|---|
public void setAllowOverwrite(boolean allowOverwrite)
public boolean allowOverwrite()
public void setNameValidator(ICustomLocationNameValidation nameValidator)
nameValidator - public void setFileExtension(java.lang.String fileExtension)
setFileExtension in class org.eclipse.ui.dialogs.WizardNewFileCreationPagefileExtension - public java.lang.String getFileExtension()
getFileExtension in class org.eclipse.ui.dialogs.WizardNewFileCreationPagepublic java.lang.String getFileName()
getFileName in class org.eclipse.ui.dialogs.WizardNewFileCreationPageWizardNewFileCreationPage.getFileName()public java.lang.String getItemName()
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||