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

  




 

 

Runtime

org.eclipse.gmf.runtime.notation.impl
Class ViewImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by 
org.eclipse.gmf.runtime.notation.impl.ViewImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, View
Direct Known Subclasses:
DiagramImpl, EdgeImpl, NodeImpl

public abstract class ViewImpl
extends org.eclipse.emf.ecore.impl.EModelElementImpl
implements View

An implementation of the model object ' View '.

The following features are implemented:

** Generated **

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
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 static org.eclipse.emf.ecore.EStructuralFeature[] childrenFeatures
           
protected  org.eclipse.emf.ecore.EObject element
          The cached value of the ' Element' reference
protected static int ELEMENT_ESETFLAG
          The flag representing whether the Element reference has been set
protected static boolean MUTABLE_EDEFAULT
          The default value of the ' Mutable' attribute
protected static int MUTABLE_EFLAG
          The flag representing the value of the ' Mutable' attribute
protected  org.eclipse.emf.common.util.EList persistedChildren
          The cached value of the ' Persisted Children' containment reference list
protected  org.eclipse.emf.common.util.EList sourceEdges
          The cached value of the ' Source Edges' reference list
protected  org.eclipse.emf.common.util.EList styles
          The cached value of the ' Styles' containment reference list
protected  org.eclipse.emf.common.util.EList targetEdges
          The cached value of the ' Target Edges' reference list
protected  org.eclipse.emf.common.util.EList transientChildren
          The cached value of the ' Transient Children' containment reference list
protected  java.lang.String type
          The cached value of the ' Type' attribute
protected static java.lang.String TYPE_EDEFAULT
          The default value of the ' Type' attribute
protected static boolean VISIBLE_EDEFAULT
          The default value of the ' Visible' attribute
protected static int VISIBLE_EFLAG
          The flag representing the value of the ' Visible' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ViewImpl ()
           
 
Method Summary
  Diagram basicGetDiagram ()
           
 org.eclipse.emf.ecore.EObject basicGetElement ()
           
  Node createChild (org.eclipse.emf.ecore.EClass eClass)
           
  Style createStyle (org.eclipse.emf.ecore.EClass eClass)
           
 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)
           
 org.eclipse.emf.common.util.EList getChildren ()
           
  Diagram getDiagram ()
           
 org.eclipse.emf.ecore.EObject getElement ()
           
  NamedStyle getNamedStyle (org.eclipse.emf.ecore.EClass eClass, java.lang.String name)
           
 org.eclipse.emf.common.util.EList getPersistedChildren ()
           
 org.eclipse.emf.common.util.EList getSourceEdges ()
           
  Style getStyle (org.eclipse.emf.ecore.EClass eClass)
           
 org.eclipse.emf.common.util.EList getStyles ()
           
 org.eclipse.emf.common.util.EList getTargetEdges ()
           
 org.eclipse.emf.common.util.EList getTransientChildren ()
           
 java.lang.String getType ()
           
 org.eclipse.emf.common.util.EList getVisibleChildren ()
           
 void insertChild ( View child)
           
 void insertChild ( View child, boolean persisted)
           
 void insertChildAt ( View child, int index)
           
 boolean isMutable ()
           
 boolean isSetElement ()
           
 boolean isVisible ()
           
 void persist ()
           
 void persistChildren ()
           
 void removeChild ( View child)
           
 void setElement (org.eclipse.emf.ecore.EObject newElement)
           
 void setMutable (boolean newMutable)
           
 void setType (java.lang.String newType)
           
 void setTypeGen (java.lang.String newType)
           
 void setVisible (boolean newVisible)
           
 java.lang.String toString ()
           
 void unsetElement ()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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

VISIBLE_EDEFAULT

protected static final boolean VISIBLE_EDEFAULT
The default value of the ' Visible' attribute.

See Also:
isVisible(), Constant Field Values
** Generated **
Ordered:

VISIBLE_EFLAG

protected static final int VISIBLE_EFLAG
The flag representing the value of the ' Visible' attribute.

See Also:
isVisible(), Constant Field Values
** Generated **
Ordered:

TYPE_EDEFAULT

protected static final java.lang.String TYPE_EDEFAULT
The default value of the ' Type' attribute.

See Also:
getType(), Constant Field Values
** Generated **
Ordered:

type

protected java.lang.String type
The cached value of the ' Type' attribute.

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

MUTABLE_EDEFAULT

protected static final boolean MUTABLE_EDEFAULT
The default value of the ' Mutable' attribute.

See Also:
isMutable(), Constant Field Values
** Generated **
Ordered:

MUTABLE_EFLAG

protected static final int MUTABLE_EFLAG
The flag representing the value of the ' Mutable' attribute.

See Also:
isMutable(), Constant Field Values
** Generated **
Ordered:

sourceEdges

protected org.eclipse.emf.common.util.EList sourceEdges
The cached value of the ' Source Edges' reference list.

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

targetEdges

protected org.eclipse.emf.common.util.EList targetEdges
The cached value of the ' Target Edges' reference list.

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

persistedChildren

protected org.eclipse.emf.common.util.EList persistedChildren
The cached value of the ' Persisted Children' containment reference list.

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

styles

protected org.eclipse.emf.common.util.EList styles
The cached value of the ' Styles' containment reference list.

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

element

protected org.eclipse.emf.ecore.EObject element
The cached value of the ' Element' reference.

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

ELEMENT_ESETFLAG

protected static final int ELEMENT_ESETFLAG
The flag representing whether the Element reference has been set.

See Also:
Constant Field Values
** Generated **
Ordered:

transientChildren

protected org.eclipse.emf.common.util.EList transientChildren
The cached value of the ' Transient Children' containment reference list.

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

childrenFeatures

protected static final org.eclipse.emf.ecore.EStructuralFeature[] childrenFeatures
Constructor Detail

ViewImpl

protected ViewImpl()

** Generated **
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EModelElementImpl
** Generated **

isVisible

public boolean isVisible()

Specified by:
isVisible in interface View
Returns:
the value of the 'Visible' attribute.
See Also:
View.setVisible(boolean), NotationPackage.getView_Visible()
** Generated **

setVisible

public void setVisible(boolean newVisible)

Specified by:
setVisible in interface View
Parameters:
newVisible - the new value of the 'Visible' attribute.
See Also:
View.isVisible()
** Generated **

getType

public java.lang.String getType()

Specified by:
getType in interface View
Returns:
the value of the 'Type' attribute.
See Also:
View.setType(String), NotationPackage.getView_Type()
** Generated **

setType

public void setType(java.lang.String newType)

Specified by:
setType in interface View
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
View.getType()
** Generated **
NOT

setTypeGen

public void setTypeGen(java.lang.String newType)

Since:
1.2
** Generated **

isMutable

public boolean isMutable()

Specified by:
isMutable in interface View
Returns:
the value of the 'Mutable' attribute.
See Also:
View.setMutable(boolean), NotationPackage.getView_Mutable()
** Generated **

setMutable

public void setMutable(boolean newMutable)

Specified by:
setMutable in interface View
Parameters:
newMutable - the new value of the 'Mutable' attribute.
See Also:
View.isMutable()
** Generated **

getSourceEdges

public org.eclipse.emf.common.util.EList getSourceEdges()

Specified by:
getSourceEdges in interface View
Returns:
the value of the 'Source Edges' reference list.
See Also:
NotationPackage.getView_SourceEdges(), Edge.getSource()
** Generated **

getTargetEdges

public org.eclipse.emf.common.util.EList getTargetEdges()

Specified by:
getTargetEdges in interface View
Returns:
the value of the 'Target Edges' reference list.
See Also:
NotationPackage.getView_TargetEdges(), Edge.getTarget()
** Generated **

getPersistedChildren

public org.eclipse.emf.common.util.EList getPersistedChildren()

Specified by:
getPersistedChildren in interface View
Returns:
the value of the 'Persisted Children' containment reference list.
See Also:
NotationPackage.getView_PersistedChildren()
** Generated **

getChildren

public org.eclipse.emf.common.util.EList getChildren()

Specified by:
getChildren in interface View
Returns:
the value of the 'Children' list.
See Also:
org.eclipse.gmf.runtime.notation.NotationPackage#getView_Children()

getStyles

public org.eclipse.emf.common.util.EList getStyles()

Specified by:
getStyles in interface View
Returns:
the value of the 'Styles' containment reference list.
See Also:
NotationPackage.getView_Styles()
** Generated **

getElement

public org.eclipse.emf.ecore.EObject getElement()

Specified by:
getElement in interface View
Returns:
the value of the 'Element' reference.
See Also:
View.isSetElement(), View.unsetElement(), View.setElement(EObject), NotationPackage.getView_Element()
** Generated **
NOT

basicGetElement

public org.eclipse.emf.ecore.EObject basicGetElement()

** Generated **

setElement

public void setElement(org.eclipse.emf.ecore.EObject newElement)

Specified by:
setElement in interface View
Parameters:
newElement - the new value of the 'Element' reference.
See Also:
View.isSetElement(), View.unsetElement(), View.getElement()
** Generated **

unsetElement

public void unsetElement()

Specified by:
unsetElement in interface View
See Also:
View.isSetElement(), View.getElement(), View.setElement(EObject)
** Generated **

isSetElement

public boolean isSetElement()

Specified by:
isSetElement in interface View
Returns:
whether the value of the 'Element' reference is set.
See Also:
View.unsetElement(), View.getElement(), View.setElement(EObject)
** Generated **

getDiagram

public 
Diagram getDiagram()

Specified by:
getDiagram in interface View
Returns:
the value of the 'Diagram' reference.
See Also:
NotationPackage.getView_Diagram()
** Generated **

basicGetDiagram

public 
Diagram basicGetDiagram()


getTransientChildren

public org.eclipse.emf.common.util.EList getTransientChildren()

Specified by:
getTransientChildren in interface View
Returns:
the value of the 'Transient Children' containment reference list.
See Also:
NotationPackage.getView_TransientChildren()
** Generated **

getStyle

public 
Style getStyle(org.eclipse.emf.ecore.EClass eClass)

Specified by:
getStyle in interface View

createChild

public 
Node createChild(org.eclipse.emf.ecore.EClass eClass)

Specified by:
createChild in interface View
Parameters:
eClass - the EClass to be used in creating the Node object

createStyle

public 
Style createStyle(org.eclipse.emf.ecore.EClass eClass)

Specified by:
createStyle in interface View
Parameters:
eClass - the EClass to be used in creating the Style object

getNamedStyle

public 
NamedStyle getNamedStyle(org.eclipse.emf.ecore.EClass eClass,
                                java.lang.String name)

Specified by:
getNamedStyle in interface View
** 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 org.eclipse.emf.ecore.impl.EModelElementImpl
** 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 org.eclipse.emf.ecore.impl.EModelElementImpl
** 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 org.eclipse.emf.ecore.impl.EModelElementImpl
** 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 org.eclipse.emf.ecore.impl.EModelElementImpl
** Generated **

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.EModelElementImpl
** Generated **

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.EModelElementImpl
** Generated **

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
** Generated **

persistChildren

public void persistChildren()

Specified by:
persistChildren in interface View

insertChild

public void insertChild(
View child)

Specified by:
insertChild in interface View
Parameters:
child - the 'View' to insert.

insertChildAt

public void insertChildAt(
View child,
                          int index)

Specified by:
insertChildAt in interface View
Parameters:
child - the 'View' to insert.

insertChild

public void insertChild(
View child,
                        boolean persisted)

Specified by:
insertChild in interface View
Parameters:
child - the 'View' to insert.

removeChild

public void removeChild(
View child)

Specified by:
removeChild in interface View
Parameters:
child - the 'View' to remove

persist

public void persist()

Specified by:
persist in interface View

getVisibleChildren

public org.eclipse.emf.common.util.EList getVisibleChildren()

Specified by:
getVisibleChildren in interface View
Returns:
Unmodifable list of Visible children

Runtime

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