Package org.latexlab.docs.client.widgets

Examples of org.latexlab.docs.client.widgets.AnnotatedPanel$Annotation


    @Test(expected=ExQueryException.class)
    public void create_failsForNonRESTXQAnnotation() throws URISyntaxException, ExQueryException {
       
        final QName badName = new QName("http://fake", "fake");
       
        final Annotation mckAnnotation = mock(Annotation.class);
        when(mckAnnotation.getName()).thenReturn(badName);
       
        final Set<Annotation> annotations = new HashSet<Annotation>();
        annotations.add(mckAnnotation);
               
        ResourceFunctionFactory.create(new URI("/fake.xquery"), annotations);
View Full Code Here


  /**
   * Constructs a previewer part.
   */
  public PreviewerPart() {
  annPanel = new AnnotatedPanel();
    annPanel.addSelectionHandler(new SelectionHandler<Annotation>() {
    @Override
    public void onSelection(SelectionEvent<Annotation> event) {
      int line = Integer.valueOf(event.getSelectedItem().getValue());
      CommandEvent.fire(new SystemJumpToLineCommand(line));
View Full Code Here

TOP

Related Classes of org.latexlab.docs.client.widgets.AnnotatedPanel$Annotation

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.