Issue #1904 - FFMPConfig no longer able to be reset.
Change-Id: I9e7a7628ca1cd77964574fbc84c2cd2f78364872 Former-commit-id:2323505f91
[formerly18e5561dd2
] [formerly2323505f91
[formerly18e5561dd2
] [formerlyf9c0de442f
[formerly 5775e40e5f939ca847527ae562cba71dc3984a60]]] Former-commit-id:f9c0de442f
Former-commit-id:b847733566
[formerlyc0f6fe5199
] Former-commit-id:5253e6e535
This commit is contained in:
parent
7db0542069
commit
00b3600ad6
2 changed files with 2 additions and 20 deletions
|
@ -55,6 +55,7 @@ import com.raytheon.uf.viz.monitor.ffmp.xml.FFMPTableColumnXML;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Aug 01, 2012 14168 mpduff Add convenience methods for
|
||||
* getting ColorCell and ReverseFilter
|
||||
* Apr 15, 2013 1904 mpduff Don't allow this class to be nulled out
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -123,27 +124,9 @@ public class FFMPConfig {
|
|||
}
|
||||
|
||||
public static synchronized FFMPConfig getInstance() {
|
||||
if (classInstance == null) {
|
||||
classInstance = new FFMPConfig();
|
||||
}
|
||||
|
||||
return classInstance;
|
||||
}
|
||||
|
||||
public void disposeResources() {
|
||||
upperColor.dispose();
|
||||
midColor.dispose();
|
||||
lowerColor.dispose();
|
||||
belowLowerColor.dispose();
|
||||
defaultColor.dispose();
|
||||
forcedFFGColor.dispose();
|
||||
vgbColor.dispose();
|
||||
}
|
||||
|
||||
public static void unloadConfig() {
|
||||
classInstance = null;
|
||||
}
|
||||
|
||||
private void init() {
|
||||
threshMgrMap = new HashMap<ThreshColNames, ThresholdManager>();
|
||||
|
||||
|
|
|
@ -118,6 +118,7 @@ import com.raytheon.viz.ui.dialogs.ICloseCallback;
|
|||
* Mar 01, 2013 13228 gzhang Adding field rowName for VGB in County
|
||||
* Mar 24, 2013 1818 mpduff Fixed Attributes dialog on multiple opens, needed an isDisposed check.
|
||||
* Mar 29, 2013 1790 rferrel Bug fix for non-blocking dialogs.
|
||||
* Apr 15, 2013 1904 mpduff Remove calls to reset FFMPConfig.
|
||||
* </pre>
|
||||
*
|
||||
* @author lvenable
|
||||
|
@ -320,8 +321,6 @@ public class FfmpBasinTableDlg extends CaveSWTDialog implements
|
|||
|
||||
dataLoadFont.dispose();
|
||||
timeDurFont.dispose();
|
||||
FFMPConfig.getInstance().disposeResources();
|
||||
FFMPConfig.unloadConfig();
|
||||
|
||||
if (refreshColor != null) {
|
||||
refreshColor.dispose();
|
||||
|
|
Loading…
Add table
Reference in a new issue