pl.edu.agh.cast.importer.wizard.page
Class TemplatePropertiesPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by pl.edu.agh.cast.importer.wizard.page.AbstractImportWizardPage
              extended by pl.edu.agh.cast.importer.wizard.page.TemplatePropertiesPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class TemplatePropertiesPage
extends AbstractImportWizardPage

Template properties page. Used for getting from user template name and description.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
TemplatePropertiesPage()
          The default constructor.
 
Method Summary
 boolean canFlipToNextPage()
          
 void createControl(org.eclipse.swt.widgets.Composite parent)
          
 String getTemplateDescription()
           
 String getTemplateName()
           
 void initPage()
          initPage() is invoked before showing page.
protected  boolean isComplete()
           
 boolean isCurrentWizardPage()
          Method is a delegate of a protected method WizardPage.isCurrentPage.
 
Methods inherited from class pl.edu.agh.cast.importer.wizard.page.AbstractImportWizardPage
dispose, getImportProcess, getImportWizard, getNextPage, refreshImportData, widgetModified
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, 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, 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
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

TemplatePropertiesPage

public TemplatePropertiesPage()
The default constructor.

Method Detail

canFlipToNextPage

public boolean canFlipToNextPage()

Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
canFlipToNextPage in class AbstractImportWizardPage
See Also:
AbstractImportWizardPage.canFlipToNextPage()

initPage

public void initPage()
initPage() is invoked before showing page. Should be used to initialise page data (e.g. previews, combo fields).

Overrides:
initPage in class AbstractImportWizardPage
See Also:
AbstractImportWizardPage.initPage()

isComplete

protected boolean isComplete()
Specified by:
isComplete in class AbstractImportWizardPage

isCurrentWizardPage

public boolean isCurrentWizardPage()
Method is a delegate of a protected method WizardPage.isCurrentPage. Returns whether this page is the current one in the wizard's container.

Returns:
true if the page is active, and false otherwise

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)

getTemplateName

public String getTemplateName()

getTemplateDescription

public String getTemplateDescription()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.