Revision 798 org.gvsig.proj/branches/refactor2018/org.gvsig.proj/org.gvsig.proj.swing/org.gvsig.proj.swing.api/src/main/java/org/gvsig/proj/swing/CoordinateTransformationSelectorComponent.java
CoordinateTransformationSelectorComponent.java | ||
---|---|---|
71 | 71 |
* the source {@link CoordinateReferenceSystem} |
72 | 72 |
*/ |
73 | 73 |
void setSourceCoordinateReferenceSystem(CoordinateReferenceSystem source); |
74 |
|
|
75 |
/** |
|
76 |
* Sets the source {@link CoordinateReferenceSystem} and defines whether |
|
77 |
* the source CRS selector should be editable by the user. The selector |
|
78 |
* will be enabled by default. |
|
79 |
* |
|
80 |
* @param crs |
|
81 |
* the source {@link CoordinateReferenceSystem} |
|
82 |
* @param editable |
|
83 |
* whether the source coordinate reference system control |
|
84 |
* should be editable by the user |
|
85 |
*/ |
|
86 |
void setSourceCoordinateReferenceSystem(CoordinateReferenceSystem source, boolean editable); |
|
74 | 87 |
|
75 | 88 |
/** |
76 | 89 |
* Sets the target {@link CoordinateReferenceSystem}. |
... | ... | |
81 | 94 |
void setTargetCoordinateReferenceSystem(CoordinateReferenceSystem target); |
82 | 95 |
|
83 | 96 |
/** |
84 |
* Defines whether the source coordinate reference system selector |
|
85 |
* should be visible in the panel |
|
86 |
* @param show |
|
97 |
* Sets the target {@link CoordinateReferenceSystem} and defines whether |
|
98 |
* the target CRS selector should be editable by the user. The selector |
|
99 |
* will be enabled by default. |
|
100 |
* |
|
101 |
* @param target |
|
102 |
* the target {@link CoordinateReferenceSystem} |
|
103 |
* @param editable |
|
104 |
* whether the target coordinate reference system control |
|
105 |
* should be editable by the user |
|
87 | 106 |
*/ |
88 |
void showSourceCoordinateReferenceSystemSelector(boolean visible);
|
|
107 |
void setTargetCoordinateReferenceSystem(CoordinateReferenceSystem target, boolean editable);
|
|
89 | 108 |
|
90 | 109 |
/** |
91 |
* Determines whether the source coordinate reference system selector |
|
92 |
* should be visible when the panel is visible |
|
93 |
* @param show |
|
94 |
*/ |
|
95 |
boolean isSourceCoordinateReferenceSystemSelectorVisible(); |
|
96 |
|
|
97 |
/** |
|
98 |
* Defines whether the target coordinate reference system selector |
|
99 |
* should be visible in the panel |
|
110 |
* Determines whether the source coordinate reference system control |
|
111 |
* is editable by the user |
|
100 | 112 |
* |
101 |
* @param show
|
|
113 |
* @see #setSourceCoordinateReferenceSystem(CoordinateReferenceSystem, boolean)
|
|
102 | 114 |
*/ |
103 |
void showTargetCoordinateReferenceSystemSelector(boolean visible);
|
|
115 |
boolean isSourceCoordinateReferenceSystemEditable();
|
|
104 | 116 |
|
105 | 117 |
/** |
106 |
* Determines whether the target coordinate reference system selector
|
|
107 |
* should be visible when the panel is visible
|
|
118 |
* Determines whether the target coordinate reference system control
|
|
119 |
* should be editable by the user
|
|
108 | 120 |
* |
109 |
* @param show
|
|
121 |
* @see #setTargetCoordinateReferenceSystem(CoordinateReferenceSystem, boolean)
|
|
110 | 122 |
*/ |
111 |
boolean isTargetCoordinateReferenceSystemSelectorVisible();
|
|
123 |
boolean isTargetCoordinateReferenceSystemEditable();
|
|
112 | 124 |
} |
Also available in: Unified diff