|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.openoffice.ide.eclipse.core.wizards.pages.NewScopedElementWizardPage
org.openoffice.ide.eclipse.core.wizards.pages.NewInterfaceWizardPage
public class NewInterfaceWizardPage
Interface creation page.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
NewInterfaceWizardPage(java.lang.String pPageName,
IUnoidlProject pUnoProject)
Constructor. |
|
NewInterfaceWizardPage(java.lang.String pPageName,
IUnoidlProject pProject,
java.lang.String pRootName,
java.lang.String pElementName)
Constructor. |
Method Summary | |
---|---|
protected void |
createSpecificControl(org.eclipse.swt.widgets.Composite pParent)
Implement this method to add specific controls for the subclassing wizard page. |
void |
dispose()
|
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()
|
int |
getProvidedTypes()
|
java.lang.String |
getTitle()
|
protected java.lang.String |
getTypeLabel()
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent pEvent)
|
Methods inherited from class org.openoffice.ide.eclipse.core.wizards.pages.NewScopedElementWizardPage |
---|
addPageListener, createControl, existsIdlFile, fieldChanged, firePageChanged, getElementName, getPackage, getPackageRoot, getProject, getTypeData, isPageComplete, isPublished, removePageListener, setName, setOOoInstance, setPackage, setPackageRoot, setPublished, setUnoidlProject, setVisible |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage |
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, getErrorMessage, getMessage, performHelp |
Constructor Detail |
---|
public NewInterfaceWizardPage(java.lang.String pPageName, IUnoidlProject pUnoProject)
pPageName
- the page namepUnoProject
- the project for which to create the interface.public NewInterfaceWizardPage(java.lang.String pPageName, IUnoidlProject pProject, java.lang.String pRootName, java.lang.String pElementName)
pPageName
- the page namepProject
- the project for which to create the interface.pRootName
- scoped name of the module containing the typepElementName
- name of the type, without any '.' or '::'Method Detail |
---|
public void dispose()
dispose
in interface org.eclipse.jface.dialogs.IDialogPage
dispose
in class NewScopedElementWizardPage
public int getProvidedTypes()
getProvidedTypes
in class NewScopedElementWizardPage
bit orof the types defined in the
UnoTypeProvider
class.protected void createSpecificControl(org.eclipse.swt.widgets.Composite pParent)
createSpecificControl
in class NewScopedElementWizardPage
pParent
- the composite parent where to put the controlspublic java.lang.String getTitle()
getTitle
in interface org.eclipse.jface.dialogs.IDialogPage
getTitle
in class org.eclipse.jface.dialogs.DialogPage
public java.lang.String getDescription()
getDescription
in interface org.eclipse.jface.dialogs.IDialogPage
getDescription
in class org.eclipse.jface.dialogs.DialogPage
protected java.lang.String getTypeLabel()
getTypeLabel
in class NewScopedElementWizardPage
protected org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor
in class NewScopedElementWizardPage
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent pEvent)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
public UnoFactoryData fillData(UnoFactoryData pData)
fillData
in class NewScopedElementWizardPage
pData
- the data to fill
null
if the provided data is null
public UnoFactoryData getEmptyTypeData()
getEmptyTypeData
in class NewScopedElementWizardPage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |