[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/attrview AttributeView.java, 1.48, 1.49
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2011-07-27 07:19:38
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview
In directory vz-cvs-4.sog:/tmp/cvs-serv14164/src/net/sourceforge/bprocessor/gui/attrview
Modified Files:
AttributeView.java
Log Message:
Index: AttributeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/AttributeView.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** AttributeView.java 18 May 2011 22:08:38 -0000 1.48
--- AttributeView.java 27 Jul 2011 07:19:36 -0000 1.49
***************
*** 7,11 ****
package net.sourceforge.bprocessor.gui.attrview;
- import net.sourceforge.bprocessor.gui.monitor.CommandMonitor;
import net.sourceforge.bprocessor.model.Command;
import net.sourceforge.bprocessor.model.Geometric;
--- 7,10 ----
***************
*** 79,89 ****
Command command = (Command) object;
Object monitor = command.getMonitor();
! if (monitor == null) {
! monitor = new CommandMonitor((Command) object);;
! command.setMonitor(monitor);
}
- object = (Parametric) monitor;
}
! add(BorderLayout.NORTH, new GenericPanel(object));
}
revalidate();
--- 78,88 ----
Command command = (Command) object;
Object monitor = command.getMonitor();
! if (monitor != null) {
! object = null;
}
}
! if (object != null) {
! add(BorderLayout.NORTH, new GenericPanel(object));
! }
}
revalidate();
|