/* (non-Javadoc)
* @see org.eclipse.graphiti.features.custom.AbstractCustomFeature#isAvailable(org.eclipse.graphiti.features.context.IContext)
*/
@Override
public boolean isAvailable(IContext context) {
ICustomContext cc = (ICustomContext) context;
PictogramElement _pe = cc.getPictogramElements()[0] instanceof Connection ? ((Connection) cc.getPictogramElements()[0])
.getStart().getParent() : cc.getPictogramElements()[0];
final Object bo = getBusinessObjectForPictogramElement(_pe);
if (bo instanceof AbstractNode) {
AbstractNode _ep = (AbstractNode) bo;
IFile contextFile = getContextFile();