Examples of IDecoratorTarget


Examples of org.eclipse.gmf.runtime.diagram.ui.services.decorator.IDecoratorTarget

   */
  public boolean provides(IOperation operation) {
    if (!(operation instanceof CreateDecoratorsOperation)) {
      return false;
    }
    IDecoratorTarget decoratorTarget = ((CreateDecoratorsOperation) operation)
        .getDecoratorTarget();
    View view = (View) decoratorTarget.getAdapter(View.class);
    return view != null
        && OntoUML.diagram.edit.parts.ContainerEditPart.MODEL_ID
            .equals(OntoUML.diagram.part.OntoUMLVisualIDRegistry
                .getModelID(view));
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.services.decorator.IDecoratorTarget

   */
  public boolean provides(IOperation operation) {
    if (!(operation instanceof CreateDecoratorsOperation)) {
      return false;
    }
    IDecoratorTarget decoratorTarget = ((CreateDecoratorsOperation) operation)
        .getDecoratorTarget();
    View view = (View) decoratorTarget.getAdapter(View.class);
    return view != null
        && ModelerEditPart.MODEL_ID.equals(CismodelVisualIDRegistry
            .getModelID(view));
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.services.decorator.IDecoratorTarget

   */
  public boolean provides(IOperation operation) {
    if (!(operation instanceof CreateDecoratorsOperation)) {
      return false;
    }
    IDecoratorTarget decoratorTarget = ((CreateDecoratorsOperation) operation)
        .getDecoratorTarget();
    View view = (View) decoratorTarget.getAdapter(View.class);
    return view != null
        && ModelerEditPart.MODEL_ID.equals(CismodelVisualIDRegistry
            .getModelID(view));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.