public class NewServiceWizardPage extends NewScopedElementWizardPage
| Constructor and Description |
|---|
NewServiceWizardPage(java.lang.String pPageName,
IUnoidlProject pProject)
Simple constructor setting the package root and element name to blank values.
|
NewServiceWizardPage(java.lang.String pPageName,
IUnoidlProject pProject,
java.lang.String pRootName,
java.lang.String pServiceName)
Constructor setting allowing to set custom root package and service name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createSpecificControl(org.eclipse.swt.widgets.Composite pParent)
Implement this method to add specific controls for the subclassing wizard page.
|
void |
fieldChanged(FieldEvent pEvent)
Method called when the row has changed.
|
UnoFactoryData |
fillData(UnoFactoryData pData) |
java.lang.String |
getDescription() |
UnoFactoryData |
getEmptyTypeData()
Creates an empty factory data for the page UNO type.
|
protected org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor() |
java.lang.String |
getInheritanceName()
Gets the name of the exported interface.
|
int |
getProvidedTypes() |
java.lang.String |
getTitle() |
protected java.lang.String |
getTypeLabel() |
boolean |
isInheritanceChanged()
Tells whether the user has changed the exported interface since it has last been set using the APIs.
|
void |
setInheritanceName(java.lang.String pValue,
boolean pForced)
Sets the name of the exported interface.
|
addPageListener, createControl, dispose, existsIdlFile, firePageChanged, getElementName, getPackage, getPackageRoot, getProject, getTypeData, isPageComplete, isPublished, removePageListener, setName, setOOoInstance, setPackage, setPackageRoot, setPublished, setUnoidlProject, setVisiblecanFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessagepublic NewServiceWizardPage(java.lang.String pPageName,
IUnoidlProject pProject)
pPageName - the page namepProject - the project where to create the servicepublic NewServiceWizardPage(java.lang.String pPageName,
IUnoidlProject pProject,
java.lang.String pRootName,
java.lang.String pServiceName)
pPageName - the page namepProject - the project where to create the servicepRootName - the project root namespacepServiceName - the default service namepublic int getProvidedTypes()
getProvidedTypes in class NewScopedElementWizardPage
bit or
of the types defined in the UnoTypeProvider class.public void createSpecificControl(org.eclipse.swt.widgets.Composite pParent)
createSpecificControl in class NewScopedElementWizardPagepParent - the composite parent where to put the controlspublic java.lang.String getTitle()
getTitle in interface org.eclipse.jface.dialogs.IDialogPagegetTitle in class org.eclipse.jface.dialogs.DialogPagepublic java.lang.String getDescription()
getDescription in interface org.eclipse.jface.dialogs.IDialogPagegetDescription in class org.eclipse.jface.dialogs.DialogPageprotected java.lang.String getTypeLabel()
getTypeLabel in class NewScopedElementWizardPageprotected org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor in class NewScopedElementWizardPagepublic void fieldChanged(FieldEvent pEvent)
fieldChanged in interface IFieldChangedListenerfieldChanged in class NewScopedElementWizardPagepEvent - the field event thrownpublic java.lang.String getInheritanceName()
public void setInheritanceName(java.lang.String pValue,
boolean pForced)
Use this method to impose the service to implement a particular interface. This is the case for an URE application.
pValue - the interface fully qualified namepForced - disables the field if truepublic boolean isInheritanceChanged()
true is the has changed the exported interface.public UnoFactoryData fillData(UnoFactoryData pData)
fillData in class NewScopedElementWizardPagepData - the data to fillnull if the provided data is nullpublic UnoFactoryData getEmptyTypeData()
getEmptyTypeData in class NewScopedElementWizardPage