org.eclipse.equinox.p2.ui.ProvisioningUI Java Examples
The following examples show how to use
org.eclipse.equinox.p2.ui.ProvisioningUI.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UpdateDescriptionPage.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
/** * root 参数未使用 * @param operation * @param root * @param ui */ protected UpdateDescriptionPage(UpdateOperation operation, IUElementListRoot root, ProvisioningUI ui) { super("MyUpdsateDescriptionPage"); setTitle(P2UpdateUtil.UI_WIZARD_DESC_PAGE_TITLE); setDescription(P2UpdateUtil.UI_WIZARD_DESC_PAGE_DESC); this.ui = ui; this.root = root; this.operation = operation; }
Example #2
Source File: UpdateWizardPage.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
protected UpdateWizardPage(UpdateOperation operation,IUElementListRoot root, ProvisioningUI ui) { super("MyUpdasteWizardPage1", ui, null); this.ui = ui; this.operation = operation; this.input = root; setTitle(P2UpdateUtil.UI_WIZARD_PAGE_TITLE); setDescription(P2UpdateUtil.UI_WIZARD_PAGE_DESC); }
Example #3
Source File: UpdateWizard.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
public UpdateWizard(ProvisioningUI ui, UpdateOperation operation, Object[] initialSelections) { Assert.isLegal(operation.hasResolved(), "Cannot create an update wizard on an unresolved operation"); //$NON-NLS-1$ setWindowTitle(P2UpdateUtil.UI_WIZARD_DIALOG_TITLE); // setDefaultPageImageDescriptor(ProvUIImages.getImageDescriptor(ProvUIImages.WIZARD_BANNER_UPDATE)); this.operation = operation; // this.initialSelections = (Update[]) initialSelections; this.ui = ui; // initializeResolutionModelElements(initialSelections); setNeedsProgressMonitor(true); }
Example #4
Source File: UpdateDescriptionPage.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
/** * root 参数未使用 * @param operation * @param root * @param ui */ protected UpdateDescriptionPage(UpdateOperation operation, IUElementListRoot root, ProvisioningUI ui) { super("MyUpdsateDescriptionPage"); setTitle(P2UpdateUtil.UI_WIZARD_DESC_PAGE_TITLE); setDescription(P2UpdateUtil.UI_WIZARD_DESC_PAGE_DESC); this.ui = ui; this.root = root; this.operation = operation; }
Example #5
Source File: UpdateWizardPage.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
protected UpdateWizardPage(UpdateOperation operation,IUElementListRoot root, ProvisioningUI ui) { super("MyUpdasteWizardPage1", ui, null); this.ui = ui; this.operation = operation; this.input = root; setTitle(P2UpdateUtil.UI_WIZARD_PAGE_TITLE); setDescription(P2UpdateUtil.UI_WIZARD_PAGE_DESC); }
Example #6
Source File: UpdateWizard.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
public UpdateWizard(ProvisioningUI ui, UpdateOperation operation, Object[] initialSelections) { Assert.isLegal(operation.hasResolved(), "Cannot create an update wizard on an unresolved operation"); //$NON-NLS-1$ setWindowTitle(P2UpdateUtil.UI_WIZARD_DIALOG_TITLE); // setDefaultPageImageDescriptor(ProvUIImages.getImageDescriptor(ProvUIImages.WIZARD_BANNER_UPDATE)); this.operation = operation; // this.initialSelections = (Update[]) initialSelections; this.ui = ui; // initializeResolutionModelElements(initialSelections); setNeedsProgressMonitor(true); }
Example #7
Source File: AutomaticUpdatesPreferencePage.java From tlaplus with MIT License | 4 votes |
public void init(IWorkbench workbench) { final ProvisioningUI ui = ProvUIActivator.getDefault().getProvisioningUI(); uri = URI.create("http://lamport.org/tlatoolbox/ci/toolboxUpdate/"); artifactRepositoryManager = ProvUI.getArtifactRepositoryManager(ui.getSession()); metadataRepositoryManager = ProvUI.getMetadataRepositoryManager(ui.getSession()); }
Example #8
Source File: InstallWizardOpener.java From statecharts with Eclipse Public License 1.0 | 4 votes |
protected void open(Set<IInstallableUnit> units, InstallOperation op) { Display.getDefault().asyncExec(() -> { ProvisioningUI.getDefaultUI().openInstallWizard(units, op, null); }); }
Example #9
Source File: PreloadingRepositoryHandler.java From translationstudio8 with GNU General Public License v2.0 | 4 votes |
protected ProvisioningUI getProvisioningUI() { return ProvisioningUI.getDefaultUI(); }
Example #10
Source File: AutomaticUpdate.java From translationstudio8 with GNU General Public License v2.0 | 4 votes |
protected ProvisioningUI getProvisioningUI() { return ProvisioningUI.getDefaultUI(); }
Example #11
Source File: PreloadingRepositoryHandler.java From tmxeditor8 with GNU General Public License v2.0 | 4 votes |
protected ProvisioningUI getProvisioningUI() { return ProvisioningUI.getDefaultUI(); }
Example #12
Source File: AutomaticUpdate.java From tmxeditor8 with GNU General Public License v2.0 | 4 votes |
protected ProvisioningUI getProvisioningUI() { return ProvisioningUI.getDefaultUI(); }
Example #13
Source File: PreloadingRepositoryHandler.java From elexis-3-core with Eclipse Public License 1.0 | 4 votes |
protected ProvisioningUI getProvisioningUI(){ return ProvisioningUI.getDefaultUI(); }