|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.contribution.visualiser.simpleImpl.SimpleMarkupProvider
org.eclipse.contribution.visualiser.simpleImpl.FileMarkupProvider
Example implementation of a markup provider. It allows the superclass 'SimpleMarkupProvider' to handle much of the grunt work, this subclass is purely responsible for retrieving markup data from a file in a specified format. The three key elements of this class are: 1) initialise() is called by the org.eclipse.contribution.visualiser to get a markup provider ready 2) the provider adds stripes to the SimpleMarkupProvider using the method addMarkup(full_membername, stripe) 3) after adding all the markups, it calls processMarkups on the superclass, processMarkups analyses all the places where stripes overlap
Constructor Summary | |
FileMarkupProvider()
|
Method Summary | |
void |
initialise()
Initialise the provider - loads markup information from a file |
void |
loadMarkups(java.io.InputStream in)
Load the markup information from given input stream |
Methods inherited from class org.eclipse.contribution.visualiser.simpleImpl.SimpleMarkupProvider |
activate, addMarkup, addMarkupKind, deactivate, getAllMarkupKinds, getColorFor, getGroupMarkups, getMemberMarkups, getNextColourFor, processMarkups, processMouseclick, resetColours, resetMarkupsAndKinds, setColorFor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileMarkupProvider()
Method Detail |
public void initialise()
initialise
in interface IMarkupProvider
initialise
in class SimpleMarkupProvider
public void loadMarkups(java.io.InputStream in)
in
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |