public void projectClosed(Project project) {
   if (myContent != null) {
     myContentManager.removeContent(myContent, true);
   }
 }
 public boolean removeRunContent(
     @NotNull final Executor executor, final RunContentDescriptor descriptor) {
   final ContentManager contentManager = getContentManagerForRunner(executor);
   final Content content = getRunContentByDescriptor(contentManager, descriptor);
   return content != null && contentManager.removeContent(content, true);
 }
예제 #3
0
 @Override
 public void projectClosed(Project project) {
   if (project.equals(myProject) && myContent != null) {
     myContentManager.removeContent(myContent, true);
   }
 }