$packageName$.features
Class CreateDomainObjectConnectionFeature

java.lang.Object
  extended by org.eclipse.graphiti.features.impl.AbstractFeature
      extended by org.eclipse.graphiti.features.impl.AbstractCreateConnectionFeature
          extended by $packageName$.features.CreateDomainObjectConnectionFeature
All Implemented Interfaces:
ICreateConnectionFeature, IFeature, IFeatureProviderHolder, ICreateConnection, ICreateInfo, IDescription, IName

public class CreateDomainObjectConnectionFeature
extends AbstractCreateConnectionFeature
implements ICreateConnectionFeature


Constructor Summary
CreateDomainObjectConnectionFeature(IFeatureProvider fp)
           
 
Method Summary
 boolean canCreate(ICreateConnectionContext context)
          Can create.
 boolean canStartConnection(ICreateConnectionContext context)
          Can start connection.
 Connection create(ICreateConnectionContext context)
          Creates the.
 
Methods inherited from class org.eclipse.graphiti.features.impl.AbstractCreateConnectionFeature
attachedToSource, canceledAttaching, canExecute, endConnecting, execute, getCreateDescription, getCreateImageId, getCreateLargeImageId, getCreateName, getName, startConnecting
 
Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramEditor, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, setProgressCallback, toString, updatePictogramElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.graphiti.func.ICreateConnection
attachedToSource, canceledAttaching, endConnecting, startConnecting
 
Methods inherited from interface org.eclipse.graphiti.func.ICreateInfo
getCreateDescription, getCreateImageId, getCreateLargeImageId, getCreateName
 
Methods inherited from interface org.eclipse.graphiti.features.IFeature
canExecute, canUndo, execute, hasDoneChanges, isAvailable
 
Methods inherited from interface org.eclipse.graphiti.IName
getName
 
Methods inherited from interface org.eclipse.graphiti.IDescription
getDescription
 
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
 

Constructor Detail

CreateDomainObjectConnectionFeature

public CreateDomainObjectConnectionFeature(IFeatureProvider fp)
Method Detail

canStartConnection

public boolean canStartConnection(ICreateConnectionContext context)
Description copied from interface: ICreateConnection
Can start connection.

Specified by:
canStartConnection in interface ICreateConnection
Parameters:
context - the context
Returns:
true, if successful

canCreate

public boolean canCreate(ICreateConnectionContext context)
Description copied from interface: ICreateConnection
Can create.

Specified by:
canCreate in interface ICreateConnection
Parameters:
context - the context
Returns:
true, if successful

create

public Connection create(ICreateConnectionContext context)
Description copied from interface: ICreateConnection
Creates the.

Specified by:
create in interface ICreateConnection
Parameters:
context - the context
Returns:
the connection


Copyright (c) SAP AG 2005, 2010.