Update of /cvsroot/nextobjects/nextobjects/nextobjects/src/org/devaki/nextobjects/ui/workspace/models/objects
In directory sc8-pr-cvs1:/tmp/cvs-serv17593/src/org/devaki/nextobjects/ui/workspace/models/objects
Modified Files:
LabelEdit.java
Log Message:
Add serialize labels.
Index: LabelEdit.java
===================================================================
RCS file: /cvsroot/nextobjects/nextobjects/nextobjects/src/org/devaki/nextobjects/ui/workspace/models/objects/LabelEdit.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LabelEdit.java 8 Jun 2003 09:46:30 -0000 1.1
--- LabelEdit.java 30 Jun 2003 18:56:23 -0000 1.2
***************
*** 299,303 ****
this.myLabel = pLabel;
this.jTextFieldName.setText(pLabel.getName());
! this.jTextAreaDescription.setText(pLabel.getDescription());
// Set 'General', the active tab when opening the dialog box
--- 299,303 ----
this.myLabel = pLabel;
this.jTextFieldName.setText(pLabel.getName());
! this.jTextAreaDescription.setText(pLabel.getNotes());
// Set 'General', the active tab when opening the dialog box
***************
*** 318,322 ****
{
this.myLabel.setName(this.jTextFieldName.getText());
! this.myLabel.setDescription(this.jTextAreaDescription.getText());
}
}
--- 318,322 ----
{
this.myLabel.setName(this.jTextFieldName.getText());
! this.myLabel.setNotes(this.jTextAreaDescription.getText());
}
}
|