/** * {@inheritDoc} */ @Override public int getChannels() { return this.toolContext.getChannels(); }
/** * {@inheritDoc} */ @Override protected boolean validateToolSettings() { boolean result = super.validateToolSettings(); if ( result && ( getContext().getChannels() != Ols.MAX_CHANNELS ) ) { JErrorDialog.showDialog( getOwner(), "Cannot start analysis!", "Not enough channels!", "For the Asm45 decoder, you need to have 32 channels enabled." ); result = false; } return result; }