Revision 44012 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/expressionevaluator/ViewTakeProjectionCodeElement.java
ViewTakeProjectionCodeElement.java | ||
---|---|---|
3 | 3 |
import org.cresques.cts.IProjection; |
4 | 4 |
import org.gvsig.app.ApplicationLocator; |
5 | 5 |
import org.gvsig.app.ApplicationManager; |
6 |
import org.gvsig.app.project.documents.Document; |
|
7 | 6 |
import org.gvsig.app.project.documents.view.ViewDocument; |
8 | 7 |
import org.gvsig.app.project.documents.view.ViewManager; |
9 | 8 |
import org.gvsig.expressionevaluator.swing.Element.SimpleElement; |
10 | 9 |
import org.gvsig.expressionevaluator.swing.Element.ConstantElement; |
11 | 10 |
import org.gvsig.expressionevaluator.swing.spi.AbstractElement; |
11 |
import org.gvsig.tools.ToolsLocator; |
|
12 | 12 |
|
13 | 13 |
/** |
14 | 14 |
* |
... | ... | |
20 | 20 |
implements SimpleElement, ConstantElement |
21 | 21 |
{ |
22 | 22 |
public ViewTakeProjectionCodeElement() { |
23 |
super("Take projection code", "Take the projection code of the current view", "expressionbuilder-element-view-projection-code"); |
|
23 |
super( |
|
24 |
ToolsLocator.getI18nManager().getTranslation("_Take_projection_code"), |
|
25 |
"Take the projection code of the current view", |
|
26 |
"expressionbuilder-element-view-projection-code" |
|
27 |
); |
|
24 | 28 |
} |
25 | 29 |
|
26 | 30 |
@Override |
Also available in: Unified diff