Administration Tools

org.topcased.service.plugincustomization.epf.exportwizard
Class PreferencesFileExportPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
              extended by org.topcased.service.plugincustomization.epf.exportwizard.PreferencesFileExportPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.widgets.Listener, org.eclipse.ui.dialogs.IOverwriteQuery

public class PreferencesFileExportPage
extends org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
implements org.eclipse.swt.widgets.Listener

TODO : WARNING COPY OF THE FILE 'org.eclipse.ui.internal.wizards.preferences.WizardPreferencesExportPage1' PreferencesFileExportPage take the path of the file .epf created


Field Summary
 
Fields inherited from class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
chooseImportsButton, COMBO_HISTORY_LENGTH, destinationNameField, text, transfersTable
 
Fields inherited from interface org.eclipse.ui.dialogs.IOverwriteQuery
ALL, CANCEL, NO, NO_ALL, YES
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
  PreferencesFileExportPage()
          Create an instance of this class
protected PreferencesFileExportPage(java.lang.String name)
          Create an instance of this class
 
Method Summary
protected  void createTransferArea(org.eclipse.swt.widgets.Composite composite)
           
protected  java.lang.String getAllButtonText()
           
protected  java.lang.String getChooseButtonText()
           
protected  java.lang.String getDestinationLabel()
          Answer the string to display in self as the destination type
 java.lang.String getEpfFilePath()
          TODO Add
protected  int getFileDialogStyle()
           
protected  java.lang.String getFileDialogTitle()
           
protected  java.lang.String getInvalidDestinationMessage()
           
protected  boolean transfer(org.eclipse.core.runtime.preferences.IPreferenceFilter[] transfers)
           
 
Methods inherited from class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
addDestinationItem, addToHistory, addToHistory, allowNewContainerName, createButton, createControl, createDestinationGroup, createOptionsGroup, createTransfersList, determinePageCompletion, dispose, ensureDirectoryExists, ensureTargetIsValid, finish, getDestinationValue, getFilters, getPreferenceTransferElements, getTransfers, giveFocusToDestination, handleDestinationBrowseButtonPressed, handleEvent, internalSaveWidgetValues, queryOverwrite, queryYesNoQuestion, restoreWidgetValues, saveWidgetValues, setAllChecked, setDestinationValue, setPageComplete, setPreferenceTransfers, updatePageCompletion, validateDestinationGroup, validateOptionsGroup, validateSourceGroup, validDestination
 
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, 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.swt.widgets.Listener
handleEvent
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

PreferencesFileExportPage

protected PreferencesFileExportPage(java.lang.String name)
Create an instance of this class

Parameters:
name -

PreferencesFileExportPage

public PreferencesFileExportPage()
Create an instance of this class

Method Detail

getAllButtonText

protected java.lang.String getAllButtonText()
Specified by:
getAllButtonText in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
See Also:
WizardPreferencesPage.getAllButtonText()

getChooseButtonText

protected java.lang.String getChooseButtonText()
Specified by:
getChooseButtonText in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
See Also:
WizardPreferencesPage.getChooseButtonText()

createTransferArea

protected void createTransferArea(org.eclipse.swt.widgets.Composite composite)
Specified by:
createTransferArea in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
Parameters:
composite -

getDestinationLabel

protected java.lang.String getDestinationLabel()
Answer the string to display in self as the destination type

Specified by:
getDestinationLabel in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
Returns:
java.lang.String

transfer

protected boolean transfer(org.eclipse.core.runtime.preferences.IPreferenceFilter[] transfers)
Specified by:
transfer in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
Parameters:
transfers -
Returns:
true if the transfer was succesful, and false otherwise

getFileDialogTitle

protected java.lang.String getFileDialogTitle()
Specified by:
getFileDialogTitle in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
See Also:
WizardPreferencesPage.getFileDialogTitle()

getFileDialogStyle

protected int getFileDialogStyle()
Specified by:
getFileDialogStyle in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage
See Also:
WizardPreferencesPage.getFileDialogStyle()

getEpfFilePath

public java.lang.String getEpfFilePath()
TODO Add

Returns:
EPF path

getInvalidDestinationMessage

protected java.lang.String getInvalidDestinationMessage()
Specified by:
getInvalidDestinationMessage in class org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage

Administration Tools

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