Hi Giuseppe,
Finally I tested with another computer (with win7) and see this NPE.
Oh, I see. Maybe this is a bug related to a specific java version or a
specific OS. I observed it on Windows Vista + java 1.6.0_26.
Os-dependant bugs are generally more difficult to find and to fix (or to
workaround).
When I changed the position of the attribute panel toolbar and added
these tools here I didn't have any NPE error, honestly I tested only
on Ubuntu (I have to reinstall windows). I wonder if I did a mistake
not to verify on Window.
I'll try to have a look today. Currently, I only use windows. By chance,
Ede have a good experience on both linux and windows, and stefan uses a
mac, so that we have good opportunities to track bugs on any of these
platforms, but it supposes that all of us extensively test any modification.
Michaël
Peppe
------------------------------------------------------------------------
*Da:* Michaël Michaud <michael.mich...@free.fr>
*A:* jump-pilot-devel@lists.sourceforge.net
*Inviato:* Venerdì 30 Dicembre 2011 19:11
*Oggetto:* Re: [JPP-Devel] Feature Info Tool and Layer Attributes
Statistics
Hi,
Thanks for explanation. Hope we'll get some other feedback on this
subject.
*Save datasets* : I see no particular reason to have this button here
as it will save "any" modification, not just attribute modifications
and not just modifications made on active AttributePanel
*Undo/redo* : same remark. Moreover, currently, if you delete
features from the AttributePanel then click undo, features will be
restored in the LayerViewPanel but not in AttributePanel.
- I can reverse these modifications. The idea is to use
AttributePanel for tables with no datasource (we still don't have
something similar, I wanted to test Dante Fuster Import Excel file
for that). As Stefan mentioned it is possible to duplicate the
classes. I follow this way.
I think you mean tables with no "geometry". This feature has to be
discussed. I don't know what is the best approach, creating a specific
FeatureCollections, or using normal FeatureCollections with empty
geometries.
Anyhow, savedatasets saves modified FeatureCollections having a
datasource (linked to a file). So currently, it is not specific to
pure attribute table, and its action is not restricted to tables
visible in the attribute panel.
- undo/redo works. If you delete a feature from Attribute Panel and
click undu, the attribute is restored at the bottom of the table)
You're right, the behaviour I described is for Info Panel, not
Attribute Panel. I still think undo/redo is not necessary at this
place, but it is OK for Attribute Panel if other users think it's
useful. But it is not adapted to Info Panel.
If I remember correctly, it may not be easy to have different
behaviours in Attribute Panel and in Info Panel.
Most important thing now is to fix the NPE, and to see if we can
define behaviours fitting exactly what we want for attribute panel
(only one layer) and for info panel (where several layers can be
displayed).
Michaël
*View/Edit schema* : very useful for ViewAttribute plugin, not
working (NPE) for InfoPanel if several layers are displayed (should
not be available for InfoPanel IMHO)
- View/Edit schema is also activated using right click on View
Attribute panel. I think that a view/edit schema button on the
toolbar is more visible.
*Statistics *: very good idea for ViewAttribute plugin, not working
(NPE) for InfoPanel if several layers are displayed (should not be
available for InfoPanel IMHO)
- I like the idea to add Attribute plugins as button on the Attribute
panel toolbar. I did some tests on OJ jufre (add area/perimeter or
calculator plugins). But there are still some problems to solve
(values not correctly displayed, etc).
Peppe
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free!http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel