org.drools.eclipse.wizard.knowledgebase
Class NewKnowledgeBaseWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.drools.eclipse.wizard.knowledgebase.NewKnowledgeBaseWizardPage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public class NewKnowledgeBaseWizardPage
- extends org.eclipse.jface.wizard.WizardPage
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
|
Constructor Summary |
NewKnowledgeBaseWizardPage(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
|
| 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, 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, setVisible |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
NewKnowledgeBaseWizardPage
public NewKnowledgeBaseWizardPage(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
getImage
public final org.eclipse.swt.graphics.Image getImage(Object element)
getAdapter
protected final org.eclipse.ui.model.IWorkbenchAdapter getAdapter(Object o)
validPage
protected boolean validPage()
finish
public boolean finish()
generateProducer
public void generateProducer(String kbaseName,
String kbasePkg,
org.eclipse.core.resources.IFolder ifolder)
throws IOException,
org.eclipse.core.runtime.CoreException
- Throws:
IOException
org.eclipse.core.runtime.CoreException
updateKBasePaths
public void updateKBasePaths(String kbaseName,
String kbasePath)
throws IOException,
org.eclipse.core.runtime.CoreException
- Throws:
IOException
org.eclipse.core.runtime.CoreException
updateKprojectProperties
public void updateKprojectProperties(String kbaseName)
throws IOException,
org.eclipse.core.runtime.CoreException
- Throws:
IOException
org.eclipse.core.runtime.CoreException
createKBaseProperties
public void createKBaseProperties(String kbaseName,
org.eclipse.core.resources.IFolder kbaseFolder)
throws IOException,
org.eclipse.core.runtime.CoreException
- Throws:
IOException
org.eclipse.core.runtime.CoreException
createFolder
public static void createFolder(org.eclipse.core.resources.IFolder folder)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.