posted 18 years ago
hi,
i am using swt/jface. i am using mvc architecture.
the problem is that i have a class called application which contains menuitem 'show details/hide' whose text toggles.
i have also a buton 'show detail/hide' which is defined in another view class and the button action is defined in an controller class.
the view is bined to controller.
the controller is bounded to application class i.e. it is intialized there.
so i can't use instance of application class from controller class.
is there any other way to solve it?
please help me.
thanks in advance
Rudra