@Override public UndoableCommand createCommand(ResourceSetAvatar dragAvatar) { assert dragAvatar != null; return new AddResourcesToResourceModelCommand( getTargetView().getResourceModel(), dragAvatar.getResourceSet()); }
private boolean targetContainsAllResources(ResourceSetAvatar dragAvatar) { return getTargetView().getResourceModel().containsResources(dragAvatar.getResourceSet()); }