org.eclipse.contribution.visualiser.simpleImpl
Class StealthMarkupKind

java.lang.Object
  extended byorg.eclipse.contribution.visualiser.simpleImpl.SimpleMarkupKind
      extended byorg.eclipse.contribution.visualiser.simpleImpl.StealthMarkupKind
All Implemented Interfaces:
java.lang.Comparable, IMarkupKind

public class StealthMarkupKind
extends SimpleMarkupKind

Simple implementation of IMarkupKind that does not show in the Menu by default.


Constructor Summary
StealthMarkupKind(java.lang.String name)
          Constructor
StealthMarkupKind(java.lang.String name, org.eclipse.swt.graphics.Image icon)
          Constructor
 
Method Summary
 boolean showInMenu()
          Returns false - do not show this kind in the Visualiser Menu
 
Methods inherited from class org.eclipse.contribution.visualiser.simpleImpl.SimpleMarkupKind
compareTo, equals, getFullName, getIcon, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StealthMarkupKind

public StealthMarkupKind(java.lang.String name)
Constructor

Parameters:
name - - name of the kind.

StealthMarkupKind

public StealthMarkupKind(java.lang.String name,
                         org.eclipse.swt.graphics.Image icon)
Constructor

Parameters:
name - - name of the kind
icon - - associated image
Method Detail

showInMenu

public boolean showInMenu()
Returns false - do not show this kind in the Visualiser Menu

Specified by:
showInMenu in interface IMarkupKind
Overrides:
showInMenu in class SimpleMarkupKind
See Also:
IMarkupKind.showInMenu()