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 GenLinkLabel

All Superinterfaces:
org.eclipse.emf.ecore.EObject, GenCommonBase, GenLabel, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
GenLinkLabelImpl

public interface GenLinkLabel
extends GenLabel

A representation of the model object ' Gen Link Label '. Label attached to link

The following features are supported:

See Also:
GMFGenPackage.getGenLinkLabel()
** Generated **
Model:
annotation="https://www.eclipse.org/gmf/2005/constraints ocl='modelFacet.oclIsTypeOf(FeatureLabelModelFacet)=true implies link.modelFacet.oclIsTypeOf(TypeLinkModelFacet)' description='Feature based link labels can only be used on link with class (TypeLinkModelFacet)'" annotation="https://www.eclipse.org/gmf/2005/constraints ocl='let tl: TypeLinkModelFacet = link.modelFacet.oclAsType(TypeLinkModelFacet) in not tl.oclIsUndefined() implies self.getMetaFeatures()->forAll(f|f.ecoreFeature.eContainingClass.isSuperTypeOf(tl.metaClass.ecoreClass))' description='Link label meta features must be owned by the node \'Meta Class\' or its super-classes'"

Field Summary
 
Fields inherited from interface org.eclipse.gmf.codegen.gmfgen. GenLabel
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
  LinkLabelAlignment getAlignment ()
          Returns the value of the ' Alignment ' attribute.
  GenLink getLink ()
          Returns the value of the ' Link ' container reference.
 void setAlignment ( LinkLabelAlignment value)
          Sets the value of the ' Alignment' attribute
 void setLink ( GenLink value)
          Sets the value of the ' Link' container reference
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen. GenLabel
getMetaFeatures, getModelFacet, isElementIcon, isReadOnly, setElementIcon, setModelFacet, setReadOnly
 
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
 

Method Detail

getLink


GenLink getLink()
Returns the value of the ' Link ' container reference. It is bidirectional and its opposite is ' Labels'.

If the meaning of the 'Link' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Link' container reference.
See Also:
setLink(GenLink), GMFGenPackage.getGenLinkLabel_Link(), GenLink.getLabels()
** Generated **
Model:
opposite="labels" required="true" transient="false"

setLink

void setLink(
GenLink value)
Sets the value of the ' Link' container reference.

Parameters:
value - the new value of the 'Link' container reference.
See Also:
getLink()
** Generated **

getAlignment


LinkLabelAlignment getAlignment()
Returns the value of the ' Alignment ' attribute. The default value is "MIDDLE". The literals are from the enumeration LinkLabelAlignment.

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

Returns:
the value of the 'Alignment' attribute.
See Also:
LinkLabelAlignment, setAlignment(LinkLabelAlignment), GMFGenPackage.getGenLinkLabel_Alignment()
** Generated **
Model:
default="MIDDLE"

setAlignment

void setAlignment(
LinkLabelAlignment value)
Sets the value of the ' Alignment' attribute.

Parameters:
value - the new value of the 'Alignment' attribute.
See Also:
LinkLabelAlignment, getAlignment()
** 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