Revision 47433 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.newlayer/org.gvsig.newlayer.lib/org.gvsig.newlayer.lib.impl/src/main/java/org/gvsig/newlayer/impl/panels/FeatureTypePanel.java
FeatureTypePanel.java | ||
---|---|---|
60 | 60 |
DataSwingManager dataSwingManager = DALSwingLocator.getSwingManager(); |
61 | 61 |
EditableFeatureType ft = dataManager.createFeatureType(); |
62 | 62 |
this.featureTypeEditor = dataSwingManager.createFeatureTypePanel(); |
63 |
this.featureTypeEditor.setDefaultProjection(this.wizard.getService().getDefaultProjection()); |
|
63 | 64 |
this.featureTypeEditor.setMode(MODE_EDIT_ALL); |
64 | 65 |
this.featureTypeEditor.put(ft); |
65 | 66 |
} |
... | ... | |
72 | 73 |
|
73 | 74 |
@Override |
74 | 75 |
public void enterPanel() { |
76 |
this.featureTypeEditor.setDefaultProjection(this.wizard.getService().getDefaultProjection()); |
|
75 | 77 |
EditableFeatureType ft = this.provider.getFeatureType(); |
76 | 78 |
if (ft!= null) { |
77 | 79 |
this.featureTypeEditor.put(ft); |
Also available in: Unified diff