[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: How can I access actions in the ApplicationActionBarAdvisor ?

Hi,

 Initially I want the action to be disabled and then when I select any row in the TableViewer that action should be enabled. Also in this action's run method I want to access some of the selected object's properties.
    Actually I am able to do this with the 1st composite in the sash form but not with this composite (which contains tableviewer). The action recongnizes events in the first composite only...
This is the Action's c'tor:
public ReplyAction(String text,IWorkbenchWindow window) {
		...	
     window.getSelectionService().addSelectionListener(this);
}

Thanks!