{
        ViewerPane viewerPane =
          new ViewerPane(getSite().getPage(), Ecore2XMLEditor.this)
          {
            @Override
            public Viewer createViewer(Composite composite)
            {
              return new ListViewer(composite);
            }
            @Override
            public void requestActivation()
            {
              super.requestActivation();
              setCurrentViewerPane(this);
            }
          };
        viewerPane.createControl(getContainer());
        listViewer = (ListViewer)viewerPane.getViewer();
        listViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory));
        listViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory));

        createContextMenuFor(listViewer);
        int pageIndex = addPage(viewerPane.getControl());
        setPageText(pageIndex, getString("_UI_ListPage_label")); //$NON-NLS-1$
      }