|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.gmf.runtime.notation.impl.NotationEObjectImpl
org.eclipse.gmf.runtime.notation.impl.ShapeStyleImpl
public class ShapeStyleImpl
An implementation of the model object 'Shape Style'.
The following features are implemented:
Font Color
Font Name
Font Height
Bold
Italic
Underline
Strike Through
Description
Fill Color
Line Color
Line Width
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 static boolean |
BOLD_EDEFAULT
The default value of the ' Bold ' attribute |
protected static int |
BOLD_EFLAG
The flag representing the value of the ' Bold ' attribute |
protected java.lang.String |
description
The cached value of the ' Description ' attribute |
protected static java.lang.String |
DESCRIPTION_EDEFAULT
The default value of the ' Description ' attribute |
protected static int |
FILL_COLOR_EDEFAULT
The default value of the ' Fill Color ' attribute |
protected int |
fillColor
The cached value of the ' Fill Color ' attribute |
protected static int |
FONT_COLOR_EDEFAULT
The default value of the ' Font Color ' attribute |
protected static int |
FONT_HEIGHT_EDEFAULT
The default value of the ' Font Height ' attribute |
protected static java.lang.String |
FONT_NAME_EDEFAULT
The default value of the ' Font Name ' attribute |
protected int |
fontColor
The cached value of the ' Font Color ' attribute |
protected int |
fontHeight
The cached value of the ' Font Height ' attribute |
protected java.lang.String |
fontName
The cached value of the ' Font Name ' attribute |
protected static boolean |
ITALIC_EDEFAULT
The default value of the ' Italic ' attribute |
protected static int |
ITALIC_EFLAG
The flag representing the value of the ' Italic ' attribute |
protected static int |
LINE_COLOR_EDEFAULT
The default value of the ' Line Color ' attribute |
protected static int |
LINE_WIDTH_EDEFAULT
The default value of the ' Line Width ' attribute |
protected int |
lineColor
The cached value of the ' Line Color ' attribute |
protected int |
lineWidth
The cached value of the ' Line Width ' attribute |
protected static boolean |
STRIKE_THROUGH_EDEFAULT
The default value of the ' Strike Through ' attribute |
protected static int |
STRIKE_THROUGH_EFLAG
The flag representing the value of the ' Strike Through ' attribute |
protected static boolean |
UNDERLINE_EDEFAULT
The default value of the ' Underline ' attribute |
protected static int |
UNDERLINE_EFLAG
The flag representing the value of the ' Underline ' attribute |
Fields inherited from class org.eclipse.gmf.runtime.notation.impl.NotationEObjectImpl |
---|
eProxyURI |
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 |
ShapeStyleImpl()
|
Method Summary | |
---|---|
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)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.String |
getDescription()
|
int |
getFillColor()
|
int |
getFontColor()
|
int |
getFontHeight()
|
java.lang.String |
getFontName()
|
int |
getLineColor()
|
int |
getLineWidth()
|
boolean |
isBold()
|
boolean |
isItalic()
|
boolean |
isStrikeThrough()
|
boolean |
isUnderline()
|
void |
setBold(boolean newBold)
|
void |
setDescription(java.lang.String newDescription)
|
void |
setFillColor(int newFillColor)
|
void |
setFontColor(int newFontColor)
|
void |
setFontHeight(int newFontHeight)
|
void |
setFontName(java.lang.String newFontName)
Sets the value of the ' Font Name ' attribute |
void |
setFontNameGen(java.lang.String newFontName)
|
void |
setItalic(boolean newItalic)
|
void |
setLineColor(int newLineColor)
|
void |
setLineWidth(int newLineWidth)
|
void |
setStrikeThrough(boolean newStrikeThrough)
|
void |
setUnderline(boolean newUnderline)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.gmf.runtime.notation.impl.NotationEObjectImpl |
---|
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, 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 |
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.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 |
---|
protected static final int FONT_COLOR_EDEFAULT
Font Color
' attribute.
getFontColor()
,
Constant Field Valuesprotected int fontColor
Font Color
' attribute.
getFontColor()
protected static final java.lang.String FONT_NAME_EDEFAULT
Font Name
' attribute.
getFontName()
,
Constant Field Valuesprotected java.lang.String fontName
Font Name
' attribute.
getFontName()
protected static final int FONT_HEIGHT_EDEFAULT
Font Height
' attribute.
getFontHeight()
,
Constant Field Valuesprotected int fontHeight
Font Height
' attribute.
getFontHeight()
protected static final boolean BOLD_EDEFAULT
Bold
' attribute.
isBold()
,
Constant Field Valuesprotected static final int BOLD_EFLAG
Bold
' attribute.
isBold()
,
Constant Field Valuesprotected static final boolean ITALIC_EDEFAULT
Italic
' attribute.
isItalic()
,
Constant Field Valuesprotected static final int ITALIC_EFLAG
Italic
' attribute.
isItalic()
,
Constant Field Valuesprotected static final boolean UNDERLINE_EDEFAULT
Underline
' attribute.
isUnderline()
,
Constant Field Valuesprotected static final int UNDERLINE_EFLAG
Underline
' attribute.
isUnderline()
,
Constant Field Valuesprotected static final boolean STRIKE_THROUGH_EDEFAULT
Strike Through
' attribute.
isStrikeThrough()
,
Constant Field Valuesprotected static final int STRIKE_THROUGH_EFLAG
Strike Through
' attribute.
isStrikeThrough()
,
Constant Field Valuesprotected static final java.lang.String DESCRIPTION_EDEFAULT
Description
' attribute.
getDescription()
,
Constant Field Valuesprotected java.lang.String description
Description
' attribute.
getDescription()
protected static final int FILL_COLOR_EDEFAULT
Fill Color
' attribute.
getFillColor()
,
Constant Field Valuesprotected int fillColor
Fill Color
' attribute.
getFillColor()
protected static final int LINE_COLOR_EDEFAULT
Line Color
' attribute.
getLineColor()
,
Constant Field Valuesprotected int lineColor
Line Color
' attribute.
getLineColor()
protected static final int LINE_WIDTH_EDEFAULT
Line Width
' attribute.
getLineWidth()
,
Constant Field Valuesprotected int lineWidth
Line Width
' attribute.
getLineWidth()
Constructor Detail |
---|
protected ShapeStyleImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.EObjectImpl
public int getFontColor()
getFontColor
in interface FontStyle
FontStyle.setFontColor(int)
,
NotationPackage.getFontStyle_FontColor()
public void setFontColor(int newFontColor)
setFontColor
in interface FontStyle
newFontColor
- the new value of the 'Font Color' attribute.FontStyle.getFontColor()
public java.lang.String getFontName()
getFontName
in interface FontStyle
FontStyle.setFontName(String)
,
NotationPackage.getFontStyle_FontName()
public void setFontNameGen(java.lang.String newFontName)
public void setFontName(java.lang.String newFontName)
FontStyle
Font Name
' attribute.
The fontName property specifies the font typeface name
setFontName
in interface FontStyle
newFontName
- the new value of the 'Font Name' attribute.FontStyle.getFontName()
public int getFontHeight()
getFontHeight
in interface FontStyle
FontStyle.setFontHeight(int)
,
NotationPackage.getFontStyle_FontHeight()
public void setFontHeight(int newFontHeight)
setFontHeight
in interface FontStyle
newFontHeight
- the new value of the 'Font Height' attribute.FontStyle.getFontHeight()
public boolean isBold()
isBold
in interface FontStyle
FontStyle.setBold(boolean)
,
NotationPackage.getFontStyle_Bold()
public void setBold(boolean newBold)
setBold
in interface FontStyle
newBold
- the new value of the 'Bold' attribute.FontStyle.isBold()
public boolean isItalic()
isItalic
in interface FontStyle
FontStyle.setItalic(boolean)
,
NotationPackage.getFontStyle_Italic()
public void setItalic(boolean newItalic)
setItalic
in interface FontStyle
newItalic
- the new value of the 'Italic' attribute.FontStyle.isItalic()
public boolean isUnderline()
isUnderline
in interface FontStyle
FontStyle.setUnderline(boolean)
,
NotationPackage.getFontStyle_Underline()
public void setUnderline(boolean newUnderline)
setUnderline
in interface FontStyle
newUnderline
- the new value of the 'Underline' attribute.FontStyle.isUnderline()
public boolean isStrikeThrough()
isStrikeThrough
in interface FontStyle
FontStyle.setStrikeThrough(boolean)
,
NotationPackage.getFontStyle_StrikeThrough()
public void setStrikeThrough(boolean newStrikeThrough)
setStrikeThrough
in interface FontStyle
newStrikeThrough
- the new value of the 'Strike Through' attribute.FontStyle.isStrikeThrough()
public java.lang.String getDescription()
getDescription
in interface DescriptionStyle
DescriptionStyle.setDescription(String)
,
NotationPackage.getDescriptionStyle_Description()
public void setDescription(java.lang.String newDescription)
setDescription
in interface DescriptionStyle
newDescription
- the new value of the 'Description' attribute.DescriptionStyle.getDescription()
public int getFillColor()
getFillColor
in interface FillStyle
FillStyle.setFillColor(int)
,
NotationPackage.getFillStyle_FillColor()
public void setFillColor(int newFillColor)
setFillColor
in interface FillStyle
newFillColor
- the new value of the 'Fill Color' attribute.FillStyle.getFillColor()
public int getLineColor()
getLineColor
in interface LineStyle
LineStyle.setLineColor(int)
,
NotationPackage.getLineStyle_LineColor()
public void setLineColor(int newLineColor)
setLineColor
in interface LineStyle
newLineColor
- the new value of the 'Line Color' attribute.LineStyle.getLineColor()
public int getLineWidth()
getLineWidth
in interface LineStyle
LineStyle.setLineWidth(int)
,
NotationPackage.getLineStyle_LineWidth()
public void setLineWidth(int newLineWidth)
setLineWidth
in interface LineStyle
newLineWidth
- the new value of the 'Line Width' attribute.LineStyle.getLineWidth()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.