@Override
	public List<ConnectionLabel> getLabels() {
		List<ConnectionLabel> result = new ArrayList<>();

		for( Item item : getDiagram().getItems() ) {
			if( item instanceof ConnectionLabel ) {
				ConnectionLabel label = (ConnectionLabel) item;
				if( label.getConnection() == this ) {
					result.add( label );
				}
			}
		}

		return result;
	}