Revision 5100 branches/v061/extensions/extDataLocator/src/com/iver/gvsig/datalocator/gui/DataSelectionPanel.java
DataSelectionPanel.java | ||
---|---|---|
63 | 63 |
import com.hardcode.gdbms.engine.values.Value; |
64 | 64 |
import com.hardcode.gdbms.parser.ParseException; |
65 | 65 |
import com.iver.andami.PluginServices; |
66 |
import com.iver.andami.plugins.Extension; |
|
66 | 67 |
import com.iver.andami.ui.mdiManager.SingletonView; |
67 | 68 |
import com.iver.andami.ui.mdiManager.View; |
68 | 69 |
import com.iver.andami.ui.mdiManager.ViewInfo; |
... | ... | |
655 | 656 |
*/ |
656 | 657 |
public void viewClosed() { |
657 | 658 |
mapContext.getLayers().removeLayerCollectionListener(layersListener); |
659 |
// Guardamos la posici?n en las preferencias del usuario. |
|
660 |
ViewInfo vi = PluginServices.getMDIManager().getViewInfo(this); |
|
661 |
prefUsuario.putInt("gvSIG.DataLocator.x", vi.getX()); |
|
662 |
prefUsuario.putInt("gvSIG.DataLocator.y", vi.getY()); |
|
663 |
prefUsuario.putInt("gvSIG.DataLocator.w", vi.getWidth()); |
|
664 |
prefUsuario.putInt("gvSIG.DataLocator.h", vi.getHeight()); |
|
658 | 665 |
} |
659 | 666 |
/* (non-Javadoc) |
660 | 667 |
* @see com.iver.andami.ui.mdiManager.SingletonView#getViewModel() |
Also available in: Unified diff