org.eclipse.contribution.visualiser.interfaces.simpleImpl
Class NullMarkupProvider

java.lang.Object
  extended byorg.eclipse.contribution.visualiser.interfaces.simpleImpl.NullMarkupProvider
All Implemented Interfaces:
IMarkupProvider

public class NullMarkupProvider
extends java.lang.Object
implements IMarkupProvider

The null marker provider, just returns nulls for all questions it gets asked.


Constructor Summary
NullMarkupProvider()
           
 
Method Summary
 boolean changeMode()
          Change the mode - returns false (mode has not been changed)
 java.util.SortedSet getAllMarkupKinds()
          Get the set of all markup kinds - returns null
 Color getColorFor(java.lang.String string)
          Get the colour for the given String - returns null
 java.util.List getGroupMarkups(IGroup group)
          Get the markups for the given group - returns null
 java.util.List getMemberMarkups(IMember member)
          Get the markups for the given member - returns null
 boolean hasMultipleModes()
          Ask if the provider has multiple modes - returns false
 void initialise()
          Initialise the provider - does nothing
 boolean processMouseclick(IMember member, Stripe stripe, java.lang.String exactKind, int buttonClicked)
          Processs a mouse click on a stripe.
 void setColorFor(java.lang.String string, Color color)
          Set the colour for the given String - does nothing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullMarkupProvider

public NullMarkupProvider()
Method Detail

getMemberMarkups

public java.util.List getMemberMarkups(IMember member)
Get the markups for the given member - returns null

Specified by:
getMemberMarkups in interface IMarkupProvider

getGroupMarkups

public java.util.List getGroupMarkups(IGroup group)
Get the markups for the given group - returns null

Specified by:
getGroupMarkups in interface IMarkupProvider

getColorFor

public Color getColorFor(java.lang.String string)
Get the colour for the given String - returns null

Specified by:
getColorFor in interface IMarkupProvider

getAllMarkupKinds

public java.util.SortedSet getAllMarkupKinds()
Get the set of all markup kinds - returns null

Specified by:
getAllMarkupKinds in interface IMarkupProvider

initialise

public void initialise()
Initialise the provider - does nothing

Specified by:
initialise in interface IMarkupProvider

setColorFor

public void setColorFor(java.lang.String string,
                        Color color)
Set the colour for the given String - does nothing

Specified by:
setColorFor in interface IMarkupProvider

changeMode

public boolean changeMode()
Change the mode - returns false (mode has not been changed)

Specified by:
changeMode in interface IMarkupProvider
Returns:
true iff the provider requires the visualiser to update,

hasMultipleModes

public boolean hasMultipleModes()
Ask if the provider has multiple modes - returns false

Specified by:
hasMultipleModes in interface IMarkupProvider
Returns:
true if this markup provider has multiple modes

processMouseclick

public boolean processMouseclick(IMember member,
                                 Stripe stripe,
                                 java.lang.String exactKind,
                                 int buttonClicked)
Processs a mouse click on a stripe. Does nothing. Returns true - default behavior should be performed.

Specified by:
processMouseclick in interface IMarkupProvider
See Also:
org.eclipse.contribution.visualiser.interfaces.IMarkupProvider#processMouseclick(java.lang.String, org.eclipse.contribution.visualiser.core.Stripe, int)