Package com.intellij.jam.view

Examples of com.intellij.jam.view.DefaultUserResponse$DeleteError


    }
    else if (DataKeys.DELETE_ELEMENT_PROVIDER.equals(key)) {
      set = true;
      final Collection<CommonModelElement> elements = getSelectedElements(diagram);
      if (!elements.isEmpty()) {
        sink.put(DataKeys.DELETE_ELEMENT_PROVIDER, new JamDeleteProvider(new DefaultUserResponse(diagram.getUnit().getPsiManager().getProject()), elements));
      }
    }
    else if (DataKeys.NAVIGATABLE_ARRAY.equals(key)) {
      set = true;
      final Collection<CommonModelElement> elements = getSelectedElements(diagram);
View Full Code Here


  protected JamObjectDescriptor(P element, Project project, Object parameters) {
    super(project, null, parameters, element);
  }

  public DeleteProvider getDeleteProvider() {
    final DefaultUserResponse response = new DefaultUserResponse(myProject);
    return new JamDeleteProvider(getElement(), response);
  }
View Full Code Here

TOP

Related Classes of com.intellij.jam.view.DefaultUserResponse$DeleteError

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.