Examples of eContainer()


Examples of org.emftrace.metamodel.QUARCModel.Query.GSSQueryContainment.eContainer()

    } else
   
    if (modelElement instanceof SelectedPrinciplesSet){
      GSSQuery query =  (GSSQuery) modelElement.eContainer();
      GSSQueryContainment queryContainment  =  (GSSQueryContainment) query.eContainer();
      Toolbox toolbox  =  (Toolbox) queryContainment.eContainer();
      GSS gss  =  toolbox.getGssCatalogue();
      builder = new PrincipleSelectorGraphBuilder(managedFormComposite, SWT.NONE, getSite(), gss,query, (SelectedPrinciplesSet)modelElement, accessLayer);

    }
    if (builder != null)
View Full Code Here

Examples of org.emftrace.metamodel.QUARCModel.Query.QueryResultSet.eContainer()

   * @generated NOT
   */
  @Override
  public String getText(Object object) {
    QueryResultSet resultSet = (QueryResultSet) object;
    GSSQuery query = (GSSQuery) resultSet.eContainer();
    boolean obsolete = false;
    if (query != null){
     
      obsolete = obsolete || query.isChanged();
     
View Full Code Here

Examples of org.fusesource.camel.component.sap.model.rfc.DestinationData.eContainer()

          editingDomain = AdapterFactoryEditingDomain.getEditingDomainFor(eObject);
          if (editingDomain != null) {
            deleteEntryCommand = DeleteCommand.create(editingDomain, Collections.singletonList(eObject));
            if (eObject instanceof DestinationDataStoreEntryImpl) {
              DestinationData destinationData = ((DestinationDataStoreEntryImpl)eObject).getValue();
              removeValueCommand = RemoveCommand.create(editingDomain, destinationData.eContainer(), RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, Collections.singletonList(destinationData));
            } else if (eObject instanceof ServerDataStoreEntryImpl) {
              ServerData serverData = ((ServerDataStoreEntryImpl)eObject).getValue();
              removeValueCommand = RemoveCommand.create(editingDomain, serverData.eContainer(), RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, Collections.singletonList(serverData));
            }
            if (canDelete(selection)) {
View Full Code Here

Examples of org.fusesource.camel.component.sap.model.rfc.ServerData.eContainer()

            if (eObject instanceof DestinationDataStoreEntryImpl) {
              DestinationData destinationData = ((DestinationDataStoreEntryImpl)eObject).getValue();
              removeValueCommand = RemoveCommand.create(editingDomain, destinationData.eContainer(), RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, Collections.singletonList(destinationData));
            } else if (eObject instanceof ServerDataStoreEntryImpl) {
              ServerData serverData = ((ServerDataStoreEntryImpl)eObject).getValue();
              removeValueCommand = RemoveCommand.create(editingDomain, serverData.eContainer(), RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, Collections.singletonList(serverData));
            }
            if (canDelete(selection)) {
              command = new CompoundCommand();
              command.append(deleteEntryCommand);
              command.append(removeValueCommand);
View Full Code Here

Examples of org.fusesource.camel.component.sap.model.rfc.impl.DestinationDataStoreEntryImpl.eContainer()

    if (value instanceof ServerDataStoreEntryImpl) {
      ServerDataStoreEntryImpl entry = (ServerDataStoreEntryImpl) value;
      return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, entry.getValue());
    } else if (value instanceof DestinationDataStoreEntryImpl) {
      DestinationDataStoreEntryImpl entry = (DestinationDataStoreEntryImpl) value;
      return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, entry.getValue());
    }
    return null;
  }

  protected boolean canCut(IStructuredSelection selection) {
View Full Code Here

Examples of org.fusesource.camel.component.sap.model.rfc.impl.ServerDataStoreEntryImpl.eContainer()

  }
 
  protected Command createRemoveValueCommand(Object value) {
    if (value instanceof ServerDataStoreEntryImpl) {
      ServerDataStoreEntryImpl entry = (ServerDataStoreEntryImpl) value;
      return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, entry.getValue());
    } else if (value instanceof DestinationDataStoreEntryImpl) {
      DestinationDataStoreEntryImpl entry = (DestinationDataStoreEntryImpl) value;
      return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, entry.getValue());
    }
    return null;
View Full Code Here

Examples of org.openhab.model.sitemap.Widget.eContainer()

        Widget pageWidget = itemUIRegistry.getWidget(sitemap, pageId);
        if(pageWidget instanceof LinkableWidget) {
          EList<Widget> children = itemUIRegistry.getChildren((LinkableWidget) pageWidget);
          PageBean pageBean = createPageBean(sitemapName, itemUIRegistry.getLabel(pageWidget), itemUIRegistry.getIcon(pageWidget),
              pageId, children, false, isLeaf(children), uri);
          EObject parentPage = pageWidget.eContainer();
          while(parentPage instanceof Frame) {
            parentPage = parentPage.eContainer();
          }
          if(parentPage instanceof Widget) {
            String parentId = itemUIRegistry.getWidgetId((Widget) parentPage);
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainAttribute.eContainer()

    ExtendsEdge ext = (ExtendsEdge) edges.iterator().next();
   
    DomainAttribute targetAttr = (DomainAttribute) ext.getTo();
    assertNotNull(targetAttr);
   
    DomainType targetObj = (DomainType) targetAttr.eContainer();
    assertNotNull(targetObj);   
    assertEquals(name, targetObj.getName());
  }
 
  /**
 
View Full Code Here

Examples of org.openiaml.model.model.wires.ParameterEdgesSource.eContainer()

      @Override
      public boolean accept(ECARule r) {
        if (r.getInParameterEdges().size() != 1)
          return false;
        ParameterEdgesSource paramSource = r.getInParameterEdges().get(0).getParameterValue();
        if (paramSource.eContainer().equals(source))
          return true;
        return false;
      }
    });
    assertGenerated(run);
View Full Code Here

Examples of org.openiaml.model.model.wires.ParameterEdgesSource.eContainer()

      @Override
      public boolean accept(ECARule r) {
        if (r.getInParameterEdges().size() != 1)
          return false;
        ParameterEdgesSource paramSource = r.getInParameterEdges().get(0).getParameterValue();
        if (paramSource.eContainer().equals(changed))
          return true;
        return false;
      }
    });
    assertGenerated(run);
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.