Geoff,

It looks like most of the attributes are failing to be written to the
XML file for your class.

That is really weird and I have no idea what recent changes would have
caused this break. As far as I know, we don't have anyone mucking
around in the Java2XML code. If we don't have another programmer with
a suggestion, the only way to figure it out may be with some testing.

The Sunburned Surveyor

On Thu, Dec 23, 2010 at 5:47 PM, Geoffrey Roy <ge...@cadplan.com.au> wrote:
> Dear  All
>
> I am quite sure that the problem with the VertexSymbols plugin relates
> to the version of OpenJump.  I can generate the problem using the same
> plugin file, same JVM, just with a different OpenJump version.
>
> When vertex symbols are attached to a layer and the project file is
> saved the style entry for the layer in the project file looks (or
> should) like this (in vers 1.2 of OJ):
>
> <style class="com.cadplan.jump.ExternalSymbolsImplType" enabled="true"
> size="16" numSides="4" orientation="0.0" showLine="true" showFill="true"
> dotted="false" attributeName="" byValue="true" symbolName="@star6"
> symbolType="1" textEnabled="false" textAttributeName="$FID"
> textFontName="SansSerif" textFontSize="10" textFontStyle="0"
> textFontJustification="0" textPosition="0" textOffset="1"
> textOffsetValue="0" textScope="1" textBackgroundColor="255, 255, 255,
> 255" textForegroundColor="0, 0, 0, 255" textFill="false" textBorder="0" />
>
> That is, it contains all the required parameters to define the symbol
> style.  I presume the XML is generated by
> com.vividsolutions.jump.util.java2xml.Java2XML.
>
> In vers 1.4 of OJ we actually get the following:
>
> <style class="com.cadplan.jump.ExternalSymbolsImplType" enabled="true" />
>
> The details are missing.  This seems to indicate that my new Vertex
> style is not correctly registered for the XML conversion.
>
> Ant thoughts?
>
> Geoff
>
> --
> Dr Geoffrey G Roy
> Cadplan
> 129 Gloster Street, Subiaco WA 6008
> Tel: (08) 9381 4870  Fax: (08) 9382 4459
> Email: ge...@cadplan.com.au
> http://www.cadplan.com.au
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to