Wednesday September 06, 2006
Download the Simpsons Visual Library Sample!
If you're interested in the sources of the Simpson drag-and-drop application, which uses the Visual Library 2.0 and the Component Palette API, with this result:
...then feel free to download the sources here:
org-netbeans-modules-visuallibraryintegrationmodulesample.nbm
When you install the module, you'll have a new sample called "Visual Library Integration Module Sample" in the Samples category (the highest level) in the New Project wizard.
When you look at the sources, you'll also be able to see how the context-aware help assistant works (i.e., that's the upper panel which has a message that changes, depending on what actions you perform). And, there is only one file in the whole module that makes use of the Visual Library:
org.netbeans.modules.simpsonsvisualizerfunctionality.GraphSceneImpl.java
There are still a couple of open issues, such as the layers not working properly (sometimes new items are hidden behind old items, such as the map). But most of the functionality is there. Again, you'll need to get the Graph library sources and make sure you have the two JARs mentioned in yesterday's blog available to your NetBeans Platform.
Sep 06 2006, 04:01:45 AM PDT Permalink
Posted by Rami on June 17, 2007 at 09:52 PM PDT #
Posted by 88.103.20.30 on June 17, 2007 at 11:46 PM PDT #
Hi,
I posted a comment yesterday, but forgot to put in the trackback url, so I repost it again; sorry about that.
I downloaded the simpson module ( thanks for the interesting example ), everything works except the zooming. That is, if I scroll the middle mouse wheel button, the zooming didn't happen as expected. But if I press down the CRTL key while scrolling the middle mouse wheel button, then the zooming works.
I am using Netbeans RC2 ( released version ). I tested the visual library test example alone, the zooming works without needing to press the CRTL key. So wonder if this only happens by setting the scene view to the JScrollPane viewport...
Anyone notice similar issue too? comments?
Thanks,
William
I already instaled the pluguin. Id like to know how can i acess de properties of the widgets???
Posted by Daniel Interliche on February 04, 2009 at 11:41 AM PST #


