well the best would be to use:

MenuNames.PLUGINS

(but the class is only available for OJ)

Sunburned Surveyor wrote:
> My bad.
> 
> The plug-in JAR can be downloaded here:
> 
> http://www.redefinedhorizons.com/shared_files/
> 
> The source code is attached.
> 
> Please note that I'm only detailing the plug-in source code file in
> this first example, not the extension source code. I'll tackle
> extensions in a subsequent section. I only wrote the extension to see
> if I could get the stupid plug-in to work. :]
> 
> The Sunburned Surveyor
> 
> P.S. - I put the plug-in command under a top-level SurveyOS menu.
> However, I think it best to keep the number of top-level menus to a
> minimum. I was thinking of moving this plug-in under Layers>Layer
> Utilities.
> 
> Would anyone have a problem with that menu structure? (I'm not talking
> about putting this in the core, just about where to place the plug-in
> command when someone chooses to install the plug-in JAR.)
> 
> On Tue, Jun 24, 2008 at 7:34 PM, Stefan Steiniger <[EMAIL PROTECTED]> wrote:
>> Hei Sunburned,
>>
>> did you forgot an attachement or link?
>>
>> stefan
>>
>> Sunburned Surveyor schrieb:
>>> I've finished my first example for the plug-in programmer's guide. In
>>> this example the user selects a text file and the plug-in writes the
>>> feature count of each layer to the file. I've tried to make the
>>> plug-in user friendly without being to complex from a programmer's
>>> prespective. However, I wanted to do a little more than the typical
>>> "hello world" example, because I know I had trouble figuring out how
>>> to organize the actions of my own plug-in attempts.
>>>
>>> At any rate, if you would be willing to do a review of the source code
>>> before I include it in the guide I would be cery grateful. I want to
>>> make sure I don't do anything careless in the code of my first example
>>> for the guide.
>>>
>>> If you are a user that is interested in using the plug-in, let me
>>> know. I didn't think it would be that practical, so I didn't put the
>>> plug-in JAR online, but it is "working" code if someone thinks they
>>> would use it.
>>>
>>> The Sunburned Surveyor
>>>
>>> P.S. - I think most of my code examples in the guide will deal with
>>> Layers. This will allow for some consistency and will keep the reader
>>> from drowning in the OpenJUMP API.
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to