Mixing client side and server side accept criterions, how?

Hello,
how do I mix ServerSideAcceptCriterion and ClientSideAcceptCriterion?

In other words - supposing I’m working with a tree and a label coming from outside that tree -, how do I obtain something like this:


	@Override
	public AcceptCriterion getAcceptCriterion() {
		return new ServerSideCriterion() {
			
			private static final long serialVersionUID = 1L;

			@Override
			public boolean accept(DragAndDropEvent dragEvent) {

			/*
			true if
			drop is on an tree node -> I do this with VerticalLocationIs.MIDDLE
			and
			dragged component is my custom label -> I guess I have to do this with

				new ServerSideCriterion() {
			
					@Override
					public boolean accept(DragAndDropEvent dragEvent) {
						return dragEvent.getTransferable().getSourceComponent() instanceof MyCustomLabel
					}

			*/
			}
			
		};
	}