|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.contribution.visualiser.jdtimpl.JDTMarkupProvider
The JDT Markup Provider
| Constructor Summary | |
JDTMarkupProvider()
|
|
| Method Summary | |
void |
activate()
Activate the provider |
boolean |
changeMode()
Markup providers can choose to have multiple stripe modes. |
void |
deactivate()
Deactivate the provider |
java.util.SortedSet |
getAllMarkupKinds()
Return a list of all possible 'kinds' covered by all the stripes in the visualisation. |
org.eclipse.swt.graphics.Color |
getColorFor(IMarkupKind kind)
Ask for a color for a given kind - if one is not currently allocated, it will be selected from those available. |
java.util.List |
getGroupMarkups(IGroup group)
Return a list of all stripes in effect on all members of the group. |
java.util.List |
getMemberMarkups(IMember member)
Return a list of all stripes in effect on this member. |
boolean |
hasMultipleModes()
If markup provider has multiple modes the visualiser enables its switch mode icon, otherwise it disables it. |
void |
initialise()
Called when the visualiser initializes and discovers a markup provider implementation. |
boolean |
processMouseclick(IMember member,
Stripe stripe,
int buttonClicked)
Called when the user clicks on a stripe on a member in the visualiser - the information passed is - The full name of the member, e.g. |
void |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
|
void |
setColorFor(IMarkupKind kind,
org.eclipse.swt.graphics.Color color)
When the color picker is used in the visualiser menu to change the color for a particular kind, this call ensures the logic responsible for color management is told. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDTMarkupProvider()
| Method Detail |
public void initialise()
IMarkupProvider
initialise in interface IMarkupProviderpublic void activate()
activate in interface IMarkupProviderpublic void deactivate()
deactivate in interface IMarkupProviderpublic java.util.List getMemberMarkups(IMember member)
IMarkupProvider
getMemberMarkups in interface IMarkupProviderpublic java.util.List getGroupMarkups(IGroup group)
IMarkupProvider
getGroupMarkups in interface IMarkupProviderpublic java.util.SortedSet getAllMarkupKinds()
IMarkupProvider
getAllMarkupKinds in interface IMarkupProviderpublic boolean changeMode()
IMarkupProvider
changeMode in interface IMarkupProvider
public void setColorFor(IMarkupKind kind,
org.eclipse.swt.graphics.Color color)
IMarkupProvider
setColorFor in interface IMarkupProviderpublic org.eclipse.swt.graphics.Color getColorFor(IMarkupKind kind)
IMarkupProvider
getColorFor in interface IMarkupProvider
public boolean processMouseclick(IMember member,
Stripe stripe,
int buttonClicked)
IMarkupProvider
processMouseclick in interface IMarkupProviderpublic void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
resourceChanged in interface org.eclipse.core.resources.IResourceChangeListenerpublic boolean hasMultipleModes()
IMarkupProvider
hasMultipleModes in interface IMarkupProvider
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||