Examples of CreateNodeCommand


Examples of org.eclipse.sapphire.ui.swt.gef.commands.CreateNodeCommand

      pt = new Point(rectangle.x, rectangle.y);
    }
    if (request.getNewObjectType() == DiagramNodeTemplate.class) {
      DiagramNodeTemplate nodeTemplate = (DiagramNodeTemplate)request.getNewObject();
      if (nodeTemplate.getDiagramEditorPart() == this.presentation.part()) {
        cmd = new CreateNodeCommand(this.presentation, nodeTemplate, pt)
      }     
    }
    else if (request.getNewObjectType() == ISelection.class) {
      // DND from project explorer
      ISelection selection = (ISelection)request.getNewObject();
View Full Code Here

Examples of org.jboss.cache.commands.legacy.write.CreateNodeCommand

   }

   @Override
   public CreateNodeCommand buildCreateNodeCommand(Fqn fqn)
   {
      CreateNodeCommand command = new CreateNodeCommand(fqn);
      command.initialize(dataContainer);
      return command;
   }
View Full Code Here

Examples of org.jboss.cache.commands.legacy.write.CreateNodeCommand

      boolean skipSetParams = false;
      switch (id)
      {
         case CreateNodeCommand.METHOD_ID:
         {
            CreateNodeCommand returnValue = new CreateNodeCommand(null);
            returnValue.initialize(dataContainer);
            command = returnValue;
            break;
         }
         case GravitateDataCommand.METHOD_ID:
         {
            LegacyGravitateDataCommand returnValue = new LegacyGravitateDataCommand(rpcManager.getLocalAddress());
            returnValue.initialize(dataContainer, cacheSpi, buddyFqnTransformer);
            command = returnValue;
            break;
         }
         case InvalidateCommand.METHOD_ID:
         {
            VersionedInvalidateCommand returnValue = new VersionedInvalidateCommand(null);
            returnValue.initialize(cacheSpi, dataContainer, notifier);
            command = returnValue;
            break;
         }
         default:
            // pass up to superclass
View Full Code Here

Examples of org.jboss.cache.commands.legacy.write.CreateNodeCommand

         {
            if (trace) log.trace("created child: fqn=" + childFqn);

            if (gtx != null)
            {
               CreateNodeCommand createNodeCommand = commandsFactory.buildCreateNodeCommand(childFqn);
               ctx.getTransactionContext().addLocalModification(createNodeCommand);
            }
            if (notify) cache.getNotifier().notifyNodeCreated(childFqn, false, ctx);
         }
      }
View Full Code Here

Examples of org.jboss.cache.commands.legacy.write.CreateNodeCommand

         {
            if (trace) log.trace("created child: fqn=" + childFqn);

            if (gtx != null)
            {
               CreateNodeCommand createNodeCommand = commandsFactory.buildCreateNodeCommand(childFqn);
               ctx.getTransactionContext().addLocalModification(createNodeCommand);
            }
            if (notify) cache.getNotifier().notifyNodeCreated(childFqn, false, ctx);
         }
      }
View Full Code Here

Examples of org.jboss.cache.commands.legacy.write.CreateNodeCommand

         {
            if (trace) log.trace("created child: fqn=" + childFqn);

            if (gtx != null)
            {
               CreateNodeCommand createNodeCommand = commandsFactory.buildCreateNodeCommand(childFqn);
               ctx.getTransactionContext().addLocalModification(createNodeCommand);
            }
            if (notify) cache.getNotifier().notifyNodeCreated(childFqn, false, ctx);
         }
      }
View Full Code Here

Examples of org.jboss.cache.commands.write.CreateNodeCommand

               child = newChild;
               children.put(child_name, child);

               if (gtx != null)
               {
                  CreateNodeCommand createNodeCommand = commandsFactory.buildCreateNodeCommand(child_fqn);
                  ctx.getTransactionEntry().addModification(createNodeCommand);
               }
            }
         }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.