public abstract class AbstractProjectionChoice extends Object implements ProjectionChoice
| Modifier and Type | Field and Description |
|---|---|
protected String |
cacheDir |
protected String |
id |
protected String |
name |
| Constructor and Description |
|---|
AbstractProjectionChoice(String name,
String id)
Constructs a new
AbstractProjectionChoice. |
AbstractProjectionChoice(String name,
String id,
String cacheDir)
Constructs a new
AbstractProjectionChoice. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheDir() |
abstract String |
getCurrentCode() |
String |
getId()
Get a unique id for the projection choice.
|
Projection |
getProjection()
Get the projection that matches the internal state.
|
abstract String |
getProjectionName() |
String |
toString()
Short name of the projection choice as shown in the GUI (combo box).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallCodes, getPreferencePanel, getPreferences, getPreferencesFromCode, setPreferencespublic AbstractProjectionChoice(String name, String id, String cacheDir)
AbstractProjectionChoice.name - short name of the projection choice as shown in the GUIid - unique identifier for the projection choicecacheDir - a cache directory namepublic AbstractProjectionChoice(String name, String id)
AbstractProjectionChoice.
Only for core projection choices, where chacheDir is the same as
the second part of the id.name - short name of the projection choice as shown in the GUIid - unique identifier for the projection choicepublic String getId()
ProjectionChoicegetId in interface ProjectionChoicepublic String getCacheDir()
public String toString()
ProjectionChoicetoString in interface ProjectionChoicetoString in class Objectpublic abstract String getCurrentCode()
public abstract String getProjectionName()
public Projection getProjection()
ProjectionChoicegetProjection in interface ProjectionChoice