Package org.eclipse.jface.internal.text.html

Examples of org.eclipse.jface.internal.text.html.BrowserInformationControlInput


        fInfoControl.setInput(next);
      }
    }

    public void update() {
      BrowserInformationControlInput current = fInfoControl.getInput();

      if (current != null && current.getNext() != null) {
        setToolTipText(Messages
            .format(PHPHoverMessages.JavadocHover_forward_toElement_toolTip,
                BasicElementLabels.getJavaElementName(current
                    .getNext().getInputName())));
        setEnabled(true);
      } else {
        setToolTipText(PHPHoverMessages.JavadocHover_forward_toolTip);
        setEnabled(false);
View Full Code Here


          public void inputChanged(Object newInput) {
            backAction.update();
            forwardAction.update();
            if (newInput == null) {
            } else if (newInput instanceof BrowserInformationControlInput) {
              BrowserInformationControlInput input = (BrowserInformationControlInput) newInput;
              Object inputElement = input.getInputElement();
              boolean isJavaElementInput = inputElement instanceof IModelElement;
              openDeclarationAction
                  .setEnabled(isJavaElementInput);
            }
          }
View Full Code Here

      update();
    }

    public void run() {
      BrowserInformationControlInput previous = (BrowserInformationControlInput) fInfoControl
          .getInput().getPrevious();
      if (previous != null) {
        fInfoControl.setInput(previous);
      }
    }
View Full Code Here

        fInfoControl.setInput(previous);
      }
    }

    public void update() {
      BrowserInformationControlInput current = fInfoControl.getInput();

      if (current != null && current.getPrevious() != null) {
        BrowserInput previous = current.getPrevious();
        setToolTipText(Messages.format(
            PHPHoverMessages.JavadocHover_back_toElement_toolTip,
            BasicElementLabels.getJavaElementName(previous
                .getInputName())));
        setEnabled(true);
View Full Code Here

      update();
    }

    public void run() {
      BrowserInformationControlInput next = (BrowserInformationControlInput) fInfoControl
          .getInput().getNext();
      if (next != null) {
        fInfoControl.setInput(next);
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.internal.text.html.BrowserInformationControlInput

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.