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
ConstructorsConstructorDescriptionUpdateLibraryWizardPage(IDtProject dtProject, ILibraryRegistry libraryRegistry, ILibraryProjectManager libraryProjectManager, ILibraryRepository libraryRepository) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite parent) voiddispose()voidfinish()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, toStringMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleMethods 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 benulllibraryRegistry- the library registry, cannot benulllibraryProjectManager- the library project manager, cannot benulllibraryRepository- the library repository, cannot benull
-
-
Method Details
-
finish
public void finish()Tells that the parent wizard finishes. -
getLibraryPath
Returns the selected library path.- Returns:
- the selected library path or
nullif the library path wasn't selected
-
getLibraryDescriptor
Returns the selected library descriptor.- Returns:
- the selected library descriptor or
nullif the library descriptor wasn't selected
-
getLibraryName
Returns the selected library name.- Returns:
- the selected library name, may be
nullif the library wasn't selected
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) -
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
disposein classorg.eclipse.jface.dialogs.DialogPage
-