Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Generation Framework

org.eclipse.gmf.mappings.impl
Class LinkMappingImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by 

org.eclipse.gmf.mappings.impl.MappingEntryImpl
                  extended by 
org.eclipse.gmf.mappings.impl.LinkMappingImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, AppearanceSteward, LinkMapping, MappingEntry, MenuOwner, NeedsContainment, ToolOwner

public class LinkMappingImpl
extends MappingEntryImpl
implements LinkMapping

An implementation of the model object ' Link Mapping '.

The following features are implemented:

** Generated **

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected   StyleSelector appearanceStyle
          The cached value of the ' Appearance Style' reference
protected  org.eclipse.emf.ecore.EReference containmentFeature
          The cached value of the ' Containment Feature' reference
protected   ContextMenu contextMenu
          The cached value of the ' Context Menu' reference
protected   LinkConstraints creationConstraints
          The cached value of the ' Creation Constraints' containment reference
protected   Connection diagramLink
          The cached value of the ' Diagram Link' reference
protected  org.eclipse.emf.ecore.EStructuralFeature linkMetaFeature
          The cached value of the ' Link Meta Feature' reference
protected  org.eclipse.emf.ecore.EStructuralFeature sourceMetaFeature
          The cached value of the ' Source Meta Feature' reference
protected   AbstractTool tool
          The cached value of the ' Tool' reference
 
Fields inherited from class org.eclipse.gmf.mappings.impl. MappingEntryImpl
domainInitializer, domainMetaElement, domainSpecialization, labelMappings, relatedDiagrams
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected LinkMappingImpl ()
           
 
Method Summary
  StyleSelector basicGetAppearanceStyle ()
           
 org.eclipse.emf.ecore.EReference basicGetContainmentFeature ()
           
  ContextMenu basicGetContextMenu ()
           
  Connection basicGetDiagramLink ()
           
 org.eclipse.emf.ecore.EStructuralFeature basicGetLinkMetaFeature ()
           
 org.eclipse.emf.ecore.EStructuralFeature basicGetSourceMetaFeature ()
           
  AbstractTool basicGetTool ()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCreationConstraints ( LinkConstraints newCreationConstraints, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 int eBaseStructuralFeatureID (int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID (int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet (int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd (org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove (org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet (int featureID)
           
 void eSet (int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass ()
           
 void eUnset (int featureID)
           
  StyleSelector getAppearanceStyle ()
           
 org.eclipse.emf.ecore.EReference getContainmentFeature ()
           
  ContextMenu getContextMenu ()
           
  LinkConstraints getCreationConstraints ()
           
  Connection getDiagramLink ()
           
 org.eclipse.emf.ecore.EClass getDomainContext ()
          This method was created to simplify transtofmation code.
 org.eclipse.emf.ecore.EStructuralFeature getLinkMetaFeature ()
           
 org.eclipse.emf.ecore.EStructuralFeature getSourceMetaFeature ()
           
  AbstractTool getTool ()
           
 void setAppearanceStyle ( StyleSelector newAppearanceStyle)
           
 void setContainmentFeature (org.eclipse.emf.ecore.EReference newContainmentFeature)
           
 void setContextMenu ( ContextMenu newContextMenu)
           
 void setCreationConstraints ( LinkConstraints newCreationConstraints)
           
 void setDiagramLink ( Connection newDiagramLink)
           
 void setLinkMetaFeature (org.eclipse.emf.ecore.EStructuralFeature newLinkMetaFeature)
           
 void setSourceMetaFeature (org.eclipse.emf.ecore.EStructuralFeature newSourceMetaFeature)
           
 void setTool ( AbstractTool newTool)
           
 
Methods inherited from class org.eclipse.gmf.mappings.impl. MappingEntryImpl
basicGetDomainMetaElement, basicSetDomainInitializer, basicSetDomainSpecialization, getDomainInitializer, getDomainMetaElement, getDomainSpecialization, getLabelMappings, getRelatedDiagrams, setDomainInitializer, setDomainMetaElement, setDomainSpecialization
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmf.mappings. MappingEntry
getDomainInitializer, getDomainMetaElement, getDomainSpecialization, getLabelMappings, getRelatedDiagrams, setDomainInitializer, setDomainMetaElement, setDomainSpecialization
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

containmentFeature

protected org.eclipse.emf.ecore.EReference containmentFeature
The cached value of the ' Containment Feature' reference.

See Also:
getContainmentFeature()
** Generated **
Ordered:

contextMenu

protected 
ContextMenu contextMenu
The cached value of the ' Context Menu' reference.

See Also:
getContextMenu()
** Generated **
Ordered:

tool

protected 
AbstractTool tool
The cached value of the ' Tool' reference.

See Also:
getTool()
** Generated **
Ordered:

appearanceStyle

protected 
StyleSelector appearanceStyle
The cached value of the ' Appearance Style' reference.

See Also:
getAppearanceStyle()
** Generated **
Ordered:

diagramLink

protected 
Connection diagramLink
The cached value of the ' Diagram Link' reference.

See Also:
getDiagramLink()
** Generated **
Ordered:

sourceMetaFeature

protected org.eclipse.emf.ecore.EStructuralFeature sourceMetaFeature
The cached value of the ' Source Meta Feature' reference.

See Also:
getSourceMetaFeature()
** Generated **
Ordered:

linkMetaFeature

protected org.eclipse.emf.ecore.EStructuralFeature linkMetaFeature
The cached value of the ' Link Meta Feature' reference.

See Also:
getLinkMetaFeature()
** Generated **
Ordered:

creationConstraints

protected 
LinkConstraints creationConstraints
The cached value of the ' Creation Constraints' containment reference.

See Also:
getCreationConstraints()
** Generated **
Ordered:
Constructor Detail

LinkMappingImpl

protected LinkMappingImpl()

** Generated **
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class MappingEntryImpl
** Generated **

getContainmentFeature

public org.eclipse.emf.ecore.EReference getContainmentFeature()

Specified by:
getContainmentFeature in interface NeedsContainment
Returns:
the value of the 'Containment Feature' reference.
See Also:
NeedsContainment.setContainmentFeature(EReference), GMFMapPackage.getNeedsContainment_ContainmentFeature()
** Generated **

basicGetContainmentFeature

public org.eclipse.emf.ecore.EReference basicGetContainmentFeature()

** Generated **

setContainmentFeature

public void setContainmentFeature(org.eclipse.emf.ecore.EReference newContainmentFeature)

Specified by:
setContainmentFeature in interface NeedsContainment
Parameters:
newContainmentFeature - the new value of the 'Containment Feature' reference.
See Also:
NeedsContainment.getContainmentFeature()
** Generated **

getContextMenu

public 
ContextMenu getContextMenu()

Specified by:
getContextMenu in interface MenuOwner
Returns:
the value of the 'Context Menu' reference.
See Also:
MenuOwner.setContextMenu(ContextMenu), GMFMapPackage.getMenuOwner_ContextMenu()
** Generated **

basicGetContextMenu

public 
ContextMenu basicGetContextMenu()

** Generated **

setContextMenu

public void setContextMenu(
ContextMenu newContextMenu)

Specified by:
setContextMenu in interface MenuOwner
Parameters:
newContextMenu - the new value of the 'Context Menu' reference.
See Also:
MenuOwner.getContextMenu()
** Generated **

getDiagramLink

public 
Connection getDiagramLink()

Specified by:
getDiagramLink in interface LinkMapping
Returns:
the value of the 'Diagram Link' reference.
See Also:
LinkMapping.setDiagramLink(Connection), GMFMapPackage.getLinkMapping_DiagramLink()
** Generated **

basicGetDiagramLink

public 
Connection basicGetDiagramLink()

** Generated **

setDiagramLink

public void setDiagramLink(
Connection newDiagramLink)

Specified by:
setDiagramLink in interface LinkMapping
Parameters:
newDiagramLink - the new value of the 'Diagram Link' reference.
See Also:
LinkMapping.getDiagramLink()
** Generated **

getSourceMetaFeature

public org.eclipse.emf.ecore.EStructuralFeature getSourceMetaFeature()

Specified by:
getSourceMetaFeature in interface LinkMapping
Returns:
the value of the 'Source Meta Feature' reference.
See Also:
LinkMapping.setSourceMetaFeature(EStructuralFeature), GMFMapPackage.getLinkMapping_SourceMetaFeature()
** Generated **

basicGetSourceMetaFeature

public org.eclipse.emf.ecore.EStructuralFeature basicGetSourceMetaFeature()

** Generated **

setSourceMetaFeature

public void setSourceMetaFeature(org.eclipse.emf.ecore.EStructuralFeature newSourceMetaFeature)

Specified by:
setSourceMetaFeature in interface LinkMapping
Parameters:
newSourceMetaFeature - the new value of the 'Source Meta Feature' reference.
See Also:
LinkMapping.getSourceMetaFeature()
** Generated **

getLinkMetaFeature

public org.eclipse.emf.ecore.EStructuralFeature getLinkMetaFeature()

Specified by:
getLinkMetaFeature in interface LinkMapping
Returns:
the value of the 'Link Meta Feature' reference.
See Also:
LinkMapping.setLinkMetaFeature(EStructuralFeature), GMFMapPackage.getLinkMapping_LinkMetaFeature()
** Generated **

basicGetLinkMetaFeature

public org.eclipse.emf.ecore.EStructuralFeature basicGetLinkMetaFeature()

** Generated **

setLinkMetaFeature

public void setLinkMetaFeature(org.eclipse.emf.ecore.EStructuralFeature newLinkMetaFeature)

Specified by:
setLinkMetaFeature in interface LinkMapping
Parameters:
newLinkMetaFeature - the new value of the 'Link Meta Feature' reference.
See Also:
LinkMapping.getLinkMetaFeature()
** Generated **

getCreationConstraints

public 
LinkConstraints getCreationConstraints()

Specified by:
getCreationConstraints in interface LinkMapping
Returns:
the value of the 'Creation Constraints' containment reference.
See Also:
LinkMapping.setCreationConstraints(LinkConstraints), GMFMapPackage.getLinkMapping_CreationConstraints(), LinkConstraints.getLinkMapping()
** Generated **

basicSetCreationConstraints

public org.eclipse.emf.common.notify.NotificationChain basicSetCreationConstraints(
LinkConstraints newCreationConstraints,
                                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

** Generated **

setCreationConstraints

public void setCreationConstraints(
LinkConstraints newCreationConstraints)

Specified by:
setCreationConstraints in interface LinkMapping
Parameters:
newCreationConstraints - the new value of the 'Creation Constraints' containment reference.
See Also:
LinkMapping.getCreationConstraints()
** Generated **

getTool

public 
AbstractTool getTool()

Specified by:
getTool in interface ToolOwner
Returns:
the value of the 'Tool' reference.
See Also:
ToolOwner.setTool(AbstractTool), GMFMapPackage.getToolOwner_Tool()
** Generated **

basicGetTool

public 
AbstractTool basicGetTool()

** Generated **

setTool

public void setTool(
AbstractTool newTool)

Specified by:
setTool in interface ToolOwner
Parameters:
newTool - the new value of the 'Tool' reference.
See Also:
ToolOwner.getTool()
** Generated **

getAppearanceStyle

public 
StyleSelector getAppearanceStyle()

Specified by:
getAppearanceStyle in interface AppearanceSteward
Returns:
the value of the 'Appearance Style' reference.
See Also:
AppearanceSteward.setAppearanceStyle(StyleSelector), GMFMapPackage.getAppearanceSteward_AppearanceStyle()
** Generated **

basicGetAppearanceStyle

public 
StyleSelector basicGetAppearanceStyle()

** Generated **

setAppearanceStyle

public void setAppearanceStyle(
StyleSelector newAppearanceStyle)

Specified by:
setAppearanceStyle in interface AppearanceSteward
Parameters:
newAppearanceStyle - the new value of the 'Appearance Style' reference.
See Also:
AppearanceSteward.getAppearanceStyle()
** Generated **

getDomainContext

public org.eclipse.emf.ecore.EClass getDomainContext()
This method was created to simplify transtofmation code.

Specified by:
getDomainContext in interface MappingEntry
Specified by:
getDomainContext in class MappingEntryImpl
Returns:
getDomainMetaElement() if specified, and getLinkMetaFeature().getEContainingClass() if link meta feature was specified. null otherwise.
** Generated **
NOT

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class MappingEntryImpl
** Generated **

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class MappingEntryImpl
** Generated **

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class MappingEntryImpl
** Generated **

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class MappingEntryImpl
** Generated **

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class MappingEntryImpl
** Generated **

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class MappingEntryImpl
** Generated **

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
** Generated **

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
** Generated **

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire