Merge "Issue #1617 fixed vb sounding point selection for points which contain the word Point" into development
Former-commit-id:4f3ed0ef67
[formerly5d7edbc0c1
] [formerlyb514792bbc
] [formerly4f3ed0ef67
[formerly5d7edbc0c1
] [formerlyb514792bbc
] [formerly5d828d4d62
[formerlyb514792bbc
[formerly 1fec56c55d81b35df45c2266fc234747df3791df]]]] Former-commit-id:5d828d4d62
Former-commit-id:2924ef9340
[formerly3a66566610
] [formerly d6b5c39b47f714b55716489494afc5902a140ab1 [formerlycb37bab362
]] Former-commit-id: 123aed11ae81f496fa2e8c758744d47466e2c0ed [formerlydf183bb4da
] Former-commit-id:55a721ecbe
This commit is contained in:
commit
0ce5b4805c
1 changed files with 8 additions and 2 deletions
|
@ -27,6 +27,7 @@ import java.util.HashMap;
|
|||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.level.Level;
|
||||
import com.raytheon.uf.common.dataquery.requests.RequestConstraint;
|
||||
|
@ -73,6 +74,8 @@ import com.vividsolutions.jts.geom.Coordinate;
|
|||
* 10-21-09 #1711 bsteffen Updated Baseline and Points to use new ToolsDataManager
|
||||
* 01/30/2012 DR 14308 D.Friedman Use correct style for arrow types.
|
||||
* 07/31/2012 #875 rferrel Now uses points.
|
||||
* Feb 21, 2013 1617 bsteffen fixed vb sounding point selection for
|
||||
* points which contain the word Point
|
||||
*
|
||||
*
|
||||
* </pre>
|
||||
|
@ -91,6 +94,8 @@ public abstract class AbstractDataCatalog implements IDataCatalog {
|
|||
/** key representing all point and line planes **/
|
||||
public static final String POINT_LINE_KEY = "PointLine";
|
||||
|
||||
public static final Pattern POINT_PATTERN = Pattern.compile("^Point");
|
||||
|
||||
/**
|
||||
*
|
||||
* @return a list of plugin Names used for the given setting
|
||||
|
@ -274,8 +279,9 @@ public abstract class AbstractDataCatalog implements IDataCatalog {
|
|||
case VARVSHGT:
|
||||
case CROSSSECTION:
|
||||
case SOUNDING:
|
||||
pointLetter = catalogEntry.getSelectedData().getPlanesKey()
|
||||
.replace("Point", "");
|
||||
pointLetter = POINT_PATTERN.matcher(
|
||||
catalogEntry.getSelectedData().getPlanesKey())
|
||||
.replaceFirst("");
|
||||
break;
|
||||
case TIMESERIES:
|
||||
pointLetter = catalogEntry.getDialogSettings().getPointsSelection()
|
||||
|
|
Loading…
Add table
Reference in a new issue