mercredi 29 juin 2016

How to get a debug view in eclipse?

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