Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use a listener  RSS feed

rudra tripathy
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!