Package org.eclipse.sapphire.ui.forms.swt

Examples of org.eclipse.sapphire.ui.forms.swt.ActionBridge


 
  private void initActions()
  {
      this.globalActions = new HashMap<String,ActionBridge>();
   
    final ActionBridge selectAllBridge = new ActionBridge( this.diagramPresentation, this.part.getAction( "Sapphire.Diagram.SelectAll" ) );
    this.globalActions.put( ActionFactory.SELECT_ALL.getId(), selectAllBridge );
   
        final ActionBridge deleteBridge = new ActionBridge( this.diagramPresentation, this.part.getAction( "Sapphire.Delete" ) );
        this.globalActions.put( ActionFactory.DELETE.getId(), deleteBridge );

        final ActionBridge printBridge = new ActionBridge( this.diagramPresentation, this.part.getAction( "Sapphire.Diagram.Print" ) );
        this.globalActions.put( ActionFactory.PRINT.getId(), printBridge );
  }
View Full Code Here


          {
              ActionSystemPartBridge bridge = this.cache.get( action );
             
              if( bridge == null )
              {
                  bridge = new ActionBridge( presentation, action );
              }
             
              updatedCache.put( action, bridge );
             
              menuManager.add( bridge );
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.forms.swt.ActionBridge

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.