/**
  * Creates this part using standard dialog widgets and adds it to the given composite.
  *
  * @param parent parent composite
  * @return generated instance of the table part
  */
 public static TargetContentsGroup createInDialog(Composite parent) {
   TargetContentsGroup contentTable = new TargetContentsGroup();
   contentTable.createDialogContents(parent);
   return contentTable;
 }
 /**
  * Creates this part using the form toolkit and adds it to the given composite.
  *
  * @param parent parent composite
  * @param toolkit toolkit to create the widgets with
  * @return generated instance of the table part
  */
 public static TargetContentsGroup createInForm(Composite parent, FormToolkit toolkit) {
   TargetContentsGroup contentTable = new TargetContentsGroup();
   contentTable.createFormContents(parent, toolkit);
   return contentTable;
 }