@Override
	public void newAttribute(String key, Object value, boolean isReadOnly, AttributeTableModel model) {
		AttributeContainer node = view.tree;
		
		if (node == null) {
			return;
		}
		
 		model.keys.add(key);
		model.values.add(value);
		model.readOnly.add(new Boolean(isReadOnly));
		
		node.setAttribute(key, value);
		
		OutlinerDocument doc = view.tree.getDocument();
		doc.setModified(true);
		
		// undo
		Undoable undoable = new UndoableDocumentAttributeChange(view.tree, null, null, false, key, value, isReadOnly);
		undoable.setName("New Document Attribute");
		doc.getUndoQueue().add(undoable);
		
		model.fireTableDataChanged();
	}