ilog.rules.studio.res.ui.generator.impl.wizard

Class IlrFileGeneratorWizard

  • java.lang.Object
    • org.eclipse.jface.wizard.Wizard
      • ilog.rules.studio.res.ui.generator.impl.wizard.IlrFileGeneratorWizard
  • All Implemented Interfaces:
    org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard
    Direct Known Subclasses:
    IlrDefaultCompletionWizard, IlrDefaultCreationWizard, IlrPOJOGeneratorWizard, IlrWebServiceGeneratorWizard


    public abstract class IlrFileGeneratorWizard
    extends org.eclipse.jface.wizard.Wizard
    implements org.eclipse.ui.IWorkbenchWizard
    Extends the Eclipse Wizard class and saves the selected RuleApp project and generator in the pages of the Client Project for RuleApps wizard. The class also sets the window title and the wizard banner in the wizard.
    Since:
    JRules 6.0
    • Field Summary

      • Fields inherited from class org.eclipse.jface.wizard.Wizard

        DEFAULT_IMAGE
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrFileGeneratorWizard()
      Creates a new empty wizard and sets the window title and wizard banner to Client Project for RuleApps.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean completePerformFinish(org.eclipse.core.resources.IProject project)
      Redefine this method if you need to do something after the project creation.
      IlrFileGenerator getGenerator()
      Gets the instance of the selected generator.
      java.lang.String getJavaProjectName()
      Gets the instance of the selected generator.
      IlrRuleAppProject getRuleAppProject()
      Gets the RuleApp project selected in the wizard.
      protected org.eclipse.jface.viewers.IStructuredSelection getSelection() 
      • Methods inherited from class org.eclipse.jface.wizard.Wizard

        addPage, addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.ui.IWorkbenchWizard

        init
      • Methods inherited from interface org.eclipse.jface.wizard.IWizard

        addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer
    • Constructor Detail

      • IlrFileGeneratorWizard

        public IlrFileGeneratorWizard()
        Creates a new empty wizard and sets the window title and wizard banner to Client Project for RuleApps.
    • Method Detail

      • getRuleAppProject

        public IlrRuleAppProject getRuleAppProject()
        Gets the RuleApp project selected in the wizard. The selected ruleset can be found using the IlrRulesetArchiveDescriptor.isExport method.
        Returns:
        The selected RuleApp project.
      • getGenerator

        public IlrFileGenerator getGenerator()
        Gets the instance of the selected generator.
        Returns:
        The instance of the selected generator.
      • getJavaProjectName

        public java.lang.String getJavaProjectName()
        Gets the instance of the selected generator.
        Returns:
        The instance of the selected generator.
      • completePerformFinish

        public boolean completePerformFinish(org.eclipse.core.resources.IProject project)
        Redefine this method if you need to do something after the project creation. For example, opening a readme file.
        Since:
        JRules 6.5
        Parameters:
        project - The newly created project.
      • getSelection

        protected org.eclipse.jface.viewers.IStructuredSelection getSelection()

© Copyright IBM Corp. 1987, 2020