public void addLayoutEditor(LayoutEditor panel){
  if (panels.size() > 0) {
    for (int i=0; i < panels.size(); i++) {
      LayoutEditor ed=panels.get(i);
      if (ed == panel) {
        return;
      }
    }
  }
  panels.add(panel);
}

public void addLayoutEditor ( LayoutEditor panel ) { if ( panels . size ( ) > 0 ) { for ( int i = 0 ; i < panels . size ( ) ; i ++ ) { LayoutEditor ed = panels . get ( i ) ; if ( ed == panel ) { return ; } } } panels . add ( panel ) ; }
keeps track of layouteditor panels that are using this layoutblock
