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
Answertopia.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.codegen.gmfgen
Interface GenLabel

All Superinterfaces:
org.eclipse.emf.ecore.EObject, GenCommonBase, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
GenExternalNodeLabel, GenLinkLabel, GenNodeLabel
All Known Implementing Classes:
GenExternalNodeLabelImpl, GenLabelImpl, GenLinkLabelImpl, GenNodeLabelImpl

public interface GenLabel
extends GenCommonBase

A representation of the model object ' Gen Label '. Label on diagram

The following features are supported:

See Also:
GMFGenPackage.getGenLabel()
** Generated **
Model:
abstract="true"

Field Summary
static java.lang.String CLASS_NAME_PREFIX
           
 
Fields inherited from interface org.eclipse.gmf.codegen.gmfgen. GenCommonBase
DEFAULT_CLASS_NAME_PREFIX, EDIT_PART_SUFFIX, ITEM_SEMANTIC_EDIT_POLICY_SUFFIX, NOTATION_VIEW_FACTORY_SUFFIX
 
Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getMetaFeatures ()
          Returns structural features that provide label content
  LabelModelFacet getModelFacet ()
          Returns the value of the ' Model Facet ' containment reference
 boolean isElementIcon ()
          Returns the value of the ' Element Icon ' attribute
 boolean isReadOnly ()
          Returns the value of the ' Read Only ' attribute
 void setElementIcon (boolean value)
          Sets the value of the ' Element Icon' attribute
 void setModelFacet ( LabelModelFacet value)
          Sets the value of the ' Model Facet' containment reference
 void setReadOnly (boolean value)
          Sets the value of the ' Read Only' attribute
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen. GenCommonBase
getBehaviour, getBehaviour, getClassNamePrefix, getClassNameSuffux, getDiagram, getDiagramRunTimeClass, getEditPartClassName, getEditPartQualifiedClassName, getElementType, getItemSemanticEditPolicyClassName, getItemSemanticEditPolicyQualifiedClassName, getLayoutType, getNotationViewFactoryClassName, getNotationViewFactoryQualifiedClassName, getStyles, getUniqueIdentifier, getViewmap, getVisualID, isSansDomain, setDiagramRunTimeClass, setEditPartClassName, setElementType, setItemSemanticEditPolicyClassName, setNotationViewFactoryClassName, setViewmap, setVisualID
 
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
 

Field Detail

CLASS_NAME_PREFIX

static final java.lang.String CLASS_NAME_PREFIX
See Also:
Constant Field Values
Method Detail

isReadOnly

boolean isReadOnly()
Returns the value of the ' Read Only ' attribute.

If the meaning of the 'Read Only' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Read Only' attribute.
See Also:
setReadOnly(boolean), GMFGenPackage.getGenLabel_ReadOnly()
** Generated **
Model:

setReadOnly

void setReadOnly(boolean value)
Sets the value of the ' Read Only' attribute.

Parameters:
value - the new value of the 'Read Only' attribute.
See Also:
isReadOnly()
** Generated **

isElementIcon

boolean isElementIcon()
Returns the value of the ' Element Icon ' attribute.

If the meaning of the 'Element Icon' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Element Icon' attribute.
See Also:
setElementIcon(boolean), GMFGenPackage.getGenLabel_ElementIcon()
** Generated **
Model:

setElementIcon

void setElementIcon(boolean value)
Sets the value of the ' Element Icon' attribute.

Parameters:
value - the new value of the 'Element Icon' attribute.
See Also:
isElementIcon()
** Generated **

getModelFacet


LabelModelFacet getModelFacet()
Returns the value of the ' Model Facet ' containment reference.

If the meaning of the 'Model Facet' containment reference isn't clear, there really should be more of a description here...

If model facet is not specified then custom parser should be provided for the label

Returns:
the value of the 'Model Facet' containment reference.
See Also:
setModelFacet(LabelModelFacet), GMFGenPackage.getGenLabel_ModelFacet()
** Generated **
Model:
containment="true"

setModelFacet

void setModelFacet(
LabelModelFacet value)
Sets the value of the ' Model Facet' containment reference.

Parameters:
value - the new value of the 'Model Facet' containment reference.
See Also:
getModelFacet()
** Generated **

getMetaFeatures

org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getMetaFeatures()
Returns structural features that provide label content

** Generated **
Model:
kind="operation"

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