This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Need an option to keep context palette stay open 2. Need a name for each palette button for the class diagram 3. Need a name for each palette button for the sequence diagram 4. Expose model in expose model in aletteButton class, so test can get ContextPaletteButtonModel in order call getName(), getToolTip()
Created attachment 57287 [details] api list
5. Need center methods that have same function as methods in org.netbeans.modules.uml.ui.swing.drawingarea.IDrawAreaControl getAllEdgesViaRect() centerPointInWindow() 6. Need api to get edge's click point. See TS api org.netbeans.modules.uml.ui.products.ad.graphobjects.ETEdge getSourceClippingPoint() getTargetClippingPoint() 7. Need apis to get uml widget's color org.netbeans.modules.uml.ui.products.ad.drawengines.ETNodeDrawEngine getBorderColor() getFillColor() getLightGradientFillColor() 8. Need same api as org.netbeans.modules.uml.ui.support.viewfactorysupport.IETLabel getLabelKind() 9. Need api to find all the edges around the rectangle. org.netbeans.modules.uml.ui.swing.drawingarea.IDrawAreaControl getAllEdgesViaRect() See attachment for detail how tests use these apis.
Has found work around for #1( Need an option to keep context palette stay open). So please ignore this one
6) Can be achieved by getting the connection widget first and last control point. 7) We only have a single background color now. It can be retrieved by calling the standard getBackground on a widget.
http://hg.netbeans.org/uml-main/rev/e9357b6e859b Adds the center methods. Because of the design of the visual library, if a node is on the edge of the diagram, it will not be centered. It will be visible. This fixes 5. http://hg.netbeans.org/uml-main/rev/a6598c34e465 Methods to retrieve the nodes and edges that are in a rectangle region of the diagram. This fixes 9. http://hg.netbeans.org/uml-main/rev/43afa34b7230 Allows access to the context palette model. This fixes 2, 3, and 4. We no longer have an label kind so 8 can not be fixed. If you give me more information we may be able to do something with the label manager. For now I am going to mark this as fixed, unless there is more we can do with the label kind.