Class NewUnoProjectPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewProjectCreationPage
org.libreoffice.ide.eclipse.core.wizards.pages.NewUnoProjectPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage,IFieldChangedListener
public class NewUnoProjectPage
extends org.eclipse.ui.dialogs.WizardNewProjectCreationPage
implements IFieldChangedListener
Uses the default Project wizard page and add some UNO-IDL special fields: SDK and OOo choices company prefix and
Output path.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite pParent) voiddispose()voidfieldChanged(FieldEvent event) Method called when the row has changed.fillData(UnoFactoryData data, boolean force) Methods inherited from class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
createWorkingSetGroup, getLocationPath, getLocationURI, getProjectHandle, getProjectName, getSelectedWorkingSets, setInitialProjectName, setVisible, useDefaults, validatePageMethods 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, setMessageMethods 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, performHelpMethods inherited from interface org.eclipse.jface.wizard.IWizardPage
getMinimumPageSize
-
Constructor Details
-
NewUnoProjectPage
Default constructor.- Parameters:
pPageName- the name of the wizard page
-
-
Method Details
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
disposein classorg.eclipse.jface.dialogs.DialogPage
-
getPrefix
- Returns:
- company prefix entered
-
getOutputExt
- Returns:
- output extension entered
-
getChosenLanguage
- Returns:
- the chosen implementation language.
-
getOOoName
- Returns:
- the selected OOo name
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite pParent) - Specified by:
createControlin interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
createControlin classorg.eclipse.ui.dialogs.WizardNewProjectCreationPage
-
fieldChanged
Method called when the row has changed.- Specified by:
fieldChangedin interfaceIFieldChangedListener- Parameters:
event- the field event thrown
-
fillData
- Parameters:
data- the data to fill.force- forces the project creation. Otherwise, the project handle won't be set- Returns:
- the given data with the completed properties,
nullif the provided data isnull
-
getUnoidlProject
- Returns:
- the reference to the unoidl project
-