code: @Override
      public void perform(final Wave wave) {
  
          final Cursor cursor = getKeyPart(Cursor.class);
  
          // A cursor shall be used as key part
          if (cursor == null) {
              throw new CoreRuntimeException("You must use a Cursor instance as a key part.");
          }
  
          final Node node = getKeyPart(Node.class);
  
          // Check if a node has been provided
          if (node == null) {
              // Define the cursor on the application's root node
              localFacade().globalFacade().application().rootNode().setCursor(cursor);
          } else {
              // Define the cursor for the given node
              node.setCursor(cursor);
          }
  
      }
docs: {@inheritDoc}