org.eclipse.xtext.xbase.jvmmodel
Class JvmModelAssociator
java.lang.Object
org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
- All Implemented Interfaces:
- IJvmModelAssociations, IJvmModelAssociator
- Direct Known Subclasses:
- IXtend2JvmAssociations.Impl
public class JvmModelAssociator
- extends java.lang.Object
- implements IJvmModelAssociations, IJvmModelAssociator
- Author:
- Jan Koehnlein - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JvmModelAssociator
public JvmModelAssociator()
associate
public void associate(org.eclipse.emf.ecore.EObject sourceElement,
org.eclipse.emf.ecore.EObject jvmElement)
- Specified by:
associate
in interface IJvmModelAssociator
associatePrimary
public void associatePrimary(org.eclipse.emf.ecore.EObject sourceElement,
org.eclipse.emf.ecore.EObject jvmElement)
- Specified by:
associatePrimary
in interface IJvmModelAssociator
disassociate
public void disassociate(org.eclipse.emf.ecore.EObject rootElement)
- Specified by:
disassociate
in interface IJvmModelAssociator
associate
protected void associate(org.eclipse.emf.ecore.EObject sourceElement,
org.eclipse.emf.ecore.EObject jvmElement,
boolean isPrimary)
setSourceAdapter
protected void setSourceAdapter(org.eclipse.emf.ecore.EObject targetElement,
org.eclipse.emf.ecore.EObject associatedElement)
setJvmAdapter
protected void setJvmAdapter(org.eclipse.emf.ecore.EObject targetElement,
org.eclipse.emf.ecore.EObject associatedElement,
boolean isPrimary)
getJvmElements
public java.util.Set<org.eclipse.emf.ecore.EObject> getJvmElements(org.eclipse.emf.ecore.EObject sourceElement)
- Specified by:
getJvmElements
in interface IJvmModelAssociations
getSourceElements
public java.util.Set<org.eclipse.emf.ecore.EObject> getSourceElements(org.eclipse.emf.ecore.EObject jvmElement)
- Specified by:
getSourceElements
in interface IJvmModelAssociations
getPrimarySourceElement
public org.eclipse.emf.ecore.EObject getPrimarySourceElement(org.eclipse.emf.ecore.EObject jvmElement)
- Specified by:
getPrimarySourceElement
in interface IJvmModelAssociations
getAssociatedElements
public java.util.Set<org.eclipse.emf.ecore.EObject> getAssociatedElements(org.eclipse.emf.ecore.EObject jvmOrSourceElement)
- Specified by:
getAssociatedElements
in interface IJvmModelAssociations
getAssociatedElements
protected java.util.Set<org.eclipse.emf.ecore.EObject> getAssociatedElements(JvmModelAssociator.AbstractAssociationAdapter adapter)
getSourceAdapter
protected JvmModelAssociator.SourceAssociationAdapter getSourceAdapter(org.eclipse.emf.ecore.EObject sourceElement)
getJvmAdapter
protected JvmModelAssociator.JvmAssociationAdapter getJvmAdapter(org.eclipse.emf.ecore.EObject jvmElement)
checkAdapter
protected void checkAdapter(JvmModelAssociator.AbstractAssociationAdapter adapter,
boolean isJvm)
getAssociationAdapter
protected JvmModelAssociator.AbstractAssociationAdapter getAssociationAdapter(org.eclipse.emf.ecore.EObject jvmOrSourceElement)