com.groovemanager.app.mc909se
Class WritePatchPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by com.groovemanager.app.mc909se.WritePatchPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class WritePatchPage
extends org.eclipse.jface.wizard.WizardPage

This class represents a wizard page that is displayed to the user to tell him that he has to write the patch now manually on the Mc909.

Author:
Manu Robledo

Field Summary
private  int part
          The part the patch was created on.
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
WritePatchPage(java.lang.String pageName)
          Create a new WritePatchPage
WritePatchPage(java.lang.String pageName, java.lang.String title, org.eclipse.jface.resource.ImageDescriptor titleImage)
          Create a new WritePatchPage
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void setPart(int part)
          Set the part on which the patch has been created
 
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, setVisible
 
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, setVisible
 

Field Detail

part

private int part
The part the patch was created on.

Constructor Detail

WritePatchPage

public WritePatchPage(java.lang.String pageName)
Create a new WritePatchPage

Parameters:
pageName - The page´s name

WritePatchPage

public WritePatchPage(java.lang.String pageName,
                      java.lang.String title,
                      org.eclipse.jface.resource.ImageDescriptor titleImage)
Create a new WritePatchPage

Parameters:
pageName - The page´s name
title - The page title
titleImage - The title image
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
Specified by:
createControl in class org.eclipse.jface.dialogs.DialogPage

setPart

public void setPart(int part)
Set the part on which the patch has been created

Parameters:
part - The part (between 0 and 15) on which the patch has been created