Re: [JPP-Devel] CursorTool - isRightMouseButtonUsed()
The short answer: the right click is special only if you want to make it special. The longer answer is: The AbstractCursor class implements the CursorTool interface. Any cursor tool that is descended from this class will implement the mouseClicked method. This method will be called whenever any of the mouse buttons are clicked. The isRightMouseButtonUsed() method is only there if the cursor tool needs to do something special for a right click. Don't need a check for left click since if it is not a right click then must be a left click. (this ignores a mouse with a middle button which can also be detected). For instance the ISA constrained cursor tools use the right click to end drawing the shape instead of displaying a pop-up menu. Robert Littlefield On 11/16/06, Sunburned Surveyor [EMAIL PROTECTED] wrote: I thought it might have something to do with a pop-up menu. Thanks for the tip Larry. I'll check that out. SS On 11/16/06, Larry Becker [EMAIL PROTECTED] wrote: I believe that this function is used to determine if the right click context menu should be displayed while the CursorTool is active. Larry On 11/16/06, Sunburned Surveyor [EMAIL PROTECTED] wrote: The CursorTool interface declares a method named isRightMouseButton() used. I'm curious what the prupose of this method is. If we have this method declared in the interface, why isn't an isLeftMouseButton() method also defined? Is there something special about the right mouse button? Thanks, The Sunburned Surveyor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Color Theming Problem
Hi list, I found a problem using DeeChangeStylesPlugin I made a new project with openJUMP, and with DeeChangeStylesPlugin I've assigned a Bitmap to a layer to represent the features of that layer. Then I saved the project, and everything went alright. But When I tried to load the project, it fails giving me an AssertionFailedException. After a bit of investigation, I found that the problem was linked to the PointSymbolizerBasicStyle.java2xml file. But If I put the row element xml-name=vertexstyle java-name=vertexStyle/ at the top of the file, just after the root element (instead of leaving it at the end of the document), it works fine, and openJUMP can load my project. Has anyone already noticed this? Any idea about this situation? Or am i making something using it? Thanks in advance Alessandro - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Color Theming Problem
Hei Alessandro, you are the first reporting the bug. Probably because the vertex style option is only in the nightly built. Do you think you could provide a patch / the code for the necessary changes in OJ? stefan [EMAIL PROTECTED] schrieb: Hi list, I found a problem using DeeChangeStylesPlugin I made a new project with openJUMP, and with DeeChangeStylesPlugin I've assigned a Bitmap to a layer to represent the features of that layer. Then I saved the project, and everything went alright. But When I tried to load the project, it fails giving me an AssertionFailedException. After a bit of investigation, I found that the problem was linked to the PointSymbolizerBasicStyle.java2xml file. But If I put the row element xml-name=vertexstyle java-name=vertexStyle/ at the top of the file, just after the root element (instead of leaving it at the end of the document), it works fine, and openJUMP can load my project. Has anyone already noticed this? Any idea about this situation? Or am i making something using it? Thanks in advance Alessandro - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] A question about internationalization in CursorTools code...
I'm so American and monolingual it isn't even funny. :] There is a line I've discovered in OpenJUMP's CursorTool code that I know deals with Internationalization, but I'm not sure what it does. I need to replicate this code as part of my refactoring, so I'd like to understand what is is used for. I know that multi-language support is an important part of OpenJUMP, and even though I haven't learned a second language yet I want to make sure I maintain and improve internationalization efforts in my work on OpenJUMP. Here is the code fragment: return Toolkit.getDefaultToolkit().createCustomCursor(image, hotSpot, I18N.get(ui.GUIUtil.jump-workbench-custom-cursor)) The original method in JUMP left out the third argument in the call to createCustomCursor(). This argument is I18N.get(ui.GUIUtil.jump-workbench-custom-cursor). What does this method do, exactly? Thanks for the help. The Sunburned Surveyor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel