Examples of HelpListener


Examples of org.eclipse.swt.events.HelpListener

  /**
   * This is a callback that will allow us
   * to create the viewer and initialize it.
   */
  public void createPartControl(Composite parent) {
    parent.addHelpListener(new HelpListener(){
      public void helpRequested(HelpEvent e) {
         Workbench.getInstance().getHelpSystem().displayHelpResource("/es.uma.ama.maudeWorkstationGUI/html/concepts/Ieditor-help_4_1.html");             
      }
    });
   
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

   */
  public void createPartControl(Composite parent) {
    viewer = new MaudeTrazaComposite(parent,SWT.NONE);
    makeActions();
    contributeToActionBars();
    parent.addHelpListener(new HelpListener(){
      public void helpRequested(HelpEvent e) {
         Workbench.getInstance().getHelpSystem().displayHelpResource("/es.uma.ama.maudeWorkstationGUI/html/concepts/Ieditor-help_4_2.html");             
      }
    });
    reset();
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

   * This is a callback that will allow us
   * to create the viewer and initialize it.
   */
  public void createPartControl(Composite parent) {
    viewer = new MaudeRewritingComposite(parent,SWT.NONE);
    parent.addHelpListener(new HelpListener(){
      public void helpRequested(HelpEvent e) {
         Workbench.getInstance().getHelpSystem().displayHelpResource("/es.uma.ama.maudeWorkstationGUI/html/concepts/Ieditor-help_4_4.html");             
      }
    });
    makeActions();
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

            window.getSelectionService().addSelectionListener(this);
            refreshSelection();
        }
        addToActionList(this);

        super.setHelpListener(new HelpListener() {
            public void helpRequested(HelpEvent e) {
                HelpListener listener = null;
                if (retargetAction != null) {
          listener = retargetAction.getHelpListener();
        }
                if (listener == null) {
          // use our own help listener
                    listener = localHelpListener;
        }
                if (listener != null) {
          // pass on the event
                    listener.helpRequested(e);
        }
            }
        });
    }
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

  }
 

  protected Control createContents(Composite parent) {
   
    parent.addHelpListener(new HelpListener(){
      public void helpRequested(HelpEvent e) {
         Workbench.getInstance().getHelpSystem().displayHelpResource(Messages.getString("MaudeDaemon.HELP_PATH_MAUDE_PREFERENCES"));               //$NON-NLS-1$
      }
    });
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

  public void init(IWorkbench workbench) {
  }

  protected Control createContents(Composite parent) {
   
    parent.addHelpListener(new HelpListener(){
      public void helpRequested(HelpEvent e) {
         Workbench.getInstance().getHelpSystem().displayHelpResource("/es.uma.ama.maudeWorkstationGUI/html/concepts/Ieditor-help_5_1_1.html");             
      }
    });
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

   * This is a callback that will allow us
   * to create the viewer and initialize it.
   */
  public void createPartControl(Composite parent) {
    viewer = new MaudeDepuracionComposite(parent,SWT.NONE);
    parent.addHelpListener(new HelpListener(){
      public void helpRequested(HelpEvent e) {
         Workbench.getInstance().getHelpSystem().displayHelpResource("/es.uma.ama.maudeWorkstationGUI/html/concepts/Ieditor-help_4_3.html");             
      }
    });
    makeActions();
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

      viewer.setProperty(SnapToGeometry.PROPERTY_SNAP_ENABLED, this.part.isShowGuides());
    }
   
    // Support context help
   
    this.getGraphicalControl().addHelpListener(new HelpListener()
        {
            public void helpRequested(HelpEvent event)
            {             
              if (getSelectedParts() != null && getSelectedParts().size() == 1)
              {
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

    public static void setHelp(Control control, ISapphireDocumentationDef helpContentDef) {
        final DocumentationContext context = new DocumentationContext(helpContentDef);
        if ( context.getText() != null )
        {
            control.addHelpListener(new HelpListener()
            {
                public void helpRequested(HelpEvent event)
                {
                    // determine a location in the upper right corner of the widget
                    final Point point = computePopUpLocation(event.widget.getDisplay());
View Full Code Here

Examples of org.eclipse.swt.events.HelpListener

      });

      /*
       * Trap F1 Help to pop up a custom help box
       */
      control.addHelpListener(new HelpListener() {
        public void helpRequested(HelpEvent event) {
          if (tipWidget == null)
            return;
          ToolTipHelpTextHandler handler = (ToolTipHelpTextHandler) tipWidget.getData("TIP_HELPTEXTHANDLER");
          if (handler == null)
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.