Package org.eclipse.jst.pagedesigner.itemcreation.customizer

Examples of org.eclipse.jst.pagedesigner.itemcreation.customizer.DropCustomizationController


     * @param domDoc
   * @param position
     * @return status
   */
  protected IStatus performCustomization(final IDOMDocument domDoc, final IDOMPosition position) {
    return new DropCustomizationController(this, _creationProvider, domDoc, position).performCustomization();
  }
View Full Code Here


        if (command instanceof CreateItemCommand)
        {
            final ItemCreationRequest request = (ItemCreationRequest) getCreateRequest();
            final CreateItemCommand createCommand = (CreateItemCommand) command;
            final IStatus status  =
                new DropCustomizationController(createCommand, request.getTagCreationProvider(), createCommand.getDocument(), createCommand.getPosition())
                    .performCustomization();
           
            return status.getSeverity() == IStatus.OK;
        }
        // don't block a drop if the command is not customizable
View Full Code Here

        Command command = getCurrentCommand();

        IStatus status = Status.OK_STATUS;
        if (command instanceof CreateItemCommand)
        {
            status = new DropCustomizationController((CreateItemCommand) command,
                    _tagDropSourceData,
                    ((CreateItemCommand)command).getDocument(),
                    ((CreateItemCommand)command).getPosition()).
                performCustomization();
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.itemcreation.customizer.DropCustomizationController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.