Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-07-21 02:34:29 -0400
committerMilos Kleint2011-07-21 02:34:29 -0400
commitc1012f37d83403f4c147e489f383ddc6166fd39f (patch)
treece242a44960f6cb95e3128866ae72baee672ce93
parent18db6609fe6fc47e98769ace65e8b10bd7365ac3 (diff)
downloadm2e-core-c1012f37d83403f4c147e489f383ddc6166fd39f.tar.gz
m2e-core-c1012f37d83403f4c147e489f383ddc6166fd39f.tar.xz
m2e-core-c1012f37d83403f4c147e489f383ddc6166fd39f.zip
352604 keep backward compatible just in case
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
index 1e554620..324f3bdb 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
@@ -861,9 +861,23 @@ public class MavenPomEditor extends FormEditor implements IResourceChangeListene
return sourcePage.isDirty();
}
+ /**
+ * returns only the pages that implement MavenPomEditorPage
+ * will not return the effective pom and xml editor page for example..
+ * @return
+ */
public List<MavenPomEditorPage> getMavenPomEditorPages() {
return mavenpomEditorPages;
}
+
+ /**
+ * use the <code>getMavenPomEditorPages()</code> method instead
+ * @return
+ */
+ @Deprecated
+ public List<MavenPomEditorPage> getPages() {
+ return getMavenPomEditorPages();
+ }
public void showDependencyHierarchy(ArtifactKey artifactKey) {
setActivePage(dependencyTreePage.getId());

Back to the top