Package eu.admire.dispel.core

Examples of eu.admire.dispel.core.ProcessingElementAnonymousDefinition


  public static List<DispelNodeDescriptor> getProcessingElementAnonymousDefinition_3019SemanticChildren(
      View view) {
    if (!view.isSetElement()) {
      return Collections.emptyList();
    }
    ProcessingElementAnonymousDefinition modelElement = (ProcessingElementAnonymousDefinition) view
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    {
      ProcessingElementAnonymousConstructor childElement = modelElement
          .getTypeConstructor();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == ProcessingElementAnonymousConstructorEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here


  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementAnonymousDefinition newElement = CoreFactory.eINSTANCE
        .createProcessingElementAnonymousDefinition();

    Return owner = (Return) getElementToEdit();
    owner.setReturnValue(newElement);

View Full Code Here

  /**
   * @generated
   */
  public boolean canExecute() {
    ProcessingElementAnonymousDefinition container = (ProcessingElementAnonymousDefinition) getElementToEdit();
    if (container.getTypeConstructor() != null) {
      return false;
    }
    return true;

  }
View Full Code Here

  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementAnonymousConstructor newElement = CoreFactory.eINSTANCE
        .createProcessingElementAnonymousConstructor();

    ProcessingElementAnonymousDefinition owner = (ProcessingElementAnonymousDefinition) getElementToEdit();
    owner.setTypeConstructor(newElement);

    doConfigure(newElement, monitor, info);

    ((CreateElementRequest) getRequest()).setNewElement(newElement);
    return CommandResult.newOKCommandResult(newElement);
View Full Code Here

    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.emptyList();
    }
    ProcessingElementAnonymousDefinition modelElement = (ProcessingElementAnonymousDefinition) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    {
      ProcessingElementAnonymousConstructor childElement = modelElement
          .getTypeConstructor();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == ProcessingElementAnonymousConstructorEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.emptyList();
    }
    ProcessingElementAnonymousDefinition modelElement = (ProcessingElementAnonymousDefinition) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    {
      ProcessingElementAnonymousConstructor childElement = modelElement
          .getTypeConstructor();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == ProcessingElementAnonymousConstructor2EditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementAnonymousDefinition newElement = CoreFactory.eINSTANCE
        .createProcessingElementAnonymousDefinition();

    DispelFunction owner = (DispelFunction) getElementToEdit();
    owner.setSignature(newElement);

View Full Code Here

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementAnonymousDefinition newElement = CoreFactory.eINSTANCE
        .createProcessingElementAnonymousDefinition();

    DispelFunction owner = (DispelFunction) getElementToEdit();
    owner.setSignature(newElement);

View Full Code Here

  /**
   * @generated
   */
  public boolean canExecute() {
    ProcessingElementAnonymousDefinition container = (ProcessingElementAnonymousDefinition) getElementToEdit();
    if (container.getTypeConstructor() != null) {
      return false;
    }
    return true;

  }
View Full Code Here

  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementAnonymousConstructor newElement = CoreFactory.eINSTANCE
        .createProcessingElementAnonymousConstructor();

    ProcessingElementAnonymousDefinition owner = (ProcessingElementAnonymousDefinition) getElementToEdit();
    owner.setTypeConstructor(newElement);

    doConfigure(newElement, monitor, info);

    ((CreateElementRequest) getRequest()).setNewElement(newElement);
    return CommandResult.newOKCommandResult(newElement);
View Full Code Here

TOP

Related Classes of eu.admire.dispel.core.ProcessingElementAnonymousDefinition

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.