Package org.eclipse.sapphire.ui

Examples of org.eclipse.sapphire.ui.SapphireActionHandler.execute()


   
  @Override
  public void execute()
  {
        SapphireActionHandler deleteActionHandler = this.nodePresentation.part().getAction(DELETE_ACTION_ID).getFirstActiveHandler();
        deleteActionHandler.execute(this.nodePresentation);   
   
  }
 
}
View Full Code Here


     
                final Runnable runnable = new Runnable()
                {
                  public void run()
                  {
                    handler.execute( manager.context() );
                  }
                };
     
                Display.getDefault().asyncExec( runnable );
              }
View Full Code Here

            (
                new Runnable()
                {
                    public void run()
                    {
                        firstHandler.execute(getShapePresentation());
                    }
                }
            );
    }
  }
View Full Code Here

            @Override
            public void handleHyperlinkEvent()
            {
                if( jumpActionHandler != null )
                {
                    jumpActionHandler.execute( TextFieldPropertyEditorPresentation.this );
                }
            }

            @Override
            public String overlay()
View Full Code Here

                           
                            final Runnable runnable = new Runnable()
                            {
                                public void run()
                                {
                                    handler.execute( getManager().context() );
                                }
                            };
                           
                            ( (SwtPresentation) getManager().context() ).display().asyncExec( runnable );
                        }
View Full Code Here

  public void execute()
  {
        SapphireActionHandler handler = (SapphireActionHandler)this.nodePresentation.part().getDefaultActionHandler();
        if (handler != null && handler.isEnabled())
        {
            handler.execute(this.nodePresentation);
        }           
  }
 
}
View Full Code Here

  @Override
  public void execute()
  {
        SapphireActionHandler deleteActionHandler = this.presentation.part().getAction(DELETE_ACTION_ID).getFirstActiveHandler();
        deleteActionHandler.execute(this.presentation);   
  }
}
View Full Code Here

                {
                    final SapphireActionHandler handler = part.handler();
                   
                    if( handler != null )
                    {
                        handler.execute( ActuatorButtonPresentation.this );
                    }
                }
            }
        );
       
View Full Code Here

                {
                    final SapphireActionHandler handler = part.handler();
                   
                    if( handler != null )
                    {
                        handler.execute( ActuatorLinkPresentation.this );
                    }
                }
            }
        );
       
View Full Code Here

                {
                    final SapphireActionHandler jumpHandler = getJumpHandler( item, column );
                   
                    if( jumpHandler != null )
                    {
                        jumpHandler.execute( TablePropertyEditorPresentation.this );
                    }
                }
               
                private SapphireActionHandler getJumpHandler( final TableItem item,
                                                              final int column )
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.