Tabnine Logo
SuggestionViewPanel.updatePanel
Code IndexAdd Tabnine to your IDE (free)

How to use
updatePanel
method
in
de.tudarmstadt.ukp.clarin.webanno.ui.curation.component.SuggestionViewPanel

Best Java code snippets using de.tudarmstadt.ukp.clarin.webanno.ui.curation.component.SuggestionViewPanel.updatePanel (Showing top 13 results out of 315)

origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-curation

public void updatePanel(AjaxRequestTarget aTarget, CurationContainer aCC)
  throws UIMAException, ClassNotFoundException, IOException, AnnotationException
{
  commonUpdate();
  
  // Render the main annotation editor (upper part)
  annotationEditor.requestRender(aTarget);
  
  // Render the user annotation segments (lower part)
  suggestionViewPanel.updatePanel(aTarget, aCC, annotationSelectionByUsernameAndAddress,
      curationView);
  
  // Render the sentence list sidebar
  aTarget.add(sentencesListView);
}

origin: webanno/webanno

public void updatePanel(AjaxRequestTarget aTarget, CurationContainer aCC)
  throws UIMAException, ClassNotFoundException, IOException, AnnotationException
{
  commonUpdate();
  
  // Render the main annotation editor (upper part)
  annotationEditor.requestRender(aTarget);
  
  // Render the user annotation segments (lower part)
  suggestionViewPanel.updatePanel(aTarget, aCC, annotationSelectionByUsernameAndAddress,
      curationView);
  
  // Render the sentence list sidebar
  aTarget.add(sentencesListView);
}

origin: webanno/webanno

private void actionToggleScriptDirection(AjaxRequestTarget aTarget)
    throws Exception
{
  getModelObject().toggleScriptDirection();
  annotationEditor.requestRender(aTarget);
  curationContainer.setBratAnnotatorModel(getModelObject());
  suggestionView.updatePanel(aTarget, curationContainer,
      annotationSelectionByUsernameAndAddress, curationSegment);
}

origin: webanno/webanno

private void actionToggleScriptDirection(AjaxRequestTarget aTarget)
    throws Exception
{
  getModelObject().toggleScriptDirection();
  annotationEditor.requestRender(aTarget);
  curationContainer.setBratAnnotatorModel(getModelObject());
  suggestionView.updatePanel(aTarget, curationContainer,
      annotationSelectionByUsernameAndAddress, curationSegment);
}

origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-automation

private void actionToggleScriptDirection(AjaxRequestTarget aTarget)
    throws Exception
{
  getModelObject().toggleScriptDirection();
  annotationEditor.requestRender(aTarget);
  curationContainer.setBratAnnotatorModel(getModelObject());
  suggestionView.updatePanel(aTarget, curationContainer,
      annotationSelectionByUsernameAndAddress, curationSegment);
}

origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-automation

private void update(AjaxRequestTarget target)
  throws UIMAException, ClassNotFoundException, IOException, AnnotationException
{
  suggestionView.updatePanel(target, curationContainer,
      annotationSelectionByUsernameAndAddress, curationSegment);
  gotoPageTextField.setModelObject(getModelObject().getFirstVisibleUnitIndex());
  target.add(gotoPageTextField);
  target.add(getOrCreatePositionInfoLabel());
}
origin: webanno/webanno

private void update(AjaxRequestTarget target)
  throws UIMAException, ClassNotFoundException, IOException, AnnotationException
{
  suggestionView.updatePanel(target, curationContainer,
      annotationSelectionByUsernameAndAddress, curationSegment);
  gotoPageTextField.setModelObject(getModelObject().getFirstVisibleUnitIndex());
  target.add(gotoPageTextField);
  target.add(getOrCreatePositionInfoLabel());
}

origin: webanno/webanno

private void update(AjaxRequestTarget target)
  throws UIMAException, ClassNotFoundException, IOException, AnnotationException
{
  suggestionView.updatePanel(target, curationContainer,
      annotationSelectionByUsernameAndAddress, curationSegment);
  gotoPageTextField.setModelObject(getModelObject().getFirstVisibleUnitIndex());
  target.add(gotoPageTextField);
  target.add(getOrCreatePositionInfoLabel());
}
origin: webanno/webanno

  @Override
  public void onChange(AjaxRequestTarget aTarget)
  {
    AnnotatorState state = CorrectionPage.this.getModelObject();
    
    aTarget.addChildren(getPage(), IFeedback.class);
    try {
      // update begin/end of the curation segment based on bratAnnotatorModel changes
      // (like sentence change in auto-scroll mode,....
      curationContainer.setBratAnnotatorModel(state);
      JCas editorCas = getEditorCas();
      setCurationSegmentBeginEnd(editorCas);
      suggestionView.updatePanel(aTarget, curationContainer,
          annotationSelectionByUsernameAndAddress, curationSegment);
      
      annotationEditor.requestRender(aTarget);
      aTarget.add(getOrCreatePositionInfoLabel());
      update(aTarget);
    }
    catch (UIMAException e) {
      LOG.error("Error: " + e.getMessage(), e);
      error("Error: " + ExceptionUtils.getRootCauseMessage(e));
    }
    catch (Exception e) {
      LOG.error("Error: " + e.getMessage(), e);
      error("Error: " + e.getMessage());
    }
  }
};
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-automation

  @Override
  public void onChange(AjaxRequestTarget aTarget)
  {
    try {
      // update begin/end of the curation segment based on bratAnnotatorModel changes
      // (like sentence change in auto-scroll mode,....
      aTarget.addChildren(getPage(), IFeedback.class);
      AnnotatorState state = AutomationPage.this.getModelObject();
      curationContainer.setBratAnnotatorModel(state);
      JCas editorCas = getEditorCas();
      setCurationSegmentBeginEnd(editorCas);
      suggestionView.updatePanel(aTarget, curationContainer,
          annotationSelectionByUsernameAndAddress, curationSegment);
      
      annotationEditor.requestRender(aTarget);
      aTarget.add(getOrCreatePositionInfoLabel());
      update(aTarget);
    }
    catch (Exception e) {
      handleException(aTarget, e);
    }
  }
};
origin: webanno/webanno

  @Override
  public void onChange(AjaxRequestTarget aTarget)
  {
    try {
      // update begin/end of the curation segment based on bratAnnotatorModel changes
      // (like sentence change in auto-scroll mode,....
      aTarget.addChildren(getPage(), IFeedback.class);
      AnnotatorState state = AutomationPage.this.getModelObject();
      curationContainer.setBratAnnotatorModel(state);
      JCas editorCas = getEditorCas();
      setCurationSegmentBeginEnd(editorCas);
      suggestionView.updatePanel(aTarget, curationContainer,
          annotationSelectionByUsernameAndAddress, curationSegment);
      
      annotationEditor.requestRender(aTarget);
      aTarget.add(getOrCreatePositionInfoLabel());
      update(aTarget);
    }
    catch (Exception e) {
      handleException(aTarget, e);
    }
  }
};
origin: webanno/webanno

curationContainer.setBratAnnotatorModel(state);
suggestionView.updatePanel(aTarget, curationContainer,
    annotationSelectionByUsernameAndAddress, curationSegment);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-automation

curationContainer.setBratAnnotatorModel(state);
suggestionView.updatePanel(aTarget, curationContainer,
    annotationSelectionByUsernameAndAddress, curationSegment);
de.tudarmstadt.ukp.clarin.webanno.ui.curation.componentSuggestionViewPanelupdatePanel

Popular methods of SuggestionViewPanel

  • init
    Initializes the user annotation segments later to be filled with content.
  • setOutputMarkupId
  • add
  • addSuggestionColor
    For each ConfigurationSet, where there are some differences in users annotation and the curation ann
  • calcColors
  • createSpan
  • error
  • getAnnotatorCas
  • getCollectionInformation
  • getJCas
  • isCorefType
  • makeColoringStrategy
  • isCorefType,
  • makeColoringStrategy,
  • removePrefix,
  • render,
  • setOutputMarkupPlaceholderTag,
  • writeEditorCas

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now