本文整理了Java中org.eclipse.jface.wizard.Wizard
类的一些代码示例,展示了Wizard
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wizard
类的具体详情如下:
包路径:org.eclipse.jface.wizard.Wizard
类名称:Wizard
[英]An abstract base implementation of a wizard. A typical client subclasses Wizard
to implement a particular wizard.
Subclasses may call the following methods to configure the wizard:
addPage
setHelpAvailable
setDefaultPageImageDescriptor
setDialogSettings
setNeedsProgressMonitor
setTitleBarColor
setWindowTitle
Subclasses may override these methods if required:
createPageControls
performCancel
addPages
performFinish
dispose
Note that clients are free to implement IWizard
from scratch instead of subclassing Wizard
. Correct implementations of IWizard
will work with any correct implementation of IWizardPage
.
[中]向导的抽象基础实现。典型的客户端子类Wizard
来实现特定的向导。
子类可以调用以下方法来配置向导:
addPage
setHelpAvailable
setDefaultPageImageDescriptor
setDialogSettings
setNeedsProgressMonitor
setTitleBarColor
setWindowTitle
createPageControls
performCancel
addPages
performFinish
dispose
IWizard
,而不是子类化Wizard
。IWizard
的正确实现将与[$16$]的任何正确实现一起使用。代码示例来源:origin: pentaho/pentaho-kettle
wizard.addPage( page1 );
wizard.addPage( pageoci );
wizard.addPage( pageodbc );
wizard.addPage( pagejdbc );
wizard.addPage( pageoracle );
wizard.addPage( pageifx );
wizard.addPage( pageGeneric );
for ( WizardPage page : additionalPages ) {
wizard.addPage( page );
wizard.addPage( page2 );
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
public IWizardPage getNextPage(IWizardPage page) {
if (page == fJarPackageWizardPage && !fJarPackage.isRefactoringAware())
return fJarOptionsWizardPage;
return super.getNextPage(page);
}
代码示例来源:origin: org.eclipse/org.eclipse.ltk.ui.refactoring
/**
* {@inheritDoc}
*/
public void addPages() {
super.addPages();
addPage(fWizardPage);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui
@Override
public void dispose() {
super.dispose();
fMainPage = null;
fSelection = null;
}
代码示例来源:origin: org.eclipse/org.eclipse.ltk.ui.refactoring
/**
* {@inheritDoc}
*/
public boolean canFinish() {
if (fForcePreviewReview && !fPreviewShown)
return false;
return super.canFinish();
}
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
@Override
public boolean performCancel() {
return super.performCancel();
}
代码示例来源:origin: org.eclipse.equinox.p2/ui
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == errorPage) {
return mainPage;
}
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.converter
if (modeConverterWizardDefaultImageDescriptor != null)
wizard.setDefaultPageImageDescriptor(modeConverterWizardDefaultImageDescriptor);
if (wizard.getWindowTitle() == null)
wizard.setWindowTitle(getWizard().getWindowTitle());
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
wizard.setWindowTitle(Messages.AddBundleContainerSelectionPage_1);
return wizard;
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
wizard.setContainer(getContainer());
wizard.setWindowTitle(Messages.AddBundleContainerSelectionPage_1);
return wizard;
代码示例来源:origin: org.apache.directory.studio/ldapbrowser.common
/**
* Creates a new instance of AttributeWizard with the given initial attribute description.
*
* @param title the title
* @param entry the entry
* @param showSubschemaAttributesOnly the show subschema attributes only
* @param hideExistingAttributes the hide existing attributes
* @param attributeDescription the attribute description
*/
public AttributeWizard( String title, boolean showSubschemaAttributesOnly, boolean hideExistingAttributes,
String attributeDescription, IEntry entry )
{
super.setWindowTitle( title );
super.setNeedsProgressMonitor( false );
this.initialShowSubschemaAttributesOnly = showSubschemaAttributesOnly;
this.initialHideExistingAttributes = hideExistingAttributes;
this.initialAttributeDescription = attributeDescription;
this.initialEntry = entry;
}
代码示例来源:origin: org.eclipse/org.eclipse.jst.pagedesigner
wizard.setWindowTitle(AttributeGroupMessages.getString(
"DialogUtil.createTitle", group.getTagName())); //$NON-NLS-1$
wizard.setDefaultPageImageDescriptor(PDPlugin.getDefault()
.getImageDescriptor("newsuade_wiz.gif")); //$NON-NLS-1$
CommonWizardDialog dialog = new CommonWizardDialog(shell, wizard);
代码示例来源:origin: org.eclipse.platform/org.eclipse.team.ui
@Override
public IWizardPage getNextPage(IWizardPage page) {
if(importWizard != null ) {
return importWizard.getNextPage(page);
}
return super.getNextPage(page);
}
代码示例来源:origin: io.sarl/io.sarl.eclipse
@Override
public void addPages() {
super.addPages();
this.pageOne = new NewSarlFileWizardPage(this.selection, this.fileExtension);
this.injector.injectMembers(this.pageOne);
addPage(this.pageOne);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui
@Override
public void dispose() {
super.dispose();
fMainPage = null;
}
代码示例来源:origin: org.eclipse/org.eclipse.team.ui
public boolean canFinish() {
if(importWizard != null) {
return importWizard.canFinish();
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse/org.eclipse.team.ui
public boolean performCancel() {
if(importWizard != null) {
return importWizard.performCancel();
}
return super.performCancel();
}
代码示例来源:origin: io.sarl/io.sarl.eclipse
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
wizard.setWindowTitle(Messages.AddBundleContainerSelectionPage_1);
return wizard;
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui
wizard.setContainer(getContainer());
wizard.setWindowTitle(Messages.AddBundleContainerSelectionPage_1);
return wizard;
内容来源于网络,如有侵权,请联系作者删除!