private void checkRef(IWorkbenchPartReference partRef) {
   IEditorPart editor = partRef.getPage().getActiveEditor();
   if (editor != null) {
     IEditorInput input = editor.getEditorInput();
     if (input instanceof IFileEditorInput) {
       IFileEditorInput f = (IFileEditorInput) input;
       IProject project = f.getFile().getProject();
       if (SigilCore.isSigilProject(project)) {
         try {
           ISigilProjectModel model = SigilCore.create(project);
           if (model != null) {
             bundleResolverView.setInput(model);
           }
         } catch (CoreException e) {
           SigilCore.error("Failed to update resolver view", e);
         }
       }
     }
   }
 }
  @Override
  protected void createFormContent(IManagedForm managedForm) {
    FormToolkit toolkit = managedForm.getToolkit();

    ScrolledForm form = managedForm.getForm();
    form.setText("Contents");

    Composite body = form.getBody();
    TableWrapLayout layout = new TableWrapLayout();
    layout.bottomMargin = 10;
    layout.topMargin = 5;
    layout.leftMargin = 10;
    layout.rightMargin = 10;
    layout.numColumns = 1;
    layout.horizontalSpacing = 10;
    body.setLayout(layout);
    body.setLayoutData(new TableWrapData(TableWrapData.FILL));

    Composite top = toolkit.createComposite(body);
    layout = new TableWrapLayout();
    layout.verticalSpacing = 20;
    top.setLayout(layout);
    TableWrapData data = new TableWrapData(TableWrapData.FILL_GRAB);
    // data.colspan = 2;
    top.setLayoutData(data);

    Composite bottom = toolkit.createComposite(body);
    layout = new TableWrapLayout();
    layout.verticalSpacing = 20;
    bottom.setLayout(layout);
    bottom.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));

    try {
      ClasspathSection classpath = new ClasspathSection(this, top, project);
      managedForm.addPart(classpath);

      ResourceBuildSection runtimeBuild = new ResourceBuildSection(this, bottom, project);
      managedForm.addPart(runtimeBuild);
    } catch (CoreException e) {
      SigilCore.error("Failed to create contents form", e);
    }
  }