Revision 874 org.gvsig.proj/branches/refactor2018/org.gvsig.proj/org.gvsig.proj.swing/org.gvsig.proj.swing.api/src/main/java/org/gvsig/proj/swing/CoordinateReferenceSystemSwingManager.java

View differences:

CoordinateReferenceSystemSwingManager.java
25 25

  
26 26
import java.util.Set;
27 27

  
28
import javax.swing.JButton;
29
import javax.swing.JLabel;
30

  
28 31
import org.gvsig.proj.CoordinateReferenceSystemManager;
32
import org.gvsig.proj.CoordinateTransformation;
29 33
import org.gvsig.proj.catalog.CRSCatalogManager;
30 34
import org.gvsig.proj.catalog.CRSDefinition;
31 35
import org.gvsig.proj.catalog.TransformationDefinition;
......
48 52
     * @return a {@link CoordinateReferenceSystemSelectorComponent} to select a
49 53
     *         CoordinateReferenceSystem
50 54
     */
51
    CoordinateReferenceSystemSelectorComponent createCoordinateReferenceSystemSelectionComponent();
55
    CoordinateReferenceSystemSelectorComponent createCoordinateReferenceSystemSelectorComponent();
52 56

  
53 57
    /**
54 58
     * Returns the component to select a CoordinateTransformation.
......
56 60
     * @return a {@link CoordinateTransformationSelectorComponent} to select a
57 61
     *         CoordinateTransformation 
58 62
     */
59
    CoordinateTransformationSelectorComponent createCoordinateTransformSelectionComponent();
63
    CoordinateTransformationSelectorComponent createCoordinateTransformSelectorComponent();
60 64
    
61 65
    /**
66
     * Returns the component to select a CoordinateReferenceSystem and a CoordinateTransformation
67
     * from or to this CoordinateReferenceSystem.
68
     * 
69
     * @return a {@link CoordinateReferenceSystemAndTransformationSelectorComponent} to select a
70
     *         CoordinateReferenceSystem and a CoordinateTransformation
71
     */
72
    CoordinateReferenceSystemAndTransformationSelectorComponent createCoordinateReferenceSystemAndTransformationSelectorComponent();
73
    
74
    /**
62 75
     * Gets the list of recently used CoordinateReferenceSystems.
63 76
     * 
64 77
     * @return A <code>RecentHistory</code> object, which can be used to add new
......
152 165
     * documentation to see the expected structure of the DynObject.
153 166
     */
154 167
    public void setPreferences(DynObject preferences);
168

  
169
    /**
170
     * Creates a component to show and change a {@link CoordinateReferenceSystem} and a
171
	 * {@link CoordinateTransformation}. 
172
     * @return
173
     */
174
	CoordinateReferenceSystemAndTransformFieldComponent createCoordinateReferenceSystemAndTransformFieldComponent();
175

  
176
	/**
177
	 * Creates a controller to select a {@link CoordinateReferenceSystem} and a
178
	 * {@link CoordinateTransformation}, based on a custom component created by the
179
	 * user of this method.
180
	 *  
181
	 * @param lblCrsAndTransform The label to show the selected CRS and transformation
182
	 * @param btnSelectCrsAndTransform The button to change the CRS and transformation
183
	 * @return
184
	 */
185
	CoordinateReferenceSystemAndTransformFieldController createCoordinateReferenceSystemAndTransformField(
186
			JLabel lblCrsAndTransform, JButton btnSelectCrsAndTransform);
155 187
}

Also available in: Unified diff