com.levigo.jadice.demo
Class EmbeddedAnnotationVisibilityMenuContributor
java.lang.Object
com.levigo.util.swing.menu.AbstractSubmenuContributor
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUNDLE
protected static final ResourceBundle BUNDLE
- This bundle provides the I18n resources located at the com.levigo.jadice.demo.resources
package.
EmbeddedAnnotationVisibilityMenuContributor
public EmbeddedAnnotationVisibilityMenuContributor()
doContribute
protected void doContribute(ContributionContext context,
MenuBuilder menuBuilder)
- Specified by:
doContribute
in class AbstractSubmenuContributor
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.