Deprecated method. [message #213286] |
Tue, 04 April 2006 19:10 |
Eclipse User |
|
|
|
Originally posted by: jsk_lam.hotmail.com
Hi,
I have the following code snippets:
public class myEditor extends MultiPageEditorPart {
...
protected void createActions() {
IAction zoomIn = new ZoomInAction(getDelegatingZoomManager());
IAction zoomOut = new ZoomOutAction(getDelegatingZoomManager());
addAction(zoomIn);
addAction(zoomOut);
// getSite().getKeyBindingService().registerAction(zoomIn);
// getSite().getKeyBindingService().registerAction(zoomOut);
}
}
The getSite().getKeyBindingService() has been deprecated in Eclipse 3.1.
However, my program still work as expected after I've removed the 2 lines
shown above.
My question is, is the getSite.getKeyBindingService().registAction() really needed
in Eclipse 3.1?
Thanks
SL.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02894 seconds