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