java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewFileCreationPage
com.vinculum.processeditor.wizards.VCMpageOne
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.widgets.Listener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener
- public class VCMpageOne
- extends org.eclipse.ui.dialogs.WizardNewFileCreationPage
- implements org.eclipse.swt.events.SelectionListener
The "New" wizard page allows setting the container for
the new file as well as the file name. The page
will only accept file name without the extension OR
with the extension that matches the expected one (vpd).
| Fields inherited from class org.eclipse.jface.wizard.WizardPage |
|
| Fields inherited from class org.eclipse.jface.dialogs.DialogPage |
|
| Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage |
createAdvancedControls, createFile, createFileHandle, createLinkTarget, createNewFile, getContainerFullPath, getFileName, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setContainerFullPath, setFileName, setVisible, validateLinkedResource, validatePage |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage |
workbench
private org.eclipse.ui.IWorkbench workbench
exampleCount
private static int exampleCount
model1
private org.eclipse.swt.widgets.Button model1
model2
private org.eclipse.swt.widgets.Button model2
modelSelected
private int modelSelected
VCMpageOne
public VCMpageOne(org.eclipse.ui.IWorkbench aWorkbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
- Description copied from class:
org.eclipse.ui.dialogs.WizardNewFileCreationPage
- (non-Javadoc)
Method declared on IDialogPage.
- Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
getInitialContents
protected java.io.InputStream getInitialContents()
- Description copied from class:
org.eclipse.ui.dialogs.WizardNewFileCreationPage
- Returns a stream containing the initial contents to be given to new file resource
instances. Subclasses may wish to override. This default implementation
provides no initial contents.
finish
public boolean finish()
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
- Description copied from interface:
org.eclipse.swt.events.SelectionListener
- Sent when selection occurs in the control.
For example, on some platforms selection occurs in
a List when the user selects an item or items.
- Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
- Empty method
- Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener