| org.eclipse.pde.internal.core.text.toc.TocObject org.eclipse.pde.internal.core.text.toc.TocLink
TocLink | public class TocLink extends TocObject (Code) | | The TocLink object represents a link to another TOC.
Links in TOCs are much like import or include directives, in the
sense that they bring all the contents of the linked TOC into the
TOC that has this link.
TOC links cannot have any content within them, so they are leaf objects.
|
Constructor Summary | |
public | TocLink(TocModel model) Constructs a link with the given model and parent. | public | TocLink(TocModel model, IFile file) Constructs a link with the given model, parent and file. |
TocLink | public TocLink(TocModel model)(Code) | | Constructs a link with the given model and parent.
Parameters: model - The model associated with the new link. Parameters: parent - The parent TocObject of the new link. |
TocLink | public TocLink(TocModel model, IFile file)(Code) | | Constructs a link with the given model, parent and file.
Parameters: model - The model associated with the new link. Parameters: parent - The parent TocObject of the new link. Parameters: file - The TOC file to link to. |
canBeParent | public boolean canBeParent()(Code) | | |
getFieldTocPath | public String getFieldTocPath()(Code) | | the path associated with this TOC link |
getType | public int getType()(Code) | | |
setFieldTocPath | public void setFieldTocPath(String path)(Code) | | Change the value of the link path and
signal a model change if needed.
Parameters: id - The new path to associate with the link |
|
|