Examples of ISequence


Examples of com.dmissoh.biologic.models.ISequence

  public List<Family> getFamilies() {
    return getInputAsSequence().getFamilies();
  }

  public void save(String selectedFile) {
    ISequence sequence = ((SequenceEditorInput) getEditorInput())
        .getSequence();
    ExportUtils.getInstance().save(selectedFile, sequence);
  }
View Full Code Here

Examples of com.dmissoh.biologic.models.ISequence

        .getActiveWorkbenchWindow().getActivePage().getActivePart();
    if (part instanceof SequenceEditor) {
      SequenceEditor editor = (SequenceEditor) part;
      Object inputObj = editor.getInputAsSequence();
      if (inputObj instanceof ISequence) {
        ISequence sequence = (ISequence) inputObj;
        if (sequence != null && sequence.getLogEntries() != null
            && !sequence.getLogEntries().isEmpty()) {
          FileDialog dialog = new FileDialog(window.getShell(),
              SWT.SAVE);
          dialog.setFileName("backup.log");
          String[] extentions = new String[] { "*.log", "*.*" };
          dialog.setFilterExtensions(extentions);
View Full Code Here

Examples of com.dmissoh.biologic.models.ISequence

    }
    return contents.toString();
  }

  public ISequence convertBusinessToStored(ISequence sequence) {
    ISequence storedSequence = new SequenceStoreObject();
    storedSequence.setDescription(sequence.getDescription());
    storedSequence.setLogEntries(sequence.getLogEntries());
    storedSequence.setStartTime(sequence.getStartTime());
    storedSequence.setEndTime(sequence.getEndTime());
    storedSequence.setLive(sequence.isLive());
    return storedSequence;
  }
View Full Code Here

Examples of org.carrot2.text.suffixtree.ISequence

        public void buildSuffixTree()
        {
            this.stateOriginDocument.clear();

            final LeafStateMarker marker = new LeafStateMarker();
            final ISequence seq = new IntegerSequence(input.buffer, 0, input.elementsCount);
            this.stree = SuffixTreeBuilder.from(seq)
                .withProgressCallback(marker)
                .withStateCallback(marker)
                .build();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.