|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.pattern.AbstractBasePattern
org.eclipse.graphiti.pattern.AbstractConnectionPattern
public abstract class AbstractConnectionPattern
The Class AbstractConnectionPattern.
Constructor Summary | |
---|---|
AbstractConnectionPattern()
Creates a new AbstractConnectionPattern . |
Method Summary | |
---|---|
protected Connection |
addGraphicalRepresentation(IConnectionContext context,
Object newObject)
Adds the graphical representation. |
boolean |
canCreate(ICreateConnectionContext context)
Can create. |
boolean |
canStartConnection(ICreateConnectionContext context)
Can start connection. |
Connection |
create(ICreateConnectionContext context)
Creates the. |
protected static AddConnectionContext |
getAddConnectionContext(ICreateConnectionContext context)
Gets the adds the connection context. |
String |
getCreateDescription()
Gets the create description. |
String |
getCreateImageId()
Gets the create image id. |
String |
getCreateLargeImageId()
Gets the create large image id. |
String |
getCreateName()
Gets the create name. |
protected String |
getText(IStructureMapping structureMapping,
PictogramLink link)
Gets the text. |
protected void |
layoutPictogramElement(PictogramElement pe)
Layout pictogram element. |
protected void |
updatePictogramElement(PictogramElement pe)
Update pictogram element. |
Methods inherited from class org.eclipse.graphiti.pattern.AbstractBasePattern |
---|
add, canAdd, getBusinessObjectForPictogramElement, getDiagram, getDiagramEditor, getFeatureProvider, getMappingProvider, link, link, manageColor, manageColor, setFeatureProvider |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.pattern.IConnectionPattern |
---|
setFeatureProvider |
Methods inherited from interface org.eclipse.graphiti.func.IAdd |
---|
add, canAdd |
Constructor Detail |
---|
public AbstractConnectionPattern()
AbstractConnectionPattern
.
Method Detail |
---|
protected static AddConnectionContext getAddConnectionContext(ICreateConnectionContext context)
context
- the create connection context
public boolean canCreate(ICreateConnectionContext context)
ICreateConnection
canCreate
in interface ICreateConnection
context
- the context
public boolean canStartConnection(ICreateConnectionContext context)
ICreateConnection
canStartConnection
in interface ICreateConnection
context
- the context
public Connection create(ICreateConnectionContext context)
ICreateConnection
create
in interface ICreateConnection
context
- the context
protected Connection addGraphicalRepresentation(IConnectionContext context, Object newObject)
context
- the connection contextnewObject
- the new object
protected String getText(IStructureMapping structureMapping, PictogramLink link)
structureMapping
- the structure mappinglink
- the pictogram link
protected void layoutPictogramElement(PictogramElement pe)
pe
- the pictogram elementprotected void updatePictogramElement(PictogramElement pe)
pe
- the pictogram elementpublic String getCreateDescription()
ICreateInfo
getCreateDescription
in interface ICreateInfo
public String getCreateImageId()
ICreateInfo
getCreateImageId
in interface ICreateInfo
public String getCreateLargeImageId()
ICreateInfo
getCreateLargeImageId
in interface ICreateInfo
public String getCreateName()
ICreateInfo
getCreateName
in interface ICreateInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |