Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Estimation
Estimation [message #607160] Mon, 18 April 2005 04:13
Eclipse UserFriend
Hello,

as you know I would like to implement a relationship between components
that is a little bit like a relationship between a Shell and SWT Button.
In my case there is a variable:



Hashmap hm;




in the code. And if I drop a swing button on the frame a button with a
parameter hm has to be instantiated.



myButton = new MyButton(hm);



Hashmap for my button has to be like parentComposite (Shell) for SWT
button.

(1)
Do I have to develop an editpart and an editpoliy beside decoderhelper to
reach my aim ? Or do I have to implement other classes? I have already
seen how to define an editpart and an editpoliy in override files.

I know I asked you a lot about instantiating a component with a parameter.
I really appreciate that you always gave me a detailed answer.



(2)
Could you give me an estimation how complex it is to implement my case or
how long it would take? It must also be considered that I am new in this
theme.



Thank you in advance
Elena
Previous Topic:Inserting an argument after instantiating a class
Next Topic:PTArrayCreation
Goto Forum:
  


Current Time: Fri Jun 13 12:11:44 EDT 2025

Powered by FUDForum. Page generated in 0.04076 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top