I am importing shape file sets to PlugIn layers via the EsriPlugIn. The
problem I am having is that if these shape file sets were exported from
OpenMap using EsriShapeExport the index in the ListSelectionModel is off
by 1. Meaning if I click on the graphic with index 0, nothing is
highlighted in the table, and when I click on the graphic with index 1
the table row of index 0 is highlighted and so on. I found that in the
selectEntry(OMGraphic) method of EsriPlugIn the statement
lsm.setSelectionInterval(index-1, index-1) if changed to
lsm.setSelectionInterval(index, index) will correct this problem.
However, as stated above this only seems to be a problem with shape file
sets exported from OpenMap. Shape file sets obtained from other sources
work fine with the original code and are obviously off by 1 in the
opposite direction of the list when I make the above change. Any
thoughts on this?
Thank You,
************************
Lonnie Goad - Programmer
OptiMetrics Inc.
2107 Laurel Bush Rd. Suite 209
Bel Air, Md. 21015
LGoad@OptiMetrics.org
http://www.OptiMetrics.org
(410)569-6081 ext: 105
fax: (410)569-6083
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jul 9 13:58:07 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT