001package jmri.jmrit.display.controlPanelEditor;
002
003import jmri.NamedBean;
004import jmri.NamedBean.DisplayOptions;
005import jmri.jmrit.logix.Portal;
006
007class SignalPair {
008    NamedBean _signal;
009    Portal _portal;
010
011    SignalPair(NamedBean signal, Portal portal) {
012        _signal = signal;
013        _portal = portal;
014    }
015    
016    String getDiscription() {
017        return Bundle.getMessage("signalDescription", 
018                _signal.getDisplayName(DisplayOptions.QUOTED_DISPLAYNAME),
019                _portal.getName());
020    }
021}