org.eclipse.emf.emfstore.internal.server.model.versioning.impl
Class OperationProxyImpl

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.emf.emfstore.internal.server.model.versioning.impl.OperationProxyImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, OperationProxy

public class OperationProxyImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements OperationProxy

An implementation of the model object 'Operation Proxy'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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, Object newValue)
           
 void eUnset(int featureID)
           
 ImageProxy getImage()
          Returns the image to be used by the label provider.
 int getIndex()
          Returns the index within the operations file.
 String getLabel()
          Returns the label to be used by the label provider.
 org.eclipse.emf.common.util.EList<OperationProxy> getProxies()
           
 boolean isLabelProviderReady()
          Determines whether this proxy has everything needed to be visualized by an label provider.
 void setImage(ImageProxy imageProxy)
          Sets the image proxy that is used by the label provider to create the appropriate image.
 void setIndex(int index)
          Sets the index that corresponds to the location within the operations file.
 void setLabel(String label)
          Sets the label to be used by the label provider.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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
 

Method Detail

getProxies

public org.eclipse.emf.common.util.EList<OperationProxy> getProxies()

Specified by:
getProxies in interface OperationProxy
Returns:
the value of the 'Proxies' containment reference list.
See Also:
VersioningPackage.getOperationProxy_Proxies()

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

setLabel

public void setLabel(String label)
Sets the label to be used by the label provider.

Specified by:
setLabel in interface OperationProxy
Parameters:
label - the label to be set
See Also:
OperationProxy.setLabel(java.lang.String)

setImage

public void setImage(ImageProxy imageProxy)
Sets the image proxy that is used by the label provider to create the appropriate image.

Specified by:
setImage in interface OperationProxy
Parameters:
imageProxy - the image proxy
See Also:
OperationProxy.setImage(org.eclipse.emf.emfstore.internal.server.model.versioning.ImageProxy)

getImage

public ImageProxy getImage()
Returns the image to be used by the label provider.

Specified by:
getImage in interface OperationProxy
Returns:
the image
See Also:
OperationProxy.getImage()

getLabel

public String getLabel()
Returns the label to be used by the label provider.

Specified by:
getLabel in interface OperationProxy
Returns:
the label
See Also:
OperationProxy.getLabel()

getIndex

public int getIndex()
Returns the index within the operations file.

Specified by:
getIndex in interface OperationProxy
Returns:
the index of the operation within the operations file
See Also:
OperationProxy.getIndex()

setIndex

public void setIndex(int index)
Sets the index that corresponds to the location within the operations file.

Specified by:
setIndex in interface OperationProxy
Parameters:
index - the index within the operations file
See Also:
OperationProxy.setIndex(int)

isLabelProviderReady

public boolean isLabelProviderReady()
Determines whether this proxy has everything needed to be visualized by an label provider.

Specified by:
isLabelProviderReady in interface OperationProxy
Returns:
true, if this proxy has its label and image set, false otherwise
See Also:
OperationProxy.isLabelProviderReady()


Copyright © 2016. All Rights Reserved.