Revision 36760
branches/v2_0_0_prep/extensions/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/fmap/dal/serverexplorer/filesystem/swing/FilesystemExplorerTableWizardPanel.java | ||
---|---|---|
31 | 31 |
import java.util.ArrayList; |
32 | 32 |
import java.util.List; |
33 | 33 |
|
34 |
import org.cresques.cts.IProjection; |
|
34 | 35 |
import org.gvsig.andami.PluginServices; |
35 | 36 |
import org.gvsig.andami.messages.NotificationManager; |
36 | 37 |
import org.gvsig.app.ApplicationLocator; |
... | ... | |
105 | 106 |
public Window getOwnerWindow() { |
106 | 107 |
return null; |
107 | 108 |
} |
109 |
|
|
110 |
public IProjection getViewProjection() { |
|
111 |
return null; |
|
112 |
} |
|
108 | 113 |
|
109 | 114 |
}; |
110 | 115 |
} |
branches/v2_0_0_prep/extensions/extGeoDB/src/org/gvsig/geodb/vectorialdb/wizard/WizardDB.java | ||
---|---|---|
48 | 48 |
import javax.swing.event.ListSelectionListener; |
49 | 49 |
|
50 | 50 |
import org.apache.commons.collections.map.HashedMap; |
51 |
import org.cresques.cts.IProjection; |
|
51 | 52 |
import org.slf4j.Logger; |
52 | 53 |
import org.slf4j.LoggerFactory; |
53 | 54 |
|
... | ... | |
659 | 660 |
return null; |
660 | 661 |
} |
661 | 662 |
|
663 |
public IProjection getViewProjection() { |
|
664 |
return null; |
|
665 |
} |
|
666 |
|
|
662 | 667 |
}; |
663 | 668 |
} |
664 | 669 |
return this.prepareDSContext; |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/prepareAction/PrepareContext.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import java.awt.Window; |
31 | 31 |
|
32 |
import org.cresques.cts.IProjection; |
|
33 |
|
|
32 | 34 |
public interface PrepareContext { |
33 | 35 |
/** |
34 | 36 |
* Return a {@link java.awt.Dialog} or a {@link java.awt.Frame} to use like |
... | ... | |
41 | 43 |
* </ul> |
42 | 44 |
*/ |
43 | 45 |
Window getOwnerWindow(); |
46 |
|
|
47 |
/** |
|
48 |
* Gets the view projection |
|
49 |
* @return IProjection |
|
50 |
*/ |
|
51 |
public IProjection getViewProjection(); |
|
44 | 52 |
} |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/gui/WizardPanel.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
import javax.swing.JPanel; |
27 | 27 |
|
28 |
import org.cresques.cts.IProjection; |
|
28 | 29 |
import org.gvsig.andami.messages.NotificationManager; |
29 | 30 |
import org.gvsig.app.ApplicationLocator; |
30 | 31 |
import org.gvsig.app.ApplicationManager; |
... | ... | |
134 | 135 |
public MapControl getMapControl() { |
135 | 136 |
return mapControl; |
136 | 137 |
} |
138 |
|
|
139 |
public IProjection getViewProjection() { |
|
140 |
return mapControl.getProjection(); |
|
141 |
} |
|
137 | 142 |
}); |
138 | 143 |
if (preparedLayer != null) { |
139 | 144 |
mapContext.getLayers().addLayer(preparedLayer); |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/fmap/dal/serverexplorer/filesystem/swing/FilesystemExplorerAddLayerWizardPanel.java | ||
---|---|---|
183 | 183 |
.getMapCtrl(); |
184 | 184 |
} |
185 | 185 |
|
186 |
public IProjection getViewProjection() { |
|
187 |
return getMapControl().getProjection(); |
|
188 |
} |
|
189 |
|
|
186 | 190 |
}; |
187 | 191 |
} |
188 | 192 |
return this.prepareContext; |
Also available in: Unified diff