|
|||||||||
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.eclipse.ui.dialogs.WizardNewFileCreationPage
org.openoffice.ide.eclipse.core.wizards.pages.NewUnoFilePage
public class NewUnoFilePage
Simple Uno file creation page, this wizard will be removed when all the UNO types will have their own wizard.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
NewUnoFilePage(java.lang.String pPageName,
org.eclipse.jface.viewers.IStructuredSelection pSelection)
Constructor. |
Method Summary | |
---|---|
boolean |
canFlipToNextPage()
|
static boolean |
createUnoidlFile(org.eclipse.core.resources.IFolder pFolder,
java.lang.String pFilename)
This method help creating a new unoidl file with it's basic content. |
static boolean |
createUnoidlFile(org.eclipse.core.resources.IFolder pFolder,
java.lang.String pFilename,
org.eclipse.ui.IWorkbench pWorkbench)
This method help creating a new unoidl file with it's basic content. |
Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage |
---|
createAdvancedControls, createControl, createFile, createFileHandle, createLinkTarget, createNewFile, createRule, getContainerFullPath, getFileExtension, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setAllowExistingResources, setContainerFullPath, setFileExtension, setFileName, setVisible, validateLinkedResource, validatePage |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
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, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, 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 |
---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
Constructor Detail |
---|
public NewUnoFilePage(java.lang.String pPageName, org.eclipse.jface.viewers.IStructuredSelection pSelection)
pPageName
- the page namepSelection
- the selection where to create the IDL fileMethod Detail |
---|
public boolean canFlipToNextPage()
canFlipToNextPage
in interface org.eclipse.jface.wizard.IWizardPage
canFlipToNextPage
in class org.eclipse.jface.wizard.WizardPage
public static boolean createUnoidlFile(org.eclipse.core.resources.IFolder pFolder, java.lang.String pFilename)
.idl
.
pFolder
- parent folder where to put the unoidl filepFilename
- name of the file to create
true
if the creation succeeded, false
otherwise.public static boolean createUnoidlFile(org.eclipse.core.resources.IFolder pFolder, java.lang.String pFilename, org.eclipse.ui.IWorkbench pWorkbench)
.idl
. After the file creation, the file is
edited with the unoidl file editor
pFolder
- parent folder where to put the unoidl filepFilename
- name of the file to createpWorkbench
- worbench where to launch the editor
true
if the creation succeeded, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |