Omaha #5281: Fix JMS validation if no prompt
Change-Id: Ia85576a8b5762e97fe672386127feefc3350299d Former-commit-id: 2bb919189d313fe51da61aa9f6e8257af8bc1b0c
This commit is contained in:
parent
12873364a5
commit
7312d01c79
1 changed files with 8 additions and 5 deletions
|
@ -75,6 +75,8 @@ import com.raytheon.uf.viz.thinclient.preferences.ThinClientPreferenceConstants;
|
|||
* Mar 01, 2016 5281 tjensen Update dataRefreshMethod when automatically
|
||||
* enabling/disabling push
|
||||
* Mar 15, 2016 5281 tjensen Fix validation prior to prompt
|
||||
* Apr 06, 2016 5281 tjensen Fix validation of JMS when prompt disabled
|
||||
* and using poll method.
|
||||
* </pre>
|
||||
*
|
||||
* @author bsteffen
|
||||
|
@ -405,11 +407,12 @@ public class ThinClientConnectivityDialog extends ConnectivityPreferenceDialog {
|
|||
dataRefreshGroup.setToolTipText(dataRefreshTooltip
|
||||
+ unableConnectJMS);
|
||||
}
|
||||
|
||||
if (!jmsGood && !autoPullBtn.isEnabled()) {
|
||||
// Since JMS is now disabled, we're in a good state.
|
||||
jmsGood = true;
|
||||
}
|
||||
}
|
||||
if (!jmsGood
|
||||
&& (dataRefreshMethod
|
||||
.equals(ThinClientPreferenceConstants.P_DATA_REFRESH_METHOD_POLL))) {
|
||||
// Since JMS is now disabled, we're in a good state.
|
||||
jmsGood = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue