[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] SLD plugin & ExternalGraphic support | 
Hi Vincent,
I tried last year (december) to render points with images. I tried to 
create a new StyleConfigurator, then a new StyleContent, then a new 
Renderer but I all always met problems. I finally decided to modify 
some uDig plugins. I think my problems came because of the lack of 
support of external graphic by SLD plugin. Adding this functionnality 
cannot be handled by another plugin. Modifications had to be done 
directly on this plugin (It's my current comprehension of the 
framework). What I did (partially).
I know that modifying core uDig plug-ins is not a good practice and 
that I won't be able to simply benefit from next uDig releases. I 
X-Original-To: udig-devel@xxxxxxxxxxxxxxxxxxxxx
Delivered-To: udig-devel@xxxxxxxxxxxxxxxxxxxxxxxxx
Received: from wha.presling.com (vulcan.argonautltd.co.nz [202.21.136.199])
	by netnation.refractions.net (Postfix) with ESMTP id B6A122C07FD
	for <udig-devel@xxxxxxxxxxxxxxxxxxxxx>;
	Tue, 24 Jan 2006 17:29:28 -0800 (PST)
Received: from [192.168.201.111] (unknown [192.168.201.1])
	by wha.presling.com (Postfix) with ESMTP id 12F2C2E808F
	for <udig-devel@xxxxxxxxxxxxxxxxxxxxx>;
	Wed, 25 Jan 2006 14:35:55 +1300 (NZDT)
Message-ID: <43D6D496.3080805@xxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 14:29:58 +1300
From: Mark Presling <mark@xxxxxxxxxxxx>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [udig-devel] Adding a ModalTool to the action bar
References: <43D6CCFA.5080807@xxxxxxxxxxxx> <43D6CE1D.8090705@xxxxxxxxxxxxxxx>
In-Reply-To: <43D6CE1D.8090705@xxxxxxxxxxxxxxx>
Content-Type: multipart/mixed; boundary="------------080706080503020406090105"
X-Presling-MailScanner-Information: Please contact postmaster@xxxxxxxxxxxx for
	more information
X-Presling-MailScanner: Found to be clean
X-Presling-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.899,
	required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60)
X-MailScanner-From: mark@xxxxxxxxxxxx
X-BeenThere: udig-devel@xxxxxxxxxxxxxxxxxxxxx
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
List-Id: User-friendly Desktop Internet GIS <udig-devel.lists.refractions.net>
List-Unsubscribe: <http://lists.refractions.net/mailman/listinfo/udig-devel>, 
	<mailto:udig-devel-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
List-Archive: <http://lists.refractions.net/pipermail/udig-devel>
List-Post: <mailto:udig-devel@xxxxxxxxxxxxxxxxxxxxx>
List-Help: <mailto:udig-devel-request@xxxxxxxxxxxxxxxxxxxxx?subject=help>
List-Subscribe: <http://lists.refractions.net/mailman/listinfo/udig-devel>,
	<mailto:udig-devel-request@xxxxxxxxxxxxxxxxxxxxx?subject=subscribe>
X-List-Received-Date: Wed, 25 Jan 2006 01:29:31 -0000
This is a multi-part message in MIME format.
--------------080706080503020406090105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
You're a legend Jessie. I can't believe how quick you are to respond. 
Thanks heaps, that certainly was the problem. I didn't realise that you 
had to do that. Where are the others defined? I haven't seen them 
anywhere yet?
Thanks heaps,
Mark
Jesse Eichar wrote:
Are you defining a new category extension as well?  It is another 
element in the same extension point.
Jesse
Mark Presling wrote:
Hi guys,
I am trying to add a new ModalTool to the action bar in my app and am 
coming across some problems around categories. If I specify one of 
the existing categories, such as 
net.refractions.udig.tool.category.zoom my tool appears in the zoom 
dropdown on the tool bar. If I specify my own category (such as 
net.refractions.udig.tool.category.test) it doesn't appear.
I've debugged the point in ToolManager where it's looping through the 
extensions (net.refractions.udig.project.ui.tool) and setting up the 
categories, but it never comes across my new category.
Here's the tool definition in my plugin.xml.
  <extension
        point="net.refractions.udig.project.ui.tool">
           <modalTool
                 categoryId="net.refractions.udig.tool.category.new"
                 class="nz.govt.transit.callcenter.tool.PointEventTool"
                 icon="icons/calander_Icon.gif"
                 id="nz.govt.transit.callcenter.tool.PointEventTool"
                 name="name"
                 onToolbar="true"
                 tooltip="tooltip">
              <cursor
           hotspotY="10"
           hotspotX="10"
           image="icons/calander_Icon.gif"
           id="crosshair"/>
        </modalTool>
  </extension>
Apart from the fact that I am using a calendar icon, what is wrong 
with this? Why can't I define my own category? I can confirm that 
when I set the categoryId to net.refractions.udig.tool.category.zoom 
it appears under that dropdown. Do I need to define a category 
somewhere else?
Thanks,
Mark
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
  
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
--
This message has been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.
--------------080706080503020406090105
Content-Type: text/x-vcard; charset=utf-8;
name="mark.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="mark.vcf"
begin:vcard
fn:Mark Presling
n:Presling;Mark
email;internet:mark@xxxxxxxxxxxx
tel;home:+6442322774
tel;cell:+6421549540
version:2.1
end:vcard
--------------080706080503020406090105--