Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.EObject


      return Collections.EMPTY_LIST;
    }
    Collection result = new LinkedList();
    for (Iterator links = container.getInstanciarElement().iterator(); links
        .hasNext();) {
      EObject linkObject = (EObject) links.next();
      if (false == linkObject instanceof OntoUML.URML.ClassifierAtom) {
        continue;
      }
      OntoUML.URML.ClassifierAtom link = (OntoUML.URML.ClassifierAtom) linkObject;
      if (OntoUML.diagram.edit.parts.ClassifierAtomEditPart.VISUAL_ID != OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here


      return Collections.EMPTY_LIST;
    }
    Collection result = new LinkedList();
    for (Iterator links = container.getInstanciarElement().iterator(); links
        .hasNext();) {
      EObject linkObject = (EObject) links.next();
      if (false == linkObject instanceof OntoUML.URML.ClassifierAtom) {
        continue;
      }
      OntoUML.URML.ClassifierAtom link = (OntoUML.URML.ClassifierAtom) linkObject;
      if (OntoUML.diagram.edit.parts.ClassifierAtom2EditPart.VISUAL_ID != OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

      return Collections.EMPTY_LIST;
    }
    Collection result = new LinkedList();
    for (Iterator links = container.getInstanciarElement().iterator(); links
        .hasNext();) {
      EObject linkObject = (EObject) links.next();
      if (false == linkObject instanceof OntoUML.URML.ClassifierAtom) {
        continue;
      }
      OntoUML.URML.ClassifierAtom link = (OntoUML.URML.ClassifierAtom) linkObject;
      if (OntoUML.diagram.edit.parts.ClassifierAtom3EditPart.VISUAL_ID != OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

  /**
   * @generated
   */
  protected String getLabelText() {
    String text = null;
    EObject parserElement = getParserElement();
    if (parserElement != null && getParser() != null) {
      text = getParser().getPrintString(
          new EObjectAdapter(parserElement),
          getParserOptions().intValue());
    }
View Full Code Here

  public ICellEditorValidator getEditTextValidator() {
    return new ICellEditorValidator() {

      public String isValid(final Object value) {
        if (value instanceof String) {
          final EObject element = getParserElement();
          final IParser parser = getParser();
          try {
            IParserEditStatus valid = (IParserEditStatus) getEditingDomain()
                .runExclusive(new RunnableWithResult.Impl() {
View Full Code Here

  /**
   * @generated
   */
  protected void addSemanticListeners() {
    if (getParser() instanceof ISemanticParser) {
      EObject element = resolveSemanticElement();
      parserElements = ((ISemanticParser) getParser())
          .getSemanticElementsBeingParsed(element);
      for (int i = 0; i < parserElements.size(); i++) {
        addListenerFilter(
            "SemanticModel" + i, this, (EObject) parserElements.get(i)); //$NON-NLS-1$
View Full Code Here

  /**
   * @generated
   */
  protected String getLabelText() {
    String text = null;
    EObject parserElement = getParserElement();
    if (parserElement != null && getParser() != null) {
      text = getParser().getPrintString(
          new EObjectAdapter(parserElement),
          getParserOptions().intValue());
    }
View Full Code Here

  public ICellEditorValidator getEditTextValidator() {
    return new ICellEditorValidator() {

      public String isValid(final Object value) {
        if (value instanceof String) {
          final EObject element = getParserElement();
          final IParser parser = getParser();
          try {
            IParserEditStatus valid = (IParserEditStatus) getEditingDomain()
                .runExclusive(new RunnableWithResult.Impl() {
View Full Code Here

  /**
   * @generated
   */
  protected void addSemanticListeners() {
    if (getParser() instanceof ISemanticParser) {
      EObject element = resolveSemanticElement();
      parserElements = ((ISemanticParser) getParser())
          .getSemanticElementsBeingParsed(element);
      for (int i = 0; i < parserElements.size(); i++) {
        addListenerFilter(
            "SemanticModel" + i, this, (EObject) parserElements.get(i)); //$NON-NLS-1$
View Full Code Here

  private static Collection getContainedTypeModelFacetLinks_Characterization_4001(
      OntoUML.Container container) {
    Collection result = new LinkedList();
    for (Iterator links = container.getInstanciarElement().iterator(); links
        .hasNext();) {
      EObject linkObject = (EObject) links.next();
      if (false == linkObject instanceof OntoUML.Characterization) {
        continue;
      }
      OntoUML.Characterization link = (OntoUML.Characterization) linkObject;
      if (OntoUML.diagram.edit.parts.CharacterizationEditPart.VISUAL_ID != OntoUML.diagram.part.OntoUMLVisualIDRegistry
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.EObject

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.