Package org.apache.uima.caseditor.editor.contextmenu

Examples of org.apache.uima.caseditor.editor.contextmenu.ShowAnnotationsMenu


   * Note: Does nothing if getDoucment() return null.
   */
  private void initiallySynchronizeUI() {
    if (getDocument() != null) {
     
      mShowAnnotationsMenu = new ShowAnnotationsMenu(
              getDocument().getCAS().getTypeSystem(), shownAnnotationTypes);
      mShowAnnotationsMenu.addListener(new IShowAnnotationsListener() {

        public void selectionChanged(Collection<Type> selection) {
         
View Full Code Here


    getSourceViewer().setEditable(false);

    getSite().setSelectionProvider(mFeatureStructureSelectionProvider);

    if (getDocument() != null) {
      mShowAnnotationsMenu = new ShowAnnotationsMenu(
              getDocumentProvider().getEditorAnnotationStatus(getEditorInput()),
              getDocument().getCAS().getTypeSystem(), shownAnnotationTypes);
      mShowAnnotationsMenu.addListener(new IShowAnnotationsListener() {

        public void selectionChanged(Collection<Type> selection) {
View Full Code Here

   * Note: Does nothing if getDoucment() return null.
   */
  private void initiallySynchronizeUI() {
    if (getDocument() != null) {
     
      mShowAnnotationsMenu = new ShowAnnotationsMenu(
              getDocument().getCAS().getTypeSystem(), shownAnnotationTypes);
      mShowAnnotationsMenu.addListener(new IShowAnnotationsListener() {

        public void selectionChanged(Collection<Type> selection) {
         
View Full Code Here

   * Note: Does nothing if getDoucment() return null.
   */
  private void initiallySynchronizeUI() {
    if (getDocument() != null) {
     
      mShowAnnotationsMenu = new ShowAnnotationsMenu(
              getDocument().getCAS().getTypeSystem(), shownAnnotationTypes);
      mShowAnnotationsMenu.addListener(new IShowAnnotationsListener() {

        public void selectionChanged(Collection<Type> selection) {
         
View Full Code Here

   * Note: Does nothing if getDoucment() return null.
   */
  private void initiallySynchronizeUI() {
    if (getDocument() != null) {
     
      mShowAnnotationsMenu = new ShowAnnotationsMenu(
              null,
              getDocument().getCAS().getTypeSystem(), shownAnnotationTypes);
      mShowAnnotationsMenu.addListener(new IShowAnnotationsListener() {

        public void selectionChanged(Collection<Type> selection) {
View Full Code Here

TOP

Related Classes of org.apache.uima.caseditor.editor.contextmenu.ShowAnnotationsMenu

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.