summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-07-03 12:20:03 (EDT)
committerCurtis Windatt2013-07-03 12:20:03 (EDT)
commitbd4b2eafe3cbc582774106d0d8cd5d4804bdb0a9 (patch)
tree924be95ce8bac203707c21124ddc390e5ed2ecdd
parent90ea90ab579a6b2be7a35187cbf2ead52d0e0481 (diff)
downloadeclipse.pde.ui-bd4b2eafe3cbc582774106d0d8cd5d4804bdb0a9.zip
eclipse.pde.ui-bd4b2eafe3cbc582774106d0d8cd5d4804bdb0a9.tar.gz
eclipse.pde.ui-bd4b2eafe3cbc582774106d0d8cd5d4804bdb0a9.tar.bz2
Bug 411926 - Can't change API baseline locationI20130709-0800
-rw-r--r--apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/wizards/ApiBaselineWizardPage.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/wizards/ApiBaselineWizardPage.java b/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/wizards/ApiBaselineWizardPage.java
index d7f5c07..1771fc1 100644
--- a/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/wizards/ApiBaselineWizardPage.java
+++ b/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/wizards/ApiBaselineWizardPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 IBM Corporation and others.
+ * Copyright (c) 2007, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -491,6 +491,10 @@ public class ApiBaselineWizardPage extends WizardPage {
setErrorMessage(status.getMessage());
return false;
}
+ if (!fProfile.getLocation().equals(locationcombo.getText())){
+ setErrorMessage(WizardMessages.ApiProfileWizardPage_location_needs_reset);
+ return false;
+ }
}
else {
setErrorMessage(WizardMessages.ApiProfileWizardPage_location_needs_reset);