Hi Michaël,

thanks for fixing that. My mistake, sorry. I've never tested with a new 
layer without a datasorce.

Matthias
> Hi Matthias,
>
> I tried to fix a NPE thrown by new
> AttributeTablePanel.initColumnWidths()
> for layers which have not datasource yet.
> Would you have a look and check if it's OK with your change ?
>
> Michaël
>
> Le 26/12/2011 19:12, Matthias Scholz a écrit :
>> Hi,
>>
>> I've commited some changes in the AttributePanel and
>> AttributeTablePanel. Both classes are used by View/Edit Attributes and
>> Feature Info Tool. The layout are now more consistent in both tools. The
>> attribute tables are on top and not vertically centred. Especially the
>> Feature Info Tool had a ugly layout with many space between the tables,
>> if more than one tables with only a few rows was shown.
>> The second change is more significant for edit attributes. A change on
>> the column with will now be stored in the project(file). So if you open
>> an attribute table again, the columns have the previous set width.
>>
>> In the future I can imagine me, that the user can switch the attribute
>> windows from an internal window to a separate window, which will be
>> placed always on top of the OJ window. I think that the user can create
>> and edit attributes faster with that. We should keep in mind, that GIS
>> people mostly have two displays on the desktop.
>>
>> An other small improvement is that the Feature Info Tool can select only
>> features on the selected layers, such as the Select Features Tool with
>> the pressed<CTRL>   button. I tries  to find how i can make this, but
>> with no success :-( I know that OJ use the QuasimodeTool class for such
>> stuff. I hope one of the other developers can help.
>>
>> Matthias
>>
>> ------------------------------------------------------------------------------
>> Write once. Port to many.
>> Get the SDK and tools to simplify cross-platform app development. Create
>> new or port existing apps to sell to consumers worldwide. Explore the
>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>> http://p.sf.net/sfu/intel-appdev
>> _______________________________________________
>> 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


------------------------------------------------------------------------------
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

Reply via email to