Re: [JPP-Devel] Death of our wiki.

2009-09-21 Thread Stefan Steiniger
Hei,

well.. I would prefer a clean out... i.e. a reorganization. I started 
with that already on thursday evening a bit. However, the re-orgaisation 
applies rather to a top level and not to pages itself.

everybody who is registered at sourceforge is welcome to do the move. If 
somebody wishes to register for the jump pilot project, then send me an 
email.

stefan

Sunburned Surveyor schrieb:
> Now all we need is to convert the HTML files to the new format. Do we
> have any volunteers that would like to help with this? Is this a good
> time to clean-out and reorganize the wiki?
> 
> Landon
> 
> On Fri, Sep 18, 2009 at 3:16 PM, Sunburned Surveyor
>  wrote:
>> Got it.
>>
>> On Fri, Sep 18, 2009 at 2:51 PM, Larry Becker  wrote:
>>> Just go to the wiki and export in HTML.
>>>
>>> On Fri, Sep 18, 2009 at 4:47 PM, Sunburned Surveyor
>>>  wrote:
 Is there an easy way to get from textile to HTML?

 SS

 On Fri, Sep 18, 2009 at 2:38 PM, Larry Becker 
 wrote:
> It looks like the easiest way to move to MediaWiki is to export to HTML
> and
> use: http://toolserver.org/~diberri/cgi-bin/html2wiki/index.cgi
>
> Larry
>
> On Thu, Sep 17, 2009 at 1:46 PM, Larry Becker 
> wrote:
>> Not much help here either:
>>
>> http://www.mediawiki.org/wiki/Manual:FAQ#Importing_from_other_types_of_wiki_software
>>
>> Larry
>>
>> On Thu, Sep 17, 2009 at 1:41 PM, Larry Becker 
>> wrote:
>>> I've maintained a MediaWiki once before.  It is very robust.  I like
>>> it,
>>> but it doesn't seem to import textile formatting.  The only thing I
>>> could
>>> find is a bit of Python code to do some of the conversion at
>>> http://www.swaroopch.com/notes/Basecamp_to_MediaWiki
>>>
>>> def format_content(text):
>>> '''Given text in Textile syntax, convert to MediaWiki syntax.'''
>>>
>>> if text is None:
>>> return ''
>>> text = re.sub(r'"([^"]+)":([^\s]+)', r'[\2 \1]', text) # external
>>> link
>>>
>>> text = re.sub(r"(?:\*\*|__)(\w+)(?:\*\*|__)", r"'''\1'''", text) #
>>> bold
>>>
>>> text = re.sub(r"(?:\*|_)(\w+)(?:\*|_)", r"''\1''", text) # italics
>>>
>>> # TODO Convert links to Writeboards into internal links on this
>>> wiki
>>> page
>>> return text
>>>
>>> Larry
>>>
>>> On Thu, Sep 17, 2009 at 1:28 PM, Sunburned Surveyor
>>>  wrote:
 The MediaWiki looks nice Stefan. I think it may be a good option.

 Landon

 On Thu, Sep 17, 2009 at 11:25 AM, Stefan Steiniger
 
 wrote:
> sorry for the many emails:
>
> but MediaWiki looks nice:
>
>
>
> https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Main_Page
>
> could be the way to go. And at least people that are part of the SF
> project can write to it (which would be good start).
>
> stefan
>
> Stefan Steiniger wrote:
>> wow... there are quite a bit of features you can get now:
>>
>> . AN GuestbookGuest Book
>> . Bazaar  Source Control
>> . CodeStriker Code Review
>> . CVS Source Control
>> . dotProject  Project Management
>> . Gallery Image Gallery
>> . Git Source Control
>> . IdeaTorrent Idea Brainstorm
>> . LaconicaMicroblog
>> . LimeSurvey  Survey
>> . MantisBTBug Tracking
>> . MediaWiki   Wiki
>> . Mercurial   Source Control
>> . phpBB   Forum
>> . phpWebSite  Content Management
>> . Piwik   Web Analytics
>> . TaskFreak!  Task Management
>> . TracWiki / Bug Tracking / Etc
>> . URL Shortening  Administrative
>> . Wordpress   Blogging
>>
>> from my perspective Trak is nice, but doesn't look very pleasing.
>> Maybe
>> I enable MediaWiki for testing? (If it doesn't have the SF
>> header).
>> The
>> stats tool are nice too (piwiki)
>>
>> stefan
>>
>> edgar.sol...@web.de wrote:
>>> it is there, i have activated on a project of mine.. but haven't
>>> used it yet
>>> You have to dig a bit, it is under 'project admin'->'features' ..
>>> they
>>> also have wordpress
>>>
>>> .. ede
>>>
 I got a message from sourceforge that project wikis should
 migrate
 to TRAC
 or MediaWiki, but I haven't seen any support for MediaWiki on SF
 yet.  Of
 course, I can't find anything else either after their
 'redesign'.
 :-(

 Larry

 On Thu, Sep 17, 2009 at 9:52 AM, Sunburn

Re: [JPP-Devel] Question on LayerPrinter2 and on OpenJUMPConfiguration

2009-09-21 Thread Sunburned Surveyor
Stefan wrote: "is your question serious?"

Of course. I usually put in a smiley face if I am joking.

Stefan wrote: "the XML file for loading plugins partly replaced
OpenJUMPConfiguration.
However, a couple if OJ additions in particular the file loader
framework and theming/display styles are still initialized there.
Hence, I have kept this class to load things that are standard and
should not be loaded on demand, such as functionality enhancements. If
you look into the class you should see what it loads."

Thanks for the information. I am ripping the file loader frameowork
out of BizzJUMP, so I won't need that. I'll take a look at the
style/theming stuff that is still loaded in the OpenJUMPConfiguration
class. I'll be moving functionality that I can into standard plug-ins.

SS

On Mon, Sep 21, 2009 at 9:29 AM, Stefan Steiniger  wrote:
>>
>> - What is the purpose of the OpenJUMPConfiguration class? Is it really
>> needed? Can't we have OpenJUMP plug-ins loaded via the standard
>> mechanism in by placing a JAR file in the lib/ext directory? How is
>> the functionality of the OpenJUMPConfiguration class duplicated by the
>> plug-in XML file we use?
>
> is your question serious?
>
> the XML file for loading plugins partly replaced OpenJUMPConfiguration.
> However, a couple if OJ additions in particular the file loader
> framework and theming/display styles are still initialized there.
> Hence, I have kept this class to load things that are standard and
> should not be loaded on demand, such as functionality enhancements. If
> you look into the class you should see what it loads.
>
> stefan
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Question on LayerPrinter2 and on OpenJUMPConfiguration

2009-09-21 Thread Stefan Steiniger
> 
> - What is the purpose of the OpenJUMPConfiguration class? Is it really
> needed? Can't we have OpenJUMP plug-ins loaded via the standard
> mechanism in by placing a JAR file in the lib/ext directory? How is
> the functionality of the OpenJUMPConfiguration class duplicated by the
> plug-in XML file we use?

is your question serious?

the XML file for loading plugins partly replaced OpenJUMPConfiguration. 
However, a couple if OJ additions in particular the file loader 
framework and theming/display styles are still initialized there.
Hence, I have kept this class to load things that are standard and 
should not be loaded on demand, such as functionality enhancements. If 
you look into the class you should see what it loads.

stefan


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Death of our wiki.

2009-09-21 Thread Sunburned Surveyor
Now all we need is to convert the HTML files to the new format. Do we
have any volunteers that would like to help with this? Is this a good
time to clean-out and reorganize the wiki?

Landon

On Fri, Sep 18, 2009 at 3:16 PM, Sunburned Surveyor
 wrote:
> Got it.
>
> On Fri, Sep 18, 2009 at 2:51 PM, Larry Becker  wrote:
>> Just go to the wiki and export in HTML.
>>
>> On Fri, Sep 18, 2009 at 4:47 PM, Sunburned Surveyor
>>  wrote:
>>>
>>> Is there an easy way to get from textile to HTML?
>>>
>>> SS
>>>
>>> On Fri, Sep 18, 2009 at 2:38 PM, Larry Becker 
>>> wrote:
>>> > It looks like the easiest way to move to MediaWiki is to export to HTML
>>> > and
>>> > use: http://toolserver.org/~diberri/cgi-bin/html2wiki/index.cgi
>>> >
>>> > Larry
>>> >
>>> > On Thu, Sep 17, 2009 at 1:46 PM, Larry Becker 
>>> > wrote:
>>> >>
>>> >> Not much help here either:
>>> >>
>>> >> http://www.mediawiki.org/wiki/Manual:FAQ#Importing_from_other_types_of_wiki_software
>>> >>
>>> >> Larry
>>> >>
>>> >> On Thu, Sep 17, 2009 at 1:41 PM, Larry Becker 
>>> >> wrote:
>>> >>>
>>> >>> I've maintained a MediaWiki once before.  It is very robust.  I like
>>> >>> it,
>>> >>> but it doesn't seem to import textile formatting.  The only thing I
>>> >>> could
>>> >>> find is a bit of Python code to do some of the conversion at
>>> >>> http://www.swaroopch.com/notes/Basecamp_to_MediaWiki
>>> >>>
>>> >>> def format_content(text):
>>> >>>     '''Given text in Textile syntax, convert to MediaWiki syntax.'''
>>> >>>
>>> >>>     if text is None:
>>> >>>         return ''
>>> >>>     text = re.sub(r'"([^"]+)":([^\s]+)', r'[\2 \1]', text) # external
>>> >>> link
>>> >>>
>>> >>>     text = re.sub(r"(?:\*\*|__)(\w+)(?:\*\*|__)", r"'''\1'''", text) #
>>> >>> bold
>>> >>>
>>> >>>     text = re.sub(r"(?:\*|_)(\w+)(?:\*|_)", r"''\1''", text) # italics
>>> >>>
>>> >>>     # TODO Convert links to Writeboards into internal links on this
>>> >>> wiki
>>> >>> page
>>> >>>     return text
>>> >>>
>>> >>> Larry
>>> >>>
>>> >>> On Thu, Sep 17, 2009 at 1:28 PM, Sunburned Surveyor
>>> >>>  wrote:
>>> 
>>>  The MediaWiki looks nice Stefan. I think it may be a good option.
>>> 
>>>  Landon
>>> 
>>>  On Thu, Sep 17, 2009 at 11:25 AM, Stefan Steiniger
>>>  
>>>  wrote:
>>>  > sorry for the many emails:
>>>  >
>>>  > but MediaWiki looks nice:
>>>  >
>>>  >
>>>  >
>>>  > https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Main_Page
>>>  >
>>>  > could be the way to go. And at least people that are part of the SF
>>>  > project can write to it (which would be good start).
>>>  >
>>>  > stefan
>>>  >
>>>  > Stefan Steiniger wrote:
>>>  >> wow... there are quite a bit of features you can get now:
>>>  >>
>>>  >> . AN Guestbook        Guest Book
>>>  >> . Bazaar      Source Control
>>>  >> . CodeStriker         Code Review
>>>  >> . CVS         Source Control
>>>  >> . dotProject  Project Management
>>>  >> . Gallery     Image Gallery
>>>  >> . Git         Source Control
>>>  >> . IdeaTorrent         Idea Brainstorm
>>>  >> . Laconica    Microblog
>>>  >> . LimeSurvey  Survey
>>>  >> . MantisBT    Bug Tracking
>>>  >> . MediaWiki   Wiki
>>>  >> . Mercurial   Source Control
>>>  >> . phpBB       Forum
>>>  >> . phpWebSite  Content Management
>>>  >> . Piwik       Web Analytics
>>>  >> . TaskFreak!  Task Management
>>>  >> . Trac        Wiki / Bug Tracking / Etc
>>>  >> . URL Shortening      Administrative
>>>  >> . Wordpress   Blogging
>>>  >>
>>>  >> from my perspective Trak is nice, but doesn't look very pleasing.
>>>  >> Maybe
>>>  >> I enable MediaWiki for testing? (If it doesn't have the SF
>>>  >> header).
>>>  >> The
>>>  >> stats tool are nice too (piwiki)
>>>  >>
>>>  >> stefan
>>>  >>
>>>  >> edgar.sol...@web.de wrote:
>>>  >>> it is there, i have activated on a project of mine.. but haven't
>>>  >>> used it yet
>>>  >>> You have to dig a bit, it is under 'project admin'->'features' ..
>>>  >>> they
>>>  >>> also have wordpress
>>>  >>>
>>>  >>> .. ede
>>>  >>>
>>>   I got a message from sourceforge that project wikis should
>>>   migrate
>>>   to TRAC
>>>   or MediaWiki, but I haven't seen any support for MediaWiki on SF
>>>   yet.  Of
>>>   course, I can't find anything else either after their
>>>   'redesign'.
>>>   :-(
>>>  
>>>   Larry
>>>  
>>>   On Thu, Sep 17, 2009 at 9:52 AM, Sunburned Surveyor <
>>>   sunburned.surve...@gmail.com> wrote:
>>>  
>>>  
>>>  > Thanks for grabbing that back-up Jon! We really appreciate it.
>>>  >
>>>  > Stefan,
>>>  >
>>>  > What do you think about putting this zip up on the SourceForge
>>>  > site for
>>> >>

Re: [JPP-Devel] Question on LayerPrinter2 and on OpenJUMPConfiguration

2009-09-21 Thread Sunburned Surveyor
Thanks for the tip Larry. Eclipse seems to always have another handy
tool I haven't learned about.

In the source code LayerPrinter and LayerPrinter2 looked very similar,
so I was trying to determine the difference. I may compare the two (2)
files with the diff tool if Stefan doesn't have any short
explanations.

It also looks like I might be able to eliminate the
OpenJUMPConfiguration class from BizzJUMP. That is why I was asking
Stefan about it. It appears the class has gone through a lot of
changes, because several sections of it are commented out.

The Sunburned Surveyor

On Mon, Sep 21, 2009 at 6:27 AM, Larry Becker  wrote:
> Hi Sunburned,
>
>   As a general tip, try the Eclipse Search->File option and search for the
> Class you are interested in.  I find that looking at where the class is used
> gives me a lot of information about it.
>
> regards,
> Larry
>
> On Fri, Sep 18, 2009 at 4:56 PM, Sunburned Surveyor
>  wrote:
>>
>> I have been running around the source code in the core over the last
>> couple of days, and I had questions on a couple of classes I found
>> there.
>>
>> - What is the purpose of the LayerPrinter2 class? I didn't find any
>> documentation on in the source code or Javadoc that indicated what it
>> did that was significantly different from the LayerPrinter class?
>>
>> - What is the purpose of the OpenJUMPConfiguration class? Is it really
>> needed? Can't we have OpenJUMP plug-ins loaded via the standard
>> mechanism in by placing a JAR file in the lib/ext directory? How is
>> the functionality of the OpenJUMPConfiguration class duplicated by the
>> plug-in XML file we use?
>>
>> Thanks for any info.
>>
>> Landon
>>
>>
>> --
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
> --
> Larry Becker
> Integrated Systems Analysts, Inc.
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Hi all

2009-09-21 Thread Sunburned Surveyor
Thanks for the suggestion Benjamin.

On Fri, Sep 18, 2009 at 6:29 AM, Benjamin Gudehus
 wrote:
> Hallo Nils!
>
> I had the very same problem with ColorThemingStyle.
>
> To solve it you need to change the following two things
>
>  1. With lyrTest.addStyle(ctStyle) an _additional_ style is added. It's
> better to modify the already
>     existing styles (OpenJUMP creates these automaticly during the creation
> of the layer). This
>     is possible for instance for ColorThemingStyles using the method
> ColorThemingStyle.get().
>
>  2. To map the attribute values to colors you need to define two maps. One
> containing the colours for
>     the values and another one containing its labels. Use the methods
> ColorThemingStyle
>     .setAttributeValueToBasicStyleMap(), resp.
> ColorThemingStyle.setAttributeValueToLabelMap().
>
> Here's my code (in Groovy):
>
> 
>     def colorThemingStyle = ColorThemingStyle.get(layer)
>     colorThemingStyle.setAttributeName("ATTRIBUTE_NAME")
>     colorThemingStyle.setDefaultStyle(new BasicStyle(Color.gray))
>     colorThemingStyle.setAttributeValueToBasicStyleMap([
>     0: new BasicStyle(Color.green),
>     1: new BasicStyle(Color.red),
>     ] as HashMap)
>     colorThemingStyle.setAttributeValueToLabelMap([
>     0: "Linked",
>     1: "Not linked",
>     ] as HashMap)
>     colorThemingStyle.setEnabled(true)
>     layer.fireAppearanceChanged()
> 
>
> Hope this solves your problem :)
>
> Greetings from Hannover,
>
> Benjamin Gudehus
>
>> Hi all,
>> I am using OJ as a platform for developing GIS-solutions in implementing
>> OJ-Plugins.
>> I am doing this for maybe one and a half year and first I would like to
>> thank everybody who participates in developing OJ now and in the past!
>>
>>
>> There is a lot of great work in the code and I've learned a lot out of
>> it yet.
>> Now my question:
>> I want to change the style of some layers programmatically and my first
>> approach is like this:
>> 
>>
>>
>> Layer lyrTest = context.getLayerManager().getLayer("test");
>> lyrTest.getBasicStyle().setEnabled(false);
>> HashMap attributeToStyleMap = new HashMap();
>> attributeToStyleMap.put(18, new BasicStyle(Color.red));
>>
>>
>> attributeToStyleMap.put(19, new BasicStyle(Color.blue));
>> attributeToStyleMap.put(20, new BasicStyle(Color.cyan));
>> ColorThemingStyle ctStyle = new
>> ColorThemingStyle("BGVNR",attributeToStyleMap,new BasicStyle(Color.gray));
>>
>>
>> ctStyle.setEnabled(true);
>> lyrTest.addStyle(ctStyle);
>> lyrTest.fireAppearanceChanged();
>> 
>> This example works fine and the LayerViewPanel shows the changed styles.
>> But the OJ-standard-menu "Change styles" isn't updated (the colour
>>
>>
>> theming isn't enabled and the Fill- and Line-Checkboxes are still set).
>> How can I do that???
>> I would be happy if anybody could help me!
>> Nils
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Question on LayerPrinter2 and on OpenJUMPConfiguration

2009-09-21 Thread Larry Becker
Hi Sunburned,

  As a general tip, try the Eclipse Search->File option and search for the
Class you are interested in.  I find that looking at where the class is used
gives me a lot of information about it.

regards,
Larry

On Fri, Sep 18, 2009 at 4:56 PM, Sunburned Surveyor <
sunburned.surve...@gmail.com> wrote:

> I have been running around the source code in the core over the last
> couple of days, and I had questions on a couple of classes I found
> there.
>
> - What is the purpose of the LayerPrinter2 class? I didn't find any
> documentation on in the source code or Javadoc that indicated what it
> did that was significantly different from the LayerPrinter class?
>
> - What is the purpose of the OpenJUMPConfiguration class? Is it really
> needed? Can't we have OpenJUMP plug-ins loaded via the standard
> mechanism in by placing a JAR file in the lib/ext directory? How is
> the functionality of the OpenJUMPConfiguration class duplicated by the
> plug-in XML file we use?
>
> Thanks for any info.
>
> Landon
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



-- 
Larry Becker
Integrated Systems Analysts, Inc.
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel