private void addLine(GridField field,WEditor editor,boolean mandatory){
  log.fine("Field=" + field);
  Label label=editor.getLabel();
  editor.setReadWrite(true);
  editor.setMandatory(mandatory);
  field.addPropertyChangeListener(editor);
  if (m_newRow) {
    m_row=new Row();
    m_row.setStyle("background-color: transparent");
    m_rows.appendChild(m_row);
  }
  Div div=new Div();
  div.setStyle("text-align: right");
  div.appendChild(label);
  m_row.appendChild(div);
  m_row.appendChild(editor.getComponent());
  editor.dynamicDisplay();
  m_newRow=!m_newRow;
}

private void addLine ( GridField field , WEditor editor , boolean mandatory ) { log . fine ( "Field=" + field ) ; Label label = editor . getLabel ( ) ; editor . setReadWrite ( true ) ; editor . setMandatory ( mandatory ) ; field . addPropertyChangeListener ( editor ) ; if ( m_newRow ) { m_row = new Row ( ) ; m_row . setStyle ( "background-color: transparent" ) ; m_rows . appendChild ( m_row ) ; } Div div = new Div ( ) ; div . setStyle ( "text-align: right" ) ; div . appendChild ( label ) ; m_row . appendChild ( div ) ; m_row . appendChild ( editor . getComponent ( ) ) ; editor . dynamicDisplay ( ) ; m_newRow = ! m_newRow ; }
add editor to parameterpanel alernative right / left depending on m_newrow . field value changes update editors
