DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page how to disable an action on some other action
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2008
Default how to disable an action on some other action - 08-28-2008, 07:29 AM

Hi all

I am working on a application, where i show a view after i authenticate the user.
There are two actions one is login action and other is showview action.
Once a user is logged in i disable login action in Main Toolbar, but when a user directly calls showview action without any login it is diverted to login actionby calling run method.

But it disables the showview action instead of login action in main toolbar.

Both the actions implement IActionDelegate and its subtypes.

Can i disable login action in Main Toolbar when i call showview action directly?

Thanks in advance for your help
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to create a cheat sheet action class. prashantpathak@hsbc.co.in Eclipse 0 11-19-2008 08:33 AM
issues with Action RoryCarson Eclipse 0 10-22-2008 04:03 PM
Declarative Toolbar Action Pouletchu Eclipse 0 08-03-2008 06:08 AM
Disable the action in PopupMenus extension point? jayjamba Eclipse 0 07-23-2008 01:24 AM
Customize Eclipse Project rename action dkarandi Eclipse 1 06-11-2008 02:18 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com