updateProperties(factory);
model.addPropertyChangeListener(new CommandPropertyChangeListener(factory));
component.addActionListener(new IActionListener() {
public void actionPerformed(ActionEvent event) {
model.doAction();
model.finaliseAction();
}
});