1 11 package org.eclipse.help.internal.toc; 12 13 import org.eclipse.help.IToc; 14 import org.eclipse.help.ITocContribution; 15 16 public class TocContribution implements ITocContribution { 17 18 private String categoryId; 19 private String contributorId; 20 private String [] extraDocuments; 21 private String id; 22 private String locale; 23 private Toc toc; 24 private boolean isPrimary; 25 26 public String getCategoryId() { 27 return categoryId; 28 } 29 30 public void setCategoryId(String categoryId) { 31 this.categoryId = categoryId; 32 } 33 34 public String getContributorId() { 35 return contributorId; 36 } 37 38 public void setContributorId(String contributorId) { 39 this.contributorId = contributorId; 40 } 41 42 public String [] getExtraDocuments() { 43 return extraDocuments; 44 } 45 46 public void setExtraDocuments(String [] extraDocuments) { 47 this.extraDocuments = extraDocuments; 48 } 49 50 public String getId() { 51 return id; 52 } 53 54 public void setId(String id) { 55 this.id = id; 56 } 57 58 public String getLocale() { 59 return locale; 60 } 61 62 public void setLocale(String locale) { 63 this.locale = locale; 64 } 65 66 public String getLinkTo() { 67 return toc.getLinkTo(); 68 } 69 70 public void setLinkTo(String linkTo) { 71 toc.setLinkTo(linkTo); 72 } 73 74 public IToc getToc() { 75 return toc; 76 } 77 78 public void setToc(Toc toc) { 79 this.toc = toc; 80 toc.setTocContribution(this); 81 } 82 83 public boolean isPrimary() { 84 return isPrimary; 85 } 86 87 public void setPrimary(boolean isPrimary) { 88 this.isPrimary = isPrimary; 89 } 90 } 91 | Popular Tags |