Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.vinculum.processeditor
Class CreateVCMPage1  view CreateVCMPage1 download CreateVCMPage1.java

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.wizard.WizardPage
          extended byorg.eclipse.ui.dialogs.WizardNewFileCreationPage
              extended bycom.vinculum.processeditor.CreateVCMPage1
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 CreateVCMPage1
extends org.eclipse.ui.dialogs.WizardNewFileCreationPage
implements org.eclipse.swt.events.SelectionListener


Field Summary
private static int exampleCount
           
private  org.eclipse.swt.widgets.Button model1
           
private  org.eclipse.swt.widgets.Button model2
           
private  int modelSelected
           
private  org.eclipse.ui.IWorkbench workbench
           
 
Fields inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage
 
Fields inherited from class org.eclipse.jface.wizard.WizardPage
 
Fields inherited from class org.eclipse.jface.dialogs.DialogPage
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
CreateVCMPage1(org.eclipse.ui.IWorkbench aWorkbench, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          (non-Javadoc) Method declared on IDialogPage.
 boolean finish()
           
protected  java.io.InputStream getInitialContents()
          Returns a stream containing the initial contents to be given to new file resource instances.
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
          Empty method
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
          Sent when selection occurs in the control.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
 

Field Detail

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
Constructor Detail

CreateVCMPage1

public CreateVCMPage1(org.eclipse.ui.IWorkbench aWorkbench,
                      org.eclipse.jface.viewers.IStructuredSelection selection)
Method Detail

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