Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2016-04-12 05:45:04 +0000
committerSergey Prigogin2016-04-12 17:14:59 +0000
commit50893f1e3d4290baebb209619a34d1ed2387edf8 (patch)
tree878554b71036bcc55f94ed7c1ff0241cef1ef62e /bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java
parent132925c986c76f54c95685d5fa19b26a3a8d7b10 (diff)
downloadeclipse.platform.team-50893f1e3d4290baebb209619a34d1ed2387edf8.tar.gz
eclipse.platform.team-50893f1e3d4290baebb209619a34d1ed2387edf8.tar.xz
eclipse.platform.team-50893f1e3d4290baebb209619a34d1ed2387edf8.zip
Bug 491484 - Add @Override to org.eclipse.team.ui
Change-Id: I1d158ffc0d865a25cdca12c5595d36edab7ac557 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java
index a44fde1f5..509fd2b11 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/patch/ApplyPatchSynchronizationWizard.java
@@ -43,6 +43,7 @@ public class ApplyPatchSynchronizationWizard extends PatchWizard implements
setNeedsProgressMonitor(true);
}
+ @Override
public boolean performFinish() {
if (fPatchInaccessibleProjectsPage != null) {
IProject[] projects = fPatchInaccessibleProjectsPage
@@ -81,15 +82,18 @@ public class ApplyPatchSynchronizationWizard extends PatchWizard implements
return true;
}
+ @Override
public void init(IWorkbench workbench, IProject project) {
// nothing to do here
}
+ @Override
public void addPages() {
if (getPatch() == null)
addPage(fPatchWizardPage = new InputPatchPage(this));
if (getPatch() == null || !getPatcher().isWorkspacePatch())
addPage(fPatchTargetPage = new PatchTargetPage(getPatcher()) {
+ @Override
public IWizardPage getNextPage() {
IWizardPage nextPage = super.getNextPage();
if (!isTargetingInaccessibleProjects() && nextPage != this)
@@ -123,6 +127,7 @@ public class ApplyPatchSynchronizationWizard extends PatchWizard implements
return false;
}
+ @Override
public boolean canFinish() {
IWizardPage currentPage = getContainer().getCurrentPage();
if (currentPage.getName().equals(
@@ -136,6 +141,7 @@ public class ApplyPatchSynchronizationWizard extends PatchWizard implements
return super.canFinish();
}
+ @Override
public WorkspacePatcher getPatcher() {
// make the patcher available to other classes in the package
return super.getPatcher();
@@ -144,6 +150,7 @@ public class ApplyPatchSynchronizationWizard extends PatchWizard implements
private void openSelectedProjects(final IProject projects[]) {
Job openProjectsJob = new Job(
TeamUIMessages.PatchInaccessibleProjectsPage_openingProjects) {
+ @Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(
TeamUIMessages.PatchInaccessibleProjectsPage_openingProjects,

Back to the top