Package org.eclipse.graphiti.features

Examples of org.eclipse.graphiti.features.IDirectEditingFeature


   
    if (pes.length == 1) {

      DirectEditingContext con = new DirectEditingContext(
          pes[0], pes[0].getGraphicsAlgorithm());
      IDirectEditingFeature f =
          getFeatureProvider().getDirectEditingFeature(con);
     
      if (f != null) {
        return f.canExecute(con);
      }
    }
    return false;
  }
View Full Code Here


    for (FeatureContainer container : containers) {
      if (id!=null && !(container instanceof CustomTaskFeatureContainer))
        continue;
      Object o = container.getApplyObject(context);
      if (o != null && container.canApplyTo(o)) {
        IDirectEditingFeature feature = container.getDirectEditingFeature(this);
        if (feature == null) {
          break;
        }
        return feature;
      }
View Full Code Here

TOP

Related Classes of org.eclipse.graphiti.features.IDirectEditingFeature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.