Codota Logo
SuggestionViewPanel.updatePanel
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • JPanel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now