本文整理了Java中org.eclipse.jface.wizard.Wizard.getPreviousPage()
方法的一些代码示例,展示了Wizard.getPreviousPage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wizard.getPreviousPage()
方法的具体详情如下:
包路径:org.eclipse.jface.wizard.Wizard
类名称:Wizard
方法名:getPreviousPage
暂无
代码示例来源:origin: org.eclipse.equinox.p2/ui
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == errorPage) {
return mainPage;
}
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse/org.eclipse.ltk.ui.refactoring
/**
* {@inheritDoc}
*/
public IWizardPage getPreviousPage(final IWizardPage page) {
if (page == fErrorPage || page == fPreviewPage)
return null;
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
return super.getPreviousPage(page);
}
代码示例来源:origin: io.sarl/io.sarl.eclipse
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse/org.eclipse.datatools.connectivity.ui
/**
* Method declared on IWizard. Returns the previous page displayed in the
* wizard. This implementation ignores skipped pages.
*
* @return the previous wizard page
* @see org.eclipse.jface.wizard.IWizard#getPreviousPage(IWizardPage)
*/
public IWizardPage getPreviousPage(IWizardPage page) {
IWizardPage prevPage = null;
ISkippable prevPG = null;
prevPage = super.getPreviousPage(page);
while ((prevPage != null) && (prevPage instanceof ISkippable)) {
prevPG = (ISkippable) prevPage;
if (!prevPG.getSkippable()) {
break;
}
prevPage = super.getPreviousPage(prevPage);
}
return prevPage;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == fJarOptionsWizardPage && !fJarPackage.isRefactoringAware())
return fJarPackageWizardPage;
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == fLastWizardPage && fTreeWizardPage.getCustom()) {
return fTreeWizardPage;
}
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == fJarOptionsWizardPage && !fJarPackage.isRefactoringAware())
return fJarPackageWizardPage;
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == fLastWizardPage && fTreeWizardPage.getCustom()) {
return fTreeWizardPage;
}
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
public IWizardPage getPreviousPage(IWizardPage page) {
if (page == fJarOptionsWizardPage && !fJarPackage.isRefactoringAware())
return fJarPackageWizardPage;
return super.getPreviousPage(page);
}
代码示例来源:origin: org.eclipse/org.eclipse.ltk.ui.refactoring
/**
* {@inheritDoc}
*/
public IWizardPage getPreviousPage(IWizardPage page) {
if (hasUserInput())
return super.getPreviousPage(page);
if (! page.getName().equals(IErrorWizardPage.PAGE_NAME)){
if (fConditionCheckingStatus.isOK())
return null;
}
return super.getPreviousPage(page);
}
代码示例来源:origin: inspectIT/inspectIT
/**
* {@inheritDoc}
*/
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (ObjectUtils.equals(page, importStorageInfoPage)) {
importStorageInfoPage.reset();
}
return super.getPreviousPage(page);
}
代码示例来源:origin: inspectIT/inspectIT
/**
* {@inheritDoc}
*/
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (ObjectUtils.equals(page, defineNewStorageWizzardPage) || ObjectUtils.equals(page, selectExistingStorageWizardPage)) {
return newOrExistsingStorageWizardPage;
} else if (ObjectUtils.equals(page, selectAgentsPage)) {
if (newOrExistsingStorageWizardPage.useNewStorage()) {
return defineNewStorageWizzardPage;
} else {
return selectExistingStorageWizardPage;
}
} else {
return super.getPreviousPage(page);
}
}
代码示例来源:origin: inspectIT/inspectIT
/**
* {@inheritDoc}
*/
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (ObjectUtils.equals(page, defineNewStorageWizzardPage) || ObjectUtils.equals(page, selectStorageWizardPage)) {
return newOrExistsingStorageWizardPage;
} else if (ObjectUtils.equals(page, selectAgentsWizardPage)) {
if (newOrExistsingStorageWizardPage.useNewStorage()) {
return defineNewStorageWizzardPage;
} else {
return selectStorageWizardPage;
}
} else {
return super.getPreviousPage(page);
}
}
代码示例来源:origin: inspectIT/inspectIT
/**
* {@inheritDoc}
*/
@Override
public IWizardPage getPreviousPage(IWizardPage page) {
if (ObjectUtils.equals(page, defineNewStorageWizzardPage) || ObjectUtils.equals(page, selectExistingStorageWizardPage)) {
return newOrExistsingStorageWizardPage;
} else if (ObjectUtils.equals(page, defineDataProcessorsWizardPage)) {
if (newOrExistsingStorageWizardPage.useNewStorage()) {
return defineNewStorageWizzardPage;
} else {
return selectExistingStorageWizardPage;
}
} else {
return super.getPreviousPage(page);
}
}
内容来源于网络,如有侵权,请联系作者删除!