Re: [JPP-Devel] Label Bug in 1.4

2010-11-22 Thread Uwe Dalluege
Hi Larry,

thank you for you quick answer.
Please let me know when you have fixed this little bug.

Regards

Uwe


Am 19.11.2010 15:11, schrieb Larry Becker:
> Hi Uwe,
>
>This change is mine.  Sorry I broke compatibility with old projects,
> but I didn't see a way to prevent that and still add vertical alignment
> to polygon text.  The capability is nice for labeling buildings.
>
>I was able to reproduce the bug about reverting to Above Line.
> Should be an easy fix.  There does need to be some cleanup of the text
> in the dialog.
>
> regards,
>
> Larry
>
> On Fri, Nov 19, 2010 at 3:37 AM, Uwe Dalluege
> mailto:uwe.dallu...@hcu-hamburg.de>> wrote:
>
> Hi,
>
> there is a bug with Change Styles>Labels in OJ 1.4:
>
> 1. Draw a polygon.
> 2. Label the polygon with Change Styles>Labels
> The ComboBox for Vertical alignment (for points and lines)
> shows Above Line
> 3. The text is *outside* of the polygon
> (In older versions of OJ it is inside!)
>
> 4. Change Vertical alignment... to "On line"
> The text is now inside the polygon.
> (By the way the word line starts with small letters
> but Above Line and Below Line starts with capital letters).
>
> 5. Switch to Change Styles>Rendering.
> 6. Switch back to Labels
> and the Vertical alignment switched to Above Line
> and the text of the polygon is *outside* again!
>
> The Labels-Tool does not remember the last choise
> and the Vertical alignment works also with polygons
> so my old project was wrong labeld
> (The text stood outside)!
>
> Regards
>
> Uwe
>
> 
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] beanshell command

2010-11-22 Thread Giuseppe Aruta
Hi Michael,
thanks for the answer.
It would be interesting to launch via beanscript some of the tools.
Right now I was thinking about a script which create a new file and open its 
layer schema.

peppe

--- Dom 21/11/10, Michaël Michaud  ha scritto:

Da: Michaël Michaud 
Oggetto: Re: [JPP-Devel] beanshell command
A: "OpenJump develop and use" 
Data: Domenica 21 novembre 2010, 00:27



  



  Hi,


  

  
Hi all,

  just two questions.

  Which would be the beanshell comand that make a layer
  editable?


  

  

wc.layerNamePanel.selectedLayers[0].setEditable(true);


  

  
Which would be the
  one  that open Layer schema?


  

  

This one is more tricky. Anyone an idea ? (I have always had
troubles when it came to execute plugins programmatically).

classes involved maybe

ViewSchemaPlugIn or

ViewSchemaPlugIn.EditSchemaFrame



Michaël




  

  
 regards

  Peppe


  

  
  

  
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
  
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




  

-Segue allegato-

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
-Segue allegato-

___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



  --
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Copy statusbar to clipboard

2010-11-22 Thread Matthias Scholz
Hi,

I've made a little patch in WorkbenchFrame.jbInit(). I've added a 
MouseListener to the messageLabel, which is copying the text of the 
statusbar to the clipboard. This is usefull if you need the result of 
the measurement tool in an other application. Now if you make a 
doubleclick in the statusbar, the text was copyed to the clipboard.

An other idea is that you can select which part you want to copy. Such 
as the area value only.

What does the other people mean?

Regards

Matthias

--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] beanshell command

2010-11-22 Thread Michaël Michaud

Hi Peppe

Hi Michael,
thanks for the answer.
It would be interesting to launch via beanscript some of the tools.
Right now I was thinking about a script which create a new file and 
open its layer schema.


I tried to find how to start ViewSchemaPlugIn from script, but it is 
quite difficult, and I could not instantiate this plugin until now.
It throws an AssertionFailedException which seems to be related to the 
undoable management which is a tricky part of OpenJUMP.


On the other hand, I wonder what is your use case.
I tend to make a separate use of UI and of scripts as scripts are 
generally supposed to run without user interaction.


Michaël



peppe

--- *Dom 21/11/10, Michaël Michaud //* ha 
scritto:



Da: Michaël Michaud 
Oggetto: Re: [JPP-Devel] beanshell command
A: "OpenJump develop and use" 
Data: Domenica 21 novembre 2010, 00:27

Hi,

Hi all,
just two questions.
Which would be the beanshell comand that make a layer editable?


wc.layerNamePanel.selectedLayers[0].setEditable(true);

Which would be the one  that open Layer schema?


This one is more tricky. Anyone an idea ? (I have always had
troubles when it came to execute plugins programmatically).
classes involved maybe
ViewSchemaPlugIn or
ViewSchemaPlugIn.EditSchemaFrame

Michaël


 regards
Peppe




--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net  

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



-Segue allegato-


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating
great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev

-Segue allegato-

___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



--
Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
Tap into the largest installed PC base&  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel