本文整理了Java中org.eclipse.jface.wizard.Wizard.canFinish()
方法的一些代码示例,展示了Wizard.canFinish()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wizard.canFinish()
方法的具体详情如下:
包路径:org.eclipse.jface.wizard.Wizard
类名称:Wizard
方法名:canFinish
暂无
代码示例来源:origin: org.eclipse/org.eclipse.ltk.ui.refactoring
/**
* {@inheritDoc}
*/
public boolean canFinish() {
if (fForcePreviewReview && !fPreviewShown)
return false;
return super.canFinish();
}
代码示例来源:origin: org.eclipse/org.eclipse.jst.pagedesigner
public boolean canFinish() {
return super.canFinish();
}
代码示例来源:origin: org.eclipse/org.eclipse.team.ui
public boolean canFinish() {
if(importWizard != null) {
return importWizard.canFinish();
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.team.ui
@Override
public boolean canFinish() {
if(importWizard != null) {
return importWizard.canFinish();
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.api.tools.ui
@Override
public boolean canFinish() {
return super.canFinish() && getApiBaselineWizardPage() != null;
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.common.frameworks.ui
public boolean canFinish() {
if (!super.canFinish() || !getDataModel().isValid()) {
return false;
}
return true;
}
代码示例来源:origin: org.eclipse/org.eclipse.compare
public boolean canFinish() {
IWizardPage currentPage = fDialog.getCurrentPage();
if (currentPage.getName().equals(PreviewPatchPage2.PREVIEWPATCHPAGE_NAME)){
return currentPage.isPageComplete();
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.core.ui.connection
@Override
public boolean canFinish ()
{
if ( !super.canFinish () )
{
return false;
}
if ( getStore () == null )
{
return false;
}
if ( this.entryPage.getConnectionInformation () == null )
{
return false;
}
return true;
}
代码示例来源:origin: de.dentrassi.eclipse.neoscada.hmi/org.eclipse.scada.core.ui.connection
@Override
public boolean canFinish ()
{
if ( !super.canFinish () )
{
return false;
}
if ( getStore () == null )
{
return false;
}
if ( this.entryPage.getConnectionInformation () == null )
{
return false;
}
return true;
}
代码示例来源:origin: org.eclipse.mylyn.commons.repositories/ui
@Override
public boolean canFinish() {
// we can finish if the first page is current and the the page can finish early.
if (getContainer().getCurrentPage() == mainPage) {
if (mainPage.canFinishEarly()) {
return true;
}
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.compare
@Override
public boolean canFinish() {
IWizardPage currentPage = getContainer().getCurrentPage();
if (currentPage.getName().equals(PreviewPatchPage2.PREVIEWPATCHPAGE_NAME)){
return currentPage.isPageComplete();
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.egit/ui
@Override
public boolean canFinish() {
switch (mySelectionPage.getWizardSelection()) {
case GitSelectWizardPage.EXISTING_PROJECTS_WIZARD:
return myProjectsImportPage.isPageComplete();
case GitSelectWizardPage.NEW_WIZARD:
return true;
case GitSelectWizardPage.GENERAL_WIZARD:
return myCreateGeneralProjectPage.isPageComplete();
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.workbench
@Override
public boolean canFinish() {
// we can finish if the first page is current and the the page can finish early.
if (getContainer().getCurrentPage() == mainPage) {
if (mainPage.canFinishEarly()) {
return true;
}
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse/org.eclipse.jst.pagedesigner
public boolean canFinish() {
if (getContainer().getCurrentPage() == _firstPage) {
Object obj = _firstPage.getCurrentHandler();
if (obj instanceof ILocalDropHandler)
{
return true;
}
return false;
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.egit/ui
@Override
public boolean canFinish() {
if (getContainer().getCurrentPage() == repoPage) {
RepositorySelection sel = repoPage.getSelection();
if (sel.isConfigSelected()) {
RemoteConfig config = sel.getConfig();
return !config.getPushURIs().isEmpty()
|| !config.getURIs().isEmpty();
}
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.egit/ui
@Override
public boolean canFinish() {
if (getContainer().getCurrentPage() == repoPage) {
RepositorySelection sel = repoPage.getSelection();
if (sel.isConfigSelected()) {
RemoteConfig config = sel.getConfig();
return !config.getURIs().isEmpty()
&& !config.getFetchRefSpecs().isEmpty();
}
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.team.ui
@Override
public boolean canFinish() {
// If we are on the first page, never allow finish unless the selected wizard has no pages.
if (getContainer().getCurrentPage() == mainPage) {
if (mainPage.getSelectedWizard() != null && mainPage.getNextPage() == null) {
return true;
}
return false;
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse/org.eclipse.team.ui
public boolean canFinish() {
// If we are on the first page, never allow finish unless the selected
// wizard has no pages.
if (getContainer().getCurrentPage() == mainPage) {
if (mainPage.getSelectedWizard() != null && mainPage.getNextPage() == null) {
return true;
}
return false;
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.team.ui
@Override
public boolean canFinish() {
// If we are on the first page, never allow finish unless the selected
// wizard has no pages.
if (getContainer().getCurrentPage() == mainPage) {
if (mainPage.getSelectedWizard() != null && mainPage.getNextPage() == null) {
return true;
}
return false;
}
return super.canFinish();
}
代码示例来源:origin: org.eclipse/org.eclipse.team.ui
public boolean canFinish() {
// If we are on the first page, never allow finish unless the selected wizard has no pages.
if (getContainer().getCurrentPage() == mainPage) {
if (mainPage.getSelectedWizard() != null && mainPage.getNextPage() == null) {
return true;
}
return false;
}
if (wizard != null) {
return wizard.canFinish();
}
return super.canFinish();
}
/*
内容来源于网络,如有侵权,请联系作者删除!