| java.lang.Object net.refractions.udig.ui.CRSChooser
CRSChooser | public class CRSChooser (Code) | | Creates a Control for choosing a Coordinate Reference System.
author: jeichar since: 0.6.0 |
codesList | ListViewer codesList(Code) | | |
keywordsText | Text keywordsText(Code) | | |
searchText | Text searchText(Code) | | |
selectedCRS | CoordinateReferenceSystem selectedCRS(Code) | | |
CRSChooser | public CRSChooser()(Code) | | |
clearSearch | public void clearSearch()(Code) | | |
createCRS | protected CoordinateReferenceSystem createCRS(String code)(Code) | | creates a CRS from a code when the appropriate CRSAuthorityFactory is unknown
Parameters: code - CRS code CRS object from appropriate authority, or null if the appropriate factory cannot bedetermined |
createControl | public Control createControl(Composite parent, CoordinateReferenceSystem crs)(Code) | | Creates the CRS PreferencePage root control with a CRS already selected
Parameters: parent - PreferencePage for this chooser Parameters: crs - current CRS for the associated map control for the PreferencePage |
createControl | public Control createControl(Composite parent)(Code) | | Creates the CRS PreferencePage root control with no CRS selected
Parameters: parent - PreferencePage for this chooser control for the PreferencePage |
fillCodesList | protected void fillCodesList()(Code) | | populates the codes list with a filtered list of CRS names
|
filterCRSNames | protected Set<String> filterCRSNames(String[] filter)(Code) | | filters all CRS Names from all available CRS authorities
Parameters: filter - array of keywords Set of CRS Names which contain all the filter keywords |
getCRS | public CoordinateReferenceSystem getCRS()(Code) | | returns the selected CRS
selected CRS |
gotoCRS | public void gotoCRS(CoordinateReferenceSystem crs)(Code) | | Takes in a CRS, finds it in the list and highlights it
Parameters: crs - |
matchesFilter | protected boolean matchesFilter(String input, String[] filter)(Code) | | checks if all keywords in filter array are in input
Parameters: input - test string Parameters: filter - array of keywords true, if all keywords in filter are in the input, false otherwise |
|
|