Class UpdateLibraryWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.e1c.g5.v8.dt.internal.library.ui.update.UpdateLibraryWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class UpdateLibraryWizardPage extends org.eclipse.jface.wizard.WizardPage
The wizard page to update a library acossiated with some project or to plug a library to a project.
  • Field Summary

    Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    UpdateLibraryWizardPage(IDtProject dtProject, ILibraryRegistry libraryRegistry, ILibraryProjectManager libraryProjectManager, ILibraryRepository libraryRepository)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite parent)
     
    void
     
    void
    Tells that the parent wizard finishes.
    Returns the selected library descriptor.
    Returns the selected library name.
    Returns the selected library path.

    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.jface.dialogs.IDialogPage

    getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible

    Methods inherited from interface org.eclipse.jface.wizard.IWizardPage

    getMinimumPageSize
  • Constructor Details

    • UpdateLibraryWizardPage

      public UpdateLibraryWizardPage(IDtProject dtProject, ILibraryRegistry libraryRegistry, ILibraryProjectManager libraryProjectManager, ILibraryRepository libraryRepository)
      Creates a new instance.
      Parameters:
      dtProject - the workspace dt project to update/plug the library for/to, cannot be null
      libraryRegistry - the library registry, cannot be null
      libraryProjectManager - the library project manager, cannot be null
      libraryRepository - the library repository, cannot be null
  • Method Details

    • finish

      public void finish()
      Tells that the parent wizard finishes.
    • getLibraryPath

      public Path getLibraryPath()
      Returns the selected library path.
      Returns:
      the selected library path or null if the library path wasn't selected
    • getLibraryDescriptor

      public LibraryDescriptor getLibraryDescriptor()
      Returns the selected library descriptor.
      Returns:
      the selected library descriptor or null if the library descriptor wasn't selected
    • getLibraryName

      public String getLibraryName()
      Returns the selected library name.
      Returns:
      the selected library name, may be null if the library wasn't selected
    • createControl

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

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.jface.dialogs.IDialogPage
      Overrides:
      dispose in class org.eclipse.jface.dialogs.DialogPage