• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java LoadMetadataRepositoryJob类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob的典型用法代码示例。如果您正苦于以下问题:Java LoadMetadataRepositoryJob类的具体用法?Java LoadMetadataRepositoryJob怎么用?Java LoadMetadataRepositoryJob使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



LoadMetadataRepositoryJob类属于org.eclipse.equinox.p2.ui包,在下文中一共展示了LoadMetadataRepositoryJob类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
@Override
protected void doExecute(LoadMetadataRepositoryJob job) {
    if (hasNoRepos) {
        MessageDialog.openInformation(null, "Update Yamcs Studio", "Could not check for updates since no repository is configured");
        return;
    }

    UpdateOperation operation = getProvisioningUI().getUpdateOperation(null, null);
    // check for updates
    operation.resolveModal(null);
    if (getProvisioningUI().getPolicy().continueWorkingWithOperation(operation, getShell())) {
        if (UpdateSingleIUWizard.validFor(operation)) {
            // Special case for only updating a single root
            UpdateSingleIUWizard wizard = new UpdateSingleIUWizard(getProvisioningUI(), operation);
            WizardDialog dialog = new WizardDialog(getShell(), wizard);
            dialog.create();
            dialog.open();
        } else {
            // Open the normal version of the update wizard
            getProvisioningUI().openUpdateWizard(false, operation, job);
        }
    }
}
 
开发者ID:yamcs,项目名称:yamcs-studio,代码行数:24,代码来源:UpdateHandler.java


示例2: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void doExecute(LoadMetadataRepositoryJob job) {
	if (hasNoRepos) {
		if (getProvisioningUI().getPolicy().getRepositoriesVisible()) {
			boolean goToSites = MessageDialog.openQuestion(getShell(), Messages.UpdateHandler_NoUpdatesTitle, Messages.UpdateHandler_NoUpdatesMessage);
			if (goToSites) {
				getProvisioningUI().manipulateRepositories(getShell());
			}
		}
		return;
	}
	// Report any missing repositories.
	job.reportAccumulatedStatus();
	if (getProvisioningUI().getPolicy().continueWorkingWithOperation(operation, getShell())) {
		getProvisioningUI().openUpdateWizard(false, operation, job);
	}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:17,代码来源:UpdateHandler.java


示例3: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void doExecute(LoadMetadataRepositoryJob job) {
	if (hasNoRepos) {
		System.out.println("no repos");
		return;
	}
	UpdateOperation operation = getProvisioningUI().getUpdateOperation(null, null);
	// check for updates
	operation.resolveModal(null);
	if (getProvisioningUI().getPolicy().continueWorkingWithOperation(operation, getShell())) {
		if (UpdateSingleIUWizard.validFor(operation)) {
			// Special case for only updating a single root
			UpdateSingleIUWizard wizard = new UpdateSingleIUWizard(getProvisioningUI(), operation);
			WizardDialog dialog = new WizardDialog(getShell(), wizard);
			dialog.create();
			dialog.open();
		} else {
			// Open the normal version of the update wizard
			getProvisioningUI().openUpdateWizard(false, operation, job);
		}
	}
}
 
开发者ID:tmfev,项目名称:IDRT-Import-and-Mapping-Tool,代码行数:22,代码来源:UpdateHandler.java


示例4: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
@Override
protected void doExecute(final LoadMetadataRepositoryJob job) {

	final ProvisioningUI provisioningUI = getProvisioningUI();
	final Policy policy = provisioningUI.getPolicy();

	if (hasNoRepos) {
		if (policy.getRepositoriesVisible()) {

			final boolean goToSites = MessageDialog.openQuestion(
					getShell(),
					ProvSDKMessages.UpdateHandler_NoSitesTitle,
					ProvSDKMessages.UpdateHandler_NoSitesMessage);

			if (goToSites) {
				provisioningUI.manipulateRepositories(getShell());
			}
		}
		return;
	}
	// Report any missing repositories.
	job.reportAccumulatedStatus();
	if (policy.continueWorkingWithOperation(operation, getShell())) {
		provisioningUI.openUpdateWizard(false, operation, job);
	}
}
 
开发者ID:wolfgang-ch,项目名称:mytourbook,代码行数:27,代码来源:UpdateHandler.java


示例5: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void doExecute(LoadMetadataRepositoryJob job) {
	if (hasNoRepos) {
		return;
	}
	UpdateOperation operation = getProvisioningUI().getUpdateOperation(null, null);
	// check for updates
	operation.resolveModal(null);
	if (getProvisioningUI().getPolicy().continueWorkingWithOperation(operation, getShell())) {
		if (UpdateSingleIUWizard.validFor(operation)) {
			// Special case for only updating a single root
			UpdateSingleIUWizard wizard = new UpdateSingleIUWizard(getProvisioningUI(), operation);
			WizardDialog dialog = new WizardDialog(getShell(), wizard);
			dialog.create();
			dialog.open();
		} else {
			// Open the normal version of the update wizard
			getProvisioningUI().openUpdateWizard(false, operation, job);
		}
	}
}
 
开发者ID:winture,项目名称:wt-studio,代码行数:21,代码来源:UpdateHandler.java


示例6: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void doExecute(LoadMetadataRepositoryJob job){
	if (hasNoRepos) {
		return;
	}
	UpdateOperation operation = getProvisioningUI().getUpdateOperation(null, null);
	// check for updates
	operation.resolveModal(null);
	if (getProvisioningUI().getPolicy().continueWorkingWithOperation(operation, getShell())) {
		if (UpdateSingleIUWizard.validFor(operation)) {
			// Special case for only updating a single root
			UpdateSingleIUWizard wizard =
				new UpdateSingleIUWizard(getProvisioningUI(), operation);
			WizardDialog dialog = new WizardDialog(getShell(), wizard);
			dialog.create();
			dialog.open();
		} else {
			// Open the normal version of the update wizard
			getProvisioningUI().openUpdateWizard(false, operation, job);
		}
	}
}
 
开发者ID:elexis,项目名称:elexis-3-core,代码行数:22,代码来源:UpdateHandler.java


示例7: doExecuteAndLoad

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
void doExecuteAndLoad() {
    if (preloadRepositories()) {
        //cancel any load that is already running
        Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
        final LoadMetadataRepositoryJob loadJob = new LoadMetadataRepositoryJob(getProvisioningUI());
        setLoadJobProperties(loadJob);
        if (waitForPreload()) {
            loadJob.addJobChangeListener(new JobChangeAdapter() {
                public void done(IJobChangeEvent event) {
                    if (PlatformUI.isWorkbenchRunning())
                        if (event.getResult().isOK()) {
                            PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
                                public void run() {
                                    doExecute(loadJob);
                                }
                            });
                        }
                }
            });
            loadJob.setUser(true);
            loadJob.schedule();

        } else {
            loadJob.setSystem(true);
            loadJob.setUser(false);
            loadJob.schedule();
            doExecute(null);
        }
    } else {
        doExecute(null);
    }
}
 
开发者ID:yamcs,项目名称:yamcs-studio,代码行数:33,代码来源:PreloadingRepositoryHandler.java


示例8: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
@Override
protected void doExecute(LoadMetadataRepositoryJob job) {
  try {
    // Save the global settings that we will modify
    saveSettings();

    // Modify those settings
    prepareWizardSettings();

    // Boilerplate for opening the wizard
    InstallWizard wizard = new InstallWizard(getProvisioningUI(), null,
        null, job);
    WizardDialog dialog = new ProvisioningWizardDialog(getShell(), wizard);
    dialog.create();
    PlatformUI.getWorkbench().getHelpSystem().setHelp(dialog.getShell(),
        IProvHelpContextIds.INSTALL_WIZARD);

    prepareWizard(wizard);

    // Open it
    dialog.open();

  } catch (Exception e) {
    throw new RuntimeException(e);

  } finally {
    // Restore the settings which we touched
    restoreSettings();
  }
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:31,代码来源:UpdateDetailsPresenter.java


示例9: setLoadJobProperties

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void setLoadJobProperties(Job loadJob) {
	super.setLoadJobProperties(loadJob);
	// If we are doing a background load, we do not wish to authenticate, as the
	// user is unaware that loading was needed
	if (!waitForPreload()) {
		loadJob.setProperty(LoadMetadataRepositoryJob.SUPPRESS_AUTHENTICATION_JOB_MARKER, Boolean.toString(true));
		loadJob.setProperty(LoadMetadataRepositoryJob.SUPPRESS_REPOSITORY_EVENTS, Boolean.toString(true));
	}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:10,代码来源:InstallNewSoftwareHandler.java


示例10: doExecuteAndLoad

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
void doExecuteAndLoad() {
	if (preloadRepositories()) {
		
		//cancel any load that is already running
		Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
		final LoadMetadataRepositoryJob loadJob = new LoadMetadataRepositoryJob(getProvisioningUI());
		setLoadJobProperties(loadJob);
		if (waitForPreload()) {
			loadJob.addJobChangeListener(new JobChangeAdapter() {
				public void done(IJobChangeEvent event) {
					if (PlatformUI.isWorkbenchRunning())
						if (event.getResult().isOK()) {
							PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
								public void run() {
									doExecute(loadJob);
								}
							});
						}
				}
			});
			loadJob.setUser(true);
			loadJob.schedule();

		} else {
			loadJob.setSystem(true);
			loadJob.setUser(false);
			loadJob.schedule();
			doExecute(null);
		}
	} else {
		doExecute(null);
	}
}
 
开发者ID:tmfev,项目名称:IDRT-Import-and-Mapping-Tool,代码行数:34,代码来源:PreloadingRepositoryHandler.java


示例11: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
@Override
protected void doExecute(LoadMetadataRepositoryJob job) {
	// TODO Auto-generated method stub		
	if (hasNoRepos) {
		P2UpdateUtil.openConnectErrorInfoDialog(getShell(), P2UpdateUtil.INFO_TYPE_CHECK);
		return;
	}
	
	if (getProvisioningUI().getPolicy().continueWorkingWithOperation(operation, getShell())) {
		UpdateWizard wizard = new UpdateWizard(getProvisioningUI(), operation, operation.getSelectedUpdates());
		TSWizardDialog dialog = new TSWizardDialog(getShell(), wizard);
		dialog.create();
		dialog.open();
	}
}
 
开发者ID:heartsome,项目名称:translationstudio8,代码行数:16,代码来源:CheckUpdateHandler.java


示例12: doExecuteAndLoad

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
void doExecuteAndLoad() {
	if (preloadRepositories()) {
		//cancel any load that is already running
		Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
		final LoadMetadataRepositoryJob loadJob = new LoadMetadataRepositoryJob(getProvisioningUI());
		setLoadJobProperties(loadJob);
		if (waitForPreload()) {
			loadJob.addJobChangeListener(new JobChangeAdapter() {
				public void done(IJobChangeEvent event) {
					if (PlatformUI.isWorkbenchRunning())
						if (event.getResult().isOK()) {
							PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
								public void run() {
									doExecute(loadJob);
								}
							});
						}
				}
			});
			loadJob.setUser(true);
			loadJob.schedule();

		} else {
			loadJob.setSystem(true);
			loadJob.setUser(false);
			loadJob.schedule();
			doExecute(null);
		}
	} else {
		doExecute(null);
	}
}
 
开发者ID:winture,项目名称:wt-studio,代码行数:33,代码来源:PreloadingRepositoryHandler.java


示例13: setLoadJobProperties

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void setLoadJobProperties(Job loadJob){
	super.setLoadJobProperties(loadJob);
	// If we are doing a background load, we do not wish to authenticate, as the
	// user is unaware that loading was needed
	if (!waitForPreload()) {
		loadJob.setProperty(LoadMetadataRepositoryJob.SUPPRESS_AUTHENTICATION_JOB_MARKER,
			Boolean.toString(true));
		loadJob.setProperty(LoadMetadataRepositoryJob.SUPPRESS_REPOSITORY_EVENTS,
			Boolean.toString(true));
	}
}
 
开发者ID:elexis,项目名称:elexis-3-core,代码行数:12,代码来源:InstallNewSoftwareHandler.java


示例14: doExecuteAndLoad

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
void doExecuteAndLoad(){
	if (preloadRepositories()) {
		// cancel any load that is already running
		Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
		final LoadMetadataRepositoryJob loadJob =
			new LoadMetadataRepositoryJob(getProvisioningUI());
		setLoadJobProperties(loadJob);
		if (waitForPreload()) {
			loadJob.addJobChangeListener(new JobChangeAdapter() {
				public void done(IJobChangeEvent event){
					if (PlatformUI.isWorkbenchRunning())
						if (event.getResult().isOK()) {
							PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
								public void run(){
									doExecute(loadJob);
								}
							});
						}
				}
			});
			loadJob.setUser(true);
			loadJob.schedule();
			
		} else {
			loadJob.setSystem(true);
			loadJob.setUser(false);
			loadJob.schedule();
			doExecute(null);
		}
	} else {
		doExecute(null);
	}
}
 
开发者ID:elexis,项目名称:elexis-3-core,代码行数:34,代码来源:PreloadingRepositoryHandler.java


示例15: setLoadJobProperties

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void setLoadJobProperties(Job loadJob) {
    loadJob.setProperty(LoadMetadataRepositoryJob.ACCUMULATE_LOAD_ERRORS, Boolean.toString(true));
}
 
开发者ID:yamcs,项目名称:yamcs-studio,代码行数:4,代码来源:PreloadingRepositoryHandler.java


示例16: doExecute

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void doExecute(LoadMetadataRepositoryJob job) {
	getProvisioningUI().openInstallWizard(null, null, job);
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:4,代码来源:InstallNewSoftwareHandler.java


示例17: doExecuteAndLoad

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
void doExecuteAndLoad() {
	if (preloadRepositories()) {
		//cancel any load that is already running
		Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
		final LoadMetadataRepositoryJob loadJob = new LoadMetadataRepositoryJob(getProvisioningUI()) {

			public IStatus runModal(IProgressMonitor monitor) {
				SubMonitor sub = SubMonitor.convert(monitor, getProgressTaskName(), 1000);
				IStatus status = super.runModal(sub.newChild(500));
				if (status.getSeverity() == IStatus.CANCEL)
					return status;
				try {
					doPostLoadBackgroundWork(sub.newChild(500));
				} catch (OperationCanceledException e) {
					return Status.CANCEL_STATUS;
				}
				if (shouldAccumulateFailures()) {
					// If we are accumulating failures, don't return a combined status here. By returning OK, 
					// we are indicating that the operation should continue with the repositories that
					// did load.
					return Status.OK_STATUS;
				}
				return status;
			}
		};
		setLoadJobProperties(loadJob);
		if (waitForPreload()) {
			loadJob.addJobChangeListener(new JobChangeAdapter() {
				public void done(IJobChangeEvent event) {
					if (PlatformUI.isWorkbenchRunning())
						if (event.getResult().isOK()) {
							PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
								public void run() {
									doExecute(loadJob);
								}
							});
						}
				}
			});
			loadJob.setUser(true);
			loadJob.schedule();

		} else {
			loadJob.setSystem(true);
			loadJob.setUser(false);
			loadJob.schedule();
			doExecute(null);
		}
	} else {
		doExecute(null);
	}
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:53,代码来源:PreloadingRepositoryHandler.java


示例18: setLoadJobProperties

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
protected void setLoadJobProperties(Job loadJob) {
	loadJob.setProperty(LoadMetadataRepositoryJob.ACCUMULATE_LOAD_ERRORS, Boolean.toString(true));
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:4,代码来源:PreloadingRepositoryHandler.java


示例19: doExecuteAndLoad

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
void doExecuteAndLoad() {
	if (preloadRepositories()) {
		// cancel any load that is already running
		final IStatus[] checkStatus = new IStatus[1];
		Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
		final LoadMetadataRepositoryJob loadJob = new LoadMetadataRepositoryJob(getProvisioningUI()) {
			public IStatus runModal(IProgressMonitor monitor) {
				SubMonitor sub = SubMonitor.convert(monitor, getProgressTaskName(), 1000);
				IStatus status = super.runModal(sub.newChild(500));
				if (status.getSeverity() == IStatus.CANCEL)
					return status;
				if (status.getSeverity() != IStatus.OK) {
					// 记录检查错误
					checkStatus[0] = status;
					return Status.OK_STATUS;
				}
				try {
					doPostLoadBackgroundWork(sub.newChild(500));
				} catch (OperationCanceledException e) {
					return Status.CANCEL_STATUS;
				}
				return status;
			}
		};
		setLoadJobProperties(loadJob);
		loadJob.setName(P2UpdateUtil.CHECK_UPDATE_JOB_NAME);
		if (waitForPreload()) {
			loadJob.addJobChangeListener(new JobChangeAdapter() {
				public void done(IJobChangeEvent event) {
					if (PlatformUI.isWorkbenchRunning())
						if (event.getResult().isOK()) {
							PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
								public void run() {
									if (checkStatus[0] != null) {
										// 提示连接异常
										P2UpdateUtil.openConnectErrorInfoDialog(getShell(),
												P2UpdateUtil.INFO_TYPE_CHECK);
										return;
									}
									doExecute(loadJob);
								}
							});
						}
				}
			});
			loadJob.setUser(true);
			loadJob.schedule();

		} else {
			loadJob.setSystem(true);
			loadJob.setUser(false);
			loadJob.schedule();
			doExecute(null);
		}
	} else {
		doExecute(null);
	}
}
 
开发者ID:heartsome,项目名称:translationstudio8,代码行数:59,代码来源:PreloadingRepositoryHandler.java


示例20: checkForUpdates

import org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob; //导入依赖的package包/类
public void checkForUpdates() throws OperationCanceledException {
	// 检查 propfile
	String profileId = getProvisioningUI().getProfileId();
	IProvisioningAgent agent = getProvisioningUI().getSession().getProvisioningAgent();
	IProfile profile = null;
	if (agent != null) {
		IProfileRegistry registry = (IProfileRegistry) agent.getService(IProfileRegistry.SERVICE_NAME);
		if (registry != null) {
			profile = registry.getProfile(profileId);
		}
	}
	if (profile == null) {
		// Inform the user nicely
		P2UpdateUtil.openConnectErrorInfoDialog(getShell(), P2UpdateUtil.INFO_TYPE_AUTO_CHECK);
		return;
	}

	// 开始检查前先确定是否有repository
	RepositoryTracker repoMan = getProvisioningUI().getRepositoryTracker();
	if (repoMan.getKnownRepositories(getProvisioningUI().getSession()).length == 0) {
		P2UpdateUtil.openConnectErrorInfoDialog(getShell(), P2UpdateUtil.INFO_TYPE_AUTO_CHECK);
		return;
	}

	final IStatus[] checkStatus = new IStatus[1];
	Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
	final LoadMetadataRepositoryJob loadJob = new LoadMetadataRepositoryJob(getProvisioningUI()) {
		public IStatus runModal(IProgressMonitor monitor) {
			SubMonitor sub = SubMonitor.convert(monitor, P2UpdateUtil.CHECK_UPDATE_TASK_NAME, 1000);
			// load repository
			IStatus status = super.runModal(sub.newChild(500));
			if (status.getSeverity() == IStatus.CANCEL) {
				return status;
			}
			if (status.getSeverity() != Status.OK) {
				// load repository error
				checkStatus[0] = status;
			}
			operation = getProvisioningUI().getUpdateOperation(null, null);
			// check for updates
			IStatus resolveStatus = operation.resolveModal(sub.newChild(500));
			if (resolveStatus.getSeverity() == IStatus.CANCEL) {
				return Status.CANCEL_STATUS;
			}
			return Status.OK_STATUS;
		}
	};
	loadJob.setName(P2UpdateUtil.ATUO_CHECK_UPDATE_JOB_NAME);
	loadJob.setProperty(LoadMetadataRepositoryJob.ACCUMULATE_LOAD_ERRORS, Boolean.toString(true));
	loadJob.addJobChangeListener(new JobChangeAdapter() {
		public void done(IJobChangeEvent event) {
			if (PlatformUI.isWorkbenchRunning())
				if (event.getResult().isOK()) {
					PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
						public void run() {
							if (checkStatus[0] != null) {
								// 提示连接异常
								P2UpdateUtil.openConnectErrorInfoDialog(getShell(),
										P2UpdateUtil.INFO_TYPE_AUTO_CHECK);
								return;
							}
							doUpdate();
						}
					});
				}
		}
	});
	loadJob.setUser(true);
	loadJob.schedule();
}
 
开发者ID:heartsome,项目名称:translationstudio8,代码行数:71,代码来源:AutomaticUpdate.java



注:本文中的org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Dest类代码示例发布时间:2022-05-22
下一篇:
Java DirResourceSet类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap