If I want to get a view by entering the ID using this code,so from where I can get the MyView.ID?
IViewPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.findView(MyView.ID);
if (part instanceof MyView) {
MyView view = (MyView) part;
Aucun commentaire:
Enregistrer un commentaire