public AddWorldParameterDialog(java.awt.Frame parent,boolean modal,Diagram diagram,Point clickPosition){
  super(parent,modal);
  initComponents();
  DefaultComboBoxModel model=new DefaultComboBoxModel();
  for (  UniformBinding binding : UniformBinding.values()) {
    model.addElement(binding);
  }
  this.diagram=diagram;
  this.clickPosition=clickPosition;
  nameField.setModel(model);
}

public AddWorldParameterDialog ( java . awt . Frame parent , boolean modal , Diagram diagram , Point clickPosition ) { super ( parent , modal ) ; initComponents ( ) ; DefaultComboBoxModel model = new DefaultComboBoxModel ( ) ; for ( UniformBinding binding : UniformBinding . values ( ) ) { model . addElement ( binding ) ; } this . diagram = diagram ; this . clickPosition = clickPosition ; nameField . setModel ( model ) ; }
creates new form addmaterialparameter
