/** * Add sequence corresponding to the name */ public void addSequence(Sequence sequence) { getDatasourcePlatform().addSequence(sequence); }
/** * Add sequence corresponding to the name * Don't use if the session is connected. */ public void addSequence(Sequence sequence) { getDatasourcePlatform().addSequence(sequence); }
/** * Add sequence corresponding to the name * Don't use if the session is connected. */ public void addSequence(Sequence sequence) { getDatasourcePlatform().addSequence(sequence); }
/** * PUBLIC: * Add the sequence to the session. * Allows to add a new sequence to the session even if the session is connected. * If the session is connected then the sequence is added only * if there is no sequence with the same name already in use. * Call this method before addDescriptor(s) if need to add new descriptor * with a new non-default sequence to connected session. * * @see #addSequences(Collection) */ public void addSequence(Sequence sequence) { getProject().getLogin().getDatasourcePlatform().addSequence(sequence, this.getSequencingHome().isConnected()); }
/** * PUBLIC: * Add the sequence to the session. * Allows to add a new sequence to the session even if the session is connected. * If the session is connected then the sequence is added only * if there is no sequence with the same name already in use. * Call this method before addDescriptor(s) if need to add new descriptor * with a new non-default sequence to connected session. * * @see #addSequences(Collection) */ @Override public void addSequence(Sequence sequence) { getProject().getLogin().getDatasourcePlatform().addSequence(sequence, this.getSequencingHome().isConnected()); }
if (sequence == null) { sequence = new DefaultSequence(seqName); getOwnerSession().getDatasourcePlatform().addSequence(sequence);
if (sequence == null) { sequence = new DefaultSequence(seqName); getOwnerSession().getDatasourcePlatform().addSequence(sequence, isConnected);
if (sequence == null) { sequence = new DefaultSequence(seqName); getOwnerSession().getDatasourcePlatform().addSequence(sequence, isConnected);