Bus

org.topcased.service.transformation.wizard
Class TransformationPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.topcased.service.transformation.wizard.TransformationPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

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

This page is displayed when the import or an export wizard is called.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected TransformationPage(org.eclipse.core.runtime.IPath selectedPath, java.lang.String kindPage)
          Constructor
 
Method Summary
 boolean canFinish()
          Indicates whether the transformation can start.
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean performFinish()
          Performs the finish action in launching the selected transformation.
 
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
 

Constructor Detail

TransformationPage

protected TransformationPage(org.eclipse.core.runtime.IPath selectedPath,
                             java.lang.String kindPage)
Constructor

Parameters:
selectedPath - The selection made by the user. It represents a IFolder or a IFile.
kindPage - The kind of the page : import or export
Method Detail

createControl

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

performFinish

public boolean performFinish()
Performs the finish action in launching the selected transformation.

Returns:
true if the transformation occurred without errors, false otherwise.

canFinish

public boolean canFinish()
Indicates whether the transformation can start.
During this step all the required parameters are checked.

Returns:
if all information required for the transformation are set, false otherwise.

Bus

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.