Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help/src/org/eclipse/help/internal/toc/TocFile.java')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/toc/TocFile.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFile.java b/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFile.java
index 19178da15..82a1a19ec 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFile.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFile.java
@@ -23,6 +23,7 @@ public class TocFile {
protected boolean primary;
protected String locale;
protected String extraDir;
+ protected String categoryId;
// used for fast access to anchors
protected Map anchors;
@@ -31,12 +32,13 @@ public class TocFile {
* Toc File Constructor
*/
public TocFile(String plugin, String href, boolean primary,
- String locale, String extraDir) {
+ String locale, String extraDir, String categoryId) {
this.plugin = plugin;
this.href = href;
this.primary = primary;
this.locale = locale;
this.extraDir = extraDir;
+ this.categoryId = categoryId;
}
/**
@@ -142,4 +144,12 @@ public class TocFile {
public String getLocale() {
return locale;
}
+ /**
+ * Gets the category id.
+ *
+ * @return Returns a String
+ */
+ public String getCategoryId() {
+ return categoryId;
+ }
}

Back to the top