|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.refractions.udig.ui.CRSChooser
public class CRSChooser
Creates a Control for choosing a Coordinate Reference System.
| Constructor Summary | |
|---|---|
CRSChooser()
|
|
CRSChooser(Controller parentPage)
|
|
| Method Summary | |
|---|---|
void |
clearSearch()
|
Control |
createControl(Composite parent)
Creates the CRS PreferencePage root control with no CRS selected |
Control |
createControl(Composite parent,
CoordinateReferenceSystem crs)
Creates the CRS PreferencePage root control with a CRS already selected |
protected CoordinateReferenceSystem |
createCRS(java.lang.String code)
creates a CRS from a code when the appropriate CRSAuthorityFactory is unknown |
protected void |
fillCodesList()
populates the codes list with a filtered list of CRS names |
protected java.util.Set<java.lang.String> |
filterCRSNames(java.lang.String[] filter)
filters all CRS Names from all available CRS authorities |
CoordinateReferenceSystem |
getCRS()
returns the selected CRS |
void |
gotoCRS(CoordinateReferenceSystem crs)
Takes in a CRS, finds it in the list and highlights it |
protected boolean |
matchesFilter(java.lang.String input,
java.lang.String[] filter)
checks if all keywords in filter array are in input |
void |
setController(Controller controller)
|
void |
setFocus()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRSChooser(Controller parentPage)
public CRSChooser()
| Method Detail |
|---|
public void setFocus()
public Control createControl(Composite parent,
CoordinateReferenceSystem crs)
parent - PreferencePage for this choosercrs - current CRS for the associated map
public void clearSearch()
public void gotoCRS(CoordinateReferenceSystem crs)
crs - public Control createControl(Composite parent)
parent - PreferencePage for this chooser
protected boolean matchesFilter(java.lang.String input,
java.lang.String[] filter)
input - test stringfilter - array of keywords
protected java.util.Set<java.lang.String> filterCRSNames(java.lang.String[] filter)
filter - array of keywords
protected void fillCodesList()
protected CoordinateReferenceSystem createCRS(java.lang.String code)
code - CRS code
public CoordinateReferenceSystem getCRS()
public void setController(Controller controller)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||