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

java.lang.Object
  extended byorg.eclipse.contribution.visualiser.interfaces.simpleImpl.SimpleMarkupKind
      extended byorg.eclipse.contribution.visualiser.interfaces.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.


Field Summary
 
Fields inherited from class org.eclipse.contribution.visualiser.interfaces.simpleImpl.SimpleMarkupKind
icon, name
 
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.interfaces.simpleImpl.SimpleMarkupKind
compareTo, equals, getIcon, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
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()