| java.lang.Object org.eclipse.ui.examples.readmetool.ReadmeModelFactory
addSections | protected void addSections(AdaptableList list, MarkElement element)(Code) | | Adds all mark elements to the list for the subtree rooted
at the given mark element.
|
getContentOutline | public AdaptableList getContentOutline(IAdaptable adaptable)(Code) | | Returns the content outline for the given Readme file.
Parameters: adaptable - the element for which to return the content outline the content outline for the argument |
getSections | public AdaptableList getSections(IFile file)(Code) | | Returns a list of all sections in this readme file.
Parameters: file - the file for which to return section heading and subheadings A list containing headings and subheadings |
getSections | public AdaptableList getSections(ISelection sel)(Code) | | Convenience method. Looks for a readme file in the selection,
and if one is found, returns the sections for it. Returns null
if there is no readme file in the selection.
|
|
|