Package org.eclipse.graphiti.features.context

Examples of org.eclipse.graphiti.features.context.IAddContext


    @Override
    protected PictogramElement addGraphicalRepresentation(IAreaContext context, Object newObject) {

      // create a new AddContext and copy our ID into it.
      IAddContext addContext = new AddContext(context, newObject);
      setId(addContext, getId());
     
      // create the PE and copy our ID into its properties.
      PictogramElement pe = getFeatureProvider().addIfPossible(addContext);
      Graphiti.getPeService().setPropertyValue(pe,CUSTOM_TASK_ID,id);
View Full Code Here

TOP

Related Classes of org.eclipse.graphiti.features.context.IAddContext

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.