Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Question about Draw2d

I created View in Eclipse RCP and on FigureCanvas Added Freeformlayer using following line:

 

fc=new FigureCanvas(parent, SWT.DOUBLE_BUFFERED);

            layer=new FreeformLayer();

            layer.setLayoutManager(new FreeformLayout());

            fc.setContents(layer);

 

 

On layer I am adding shapes like ellipse rectangle etc. I want to implement resize,zooming etc.

Can you suggest the approach or do you have smaple application like this?

 

 

JavaFan

 

---Disclaimer------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

QuEST Global is ranked World No.1 in Engineering Service Outsourcing by the Black Book of Outsourcing 2009

This electronic message and all attachments contain information from QuEST which may be confidential or otherwise protected from disclosure.
The information is intended for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited.
If you have received this electronic message in error, please notify the sender immediately and destroy the message.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Back to the top