Examples of CaseOrRelation


Examples of fd2.CaseOrRelation

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    CaseOrRelation newElement = Fd2Factory.eINSTANCE.createCaseOrRelation();

    BaseFeatureNode owner = (BaseFeatureNode) getElementToEdit();
    owner.getChildRelations().add(newElement);

    Fd2ElementTypes.init_CaseOrRelation_3002(newElement);
View Full Code Here

Examples of fd2.CaseOrRelation

   * @generated
   */
  @Override
  public String getText(Object object)
  {
    CaseOrRelation caseOrRelation = (CaseOrRelation)object;
    return getString("_UI_CaseOrRelation_type") + " " + caseOrRelation.getLowerBound();
  }
View Full Code Here

Examples of fd2.CaseOrRelation

  /**
   * @generated
   */
  public static List getCaseOrRelation_3002ContainedLinks(View view) {
    CaseOrRelation modelElement = (CaseOrRelation) view.getElement();
    List result = new LinkedList();
    result
        .addAll(getOutgoingFeatureModelFacetLinks_OneManyRelation_TargetFeatureNodes_4004(modelElement));
    return result;
  }
View Full Code Here

Examples of fd2.CaseOrRelation

  /**
   * @generated
   */
  public static List getCaseOrRelation_3002OutgoingLinks(View view) {
    CaseOrRelation modelElement = (CaseOrRelation) view.getElement();
    List result = new LinkedList();
    result
        .addAll(getOutgoingFeatureModelFacetLinks_OneManyRelation_TargetFeatureNodes_4004(modelElement));
    return result;
  }
View Full Code Here

Examples of fd2.CaseOrRelation

  /**
   * @generated
   */
  private String getCaseOrRelation_3002Text(View view) {
    CaseOrRelation domainModelElement = (CaseOrRelation) view.getElement();
    if (domainModelElement != null) {
      return String.valueOf(domainModelElement.getLowerBound());
    } else {
      Fd2DiagramEditorPlugin.getInstance().logError(
          "No domain element for view with visualID = " + 3002); //$NON-NLS-1$
      return ""; //$NON-NLS-1$
    }
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.