Java 类org.eclipse.jface.wizard.IWizardNode 实例源码

项目:gemoc-studio    文件:TemplateListSelectionPage.java   
protected IWizardNode createWizardNode(WizardElement element) {
    return new WizardNode(this, element) {
        public IBaseProjectWizard createWizard() throws CoreException {
            IProjectContentWizard wizard = (IProjectContentWizard) wizardElement.createExecutableExtension();
            wizard.init(fContext);
            return wizard;
        }
    };
//  return null;
}
项目:PDFReporter-Studio    文件:JSSWizardSelectionPage.java   
/**
 * Adds the given wizard node to the list of selected nodes if it is not already in the list.
 * 
 * @param node
 *          the wizard node, or <code>null</code>
 */
private void addSelectedNode(IWizardNode node) {
    if (node == null) {
        return;
    }

    if (selectedWizardNodes.contains(node)) {
        return;
    }

    selectedWizardNodes.add(node);
}
项目:PDFReporter-Studio    文件:JSSWizardSelectionPage.java   
/**
 * The <code>WizardSelectionPage</code> implementation of an <code>IDialogPage</code> method disposes of all nested
 * wizards. Subclasses may extend.
 */
@Override
public void dispose() {
    super.dispose();
    // notify nested wizards
    for (int i = 0; i < selectedWizardNodes.size(); i++) {
        ((IWizardNode) selectedWizardNodes.get(i)).dispose();
    }
}
项目:PDFReporter-Studio    文件:JSSWizardSelectionPage.java   
/**
 * Sets or clears the currently selected wizard node within this page.
 * 
 * @param node
 *          the wizard node, or <code>null</code> to clear
 */
protected void setSelectedNode(IWizardNode node) {
    addSelectedNode(node);
    selectedNode = node;
    if (isCurrentPage()) {
        getContainer().updateButtons();
    }
}
项目:relations    文件:AbstractExtensionWizardSelectionPage.java   
/**
 * Sets or clears the currently selected wizard node within this page.
 *
 * @param inNode
 *            the wizard node, or <code>null</code> to clear
 */
protected void setSelectedNode(final IWizardNode inNode) {
    addSelectedNode(inNode);
    selectedNode = inNode;
    if (isCurrentPage()) {
        getContainer().updateButtons();
    }
}
项目:relations    文件:AbstractExtensionWizardSelectionPage.java   
/**
 * Adds the given wizard node to the list of selected nodes if it is not
 * already in the list.
 *
 * @param inNode
 *            the wizard node, or <code>null</code>
 */
private void addSelectedNode(final IWizardNode inNode) {
    if (inNode == null) {
        return;
    }

    if (selectedWizardNodes.contains(inNode)) {
        return;
    }

    selectedWizardNodes.add(inNode);
}
项目:developer-studio    文件:WSO2PluginListSelectionPage.java   
protected IWizardNode createWizardNode(WSO2PluginSampleExt element) {
    return null;
}
项目:relations    文件:AbstractExtensionWizardSelectionPage.java   
/**
 * @param inSelectedNode
 */
public void selectWizardNode(final IWizardNode inSelectedNode) {
    setSelectedNode(inSelectedNode);
}
项目:PDFReporter-Studio    文件:JSSWizardSelectionPage.java   
/**
 * Returns the currently selected wizard node within this page.
 * 
 * @return the wizard node, or <code>null</code> if no node is selected
 */
public IWizardNode getSelectedNode() {
    return selectedNode;
}
项目:relations    文件:AbstractExtensionWizardSelectionPage.java   
/**
 * Returns the currently selected wizard node within this page.
 *
 * @return the wizard node, or <code>null</code> if no node is selected
 */
public IWizardNode getSelectedNode() {
    return selectedNode;
}
项目:gemoc-studio    文件:BaseWizardSelectionPage.java   
protected abstract IWizardNode createWizardNode(WizardElement element);