Package org.mizartools.dli

Examples of org.mizartools.dli.ForgNotation


      ModeNotation modeNotation = (ModeNotation)itemDefinition;
      SymbolId symbolId = modeNotation.getSymbolId();
      SymbolId symbolIdNew = new SymbolId(articleId, symbolId.getSymbolType(), symbolId.getToken(), 1);
      itemDefinition = new ModeNotation(symbolIdNew, modeNotation.getLoci(), modeNotation.getFormat(), modeNotation.getVisible(), modeNotation.getConstructor(), modeNotation.getAbbreviation(), modeNotation.getSynonym());
    } else if (itemDefinition instanceof org.mizartools.dli.ForgNotation) {
      ForgNotation forgNotation = (ForgNotation)itemDefinition;
      SymbolId symbolId = forgNotation.getSymbolId();
      SymbolId symbolIdNew = new SymbolId(articleId, symbolId.getSymbolType(), symbolId.getToken(), 1);
      itemDefinition = new ForgNotation(symbolIdNew, forgNotation.getLoci(), forgNotation.getFormat(), forgNotation.getVisible(), forgNotation.getConstructor(), forgNotation.getSynonym());
    } else if (itemDefinition instanceof org.mizartools.dli.SelectorNotation) {
      SelectorNotation selectorNotation = (SelectorNotation)itemDefinition;
      SymbolId symbolId = selectorNotation.getSymbolId();
      SymbolId symbolIdNew = new SymbolId(articleId, symbolId.getSymbolType(), symbolId.getToken(), 1);
      itemDefinition = new SelectorNotation(symbolIdNew, selectorNotation.getLoci(), selectorNotation.getFormat(), selectorNotation.getVisible(), selectorNotation.getConstructor(), selectorNotation.getSynonym());
View Full Code Here


    case U :
      itemDefinition = new SelectorNotation(symbolId1, loci, format, visible, constructor, synonym);
      itemType = ItemType.selnot;
      break;
    case J :
      itemDefinition = new ForgNotation(symbolId1, loci, format, visible, constructor, synonym);
      itemType = ItemType.forgnot;
      break;
    default :
    }
    if (itemDefinition == nullitemDefinition = new ItemDefinition("?");
View Full Code Here

TOP

Related Classes of org.mizartools.dli.ForgNotation

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.