loader = new CGCILoader(this, hiViewer, images); break; case HiViewerCtrl.VIEW_IN_CGCI:
    void viewHierarchy(Set images, int index)    {        HiViewerUIF presentation = HiViewerUIF.getInstance(control);        HiViewer hiViewer = presentation.createHiViewer();        HiLoader loader = null;        switch (index) {            case HiViewerCtrl.VIEW_IN_PDI:                loader = new CGCILoader(this, hiViewer, images); break;            case HiViewerCtrl.VIEW_IN_CGCI:                loader = new PDILoader(this, hiViewer, images);        }        if (loader != null) loader.load();    }