com.levigo.jadice.demo
Class EmbeddedAnnotationVisibilityMenuContributor

java.lang.Object
  extended by com.levigo.util.swing.menu.AbstractSubmenuContributor
      extended by com.levigo.jadice.demo.EmbeddedAnnotationVisibilityMenuContributor
All Implemented Interfaces:
MenuContributor

public class EmbeddedAnnotationVisibilityMenuContributor
extends AbstractSubmenuContributor

The intention of this class is to provide several annotation visibility functions as a separate sub menu. As a MenuContributor it can be easily attached to a PopupMenuTool which is able to display context menus on a ViewComponent.

This class uses I18n resources which are part of this package's resources. For using this class, developers have to ensure the availability of these resources.


Field Summary
protected static ResourceBundle BUNDLE
          This bundle provides the I18n resources located at the com.levigo.jadice.demo.resources package.
 
Fields inherited from class com.levigo.util.swing.menu.AbstractSubmenuContributor
log
 
Constructor Summary
EmbeddedAnnotationVisibilityMenuContributor()
           
 
Method Summary
protected  void doContribute(ContributionContext context, MenuBuilder menuBuilder)
           
 
Methods inherited from class com.levigo.util.swing.menu.AbstractSubmenuContributor
contribute, setTargetSubmenu, setTargetSubmenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUNDLE

protected static final ResourceBundle BUNDLE
This bundle provides the I18n resources located at the com.levigo.jadice.demo.resources package.

Constructor Detail

EmbeddedAnnotationVisibilityMenuContributor

public EmbeddedAnnotationVisibilityMenuContributor()
Method Detail

doContribute

protected void doContribute(ContributionContext context,
                            MenuBuilder menuBuilder)
Specified by:
doContribute in class AbstractSubmenuContributor


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.