Package org.dyno.visual.swing.base

Examples of org.dyno.visual.swing.base.CompositeMenuContext


  public void fillConstraintsAction(MenuManager menu, Component child) {
    if (!(child instanceof JMenuBar)) {
      JPanelAdapter contentAdapter = (JPanelAdapter) ((RootPaneContainerAdapter) adaptable)
          .getContentAdapter();
      if (contentAdapter != null) {
        CompositeMenuContext context = (CompositeMenuContext) contentAdapter
            .getAdapter(IMenuContext.class);
        context.fillConstraintsAction(menu, child);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.dyno.visual.swing.base.CompositeMenuContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.