Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use a listener

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