code: public void createControl(Composite parent) {
      setTitle("Define Hadoop location");
      setDescription("Define the location of a Hadoop infrastructure "
          + "for running MapReduce applications.");
  
      Composite panel = new Composite(parent, SWT.FILL);
      GridLayout glayout = new GridLayout(2, false);
      panel.setLayout(glayout);
  
      TabMediator mediator = new TabMediator(panel);
      {
        GridData gdata = new GridData(GridData.FILL_BOTH);
        gdata.horizontalSpan = 2;
        mediator.folder.setLayoutData(gdata);
      }
      this.setControl(panel /* mediator.folder */);
      {
        final Button btn = new Button(panel, SWT.NONE);
        btn.setText("&Load from file");
        btn.setEnabled(false);
        btn.setToolTipText("Not yet implemented");
        btn.addListener(SWT.Selection, new Listener() {
          public void handleEvent(Event e) {
            // TODO
          }
        });
      }
      {
        final Button validate = new Button(panel, SWT.NONE);
        validate.setText("&Validate location");
        validate.setEnabled(false);
        validate.setToolTipText("Not yet implemented");
        validate.addListener(SWT.Selection, new Listener() {
          public void handleEvent(Event e) {
            testLocation();
          }
        });
      }
    }
docs: /* @inheritDoc