public DefaultItem( DefaultUmlDiagram diagram, ItemKey<T> key ) {
		this.diagram = diagram;

		contextCapability = new DefaultItemContextCapability( diagram, this );
		setCapability( CapabilityName.CONTEXT_MENU, contextCapability );

		if( key == null ) {
			key = createKey( diagram );
		}
		this.key = key;
	}