1 11 package org.eclipse.ui.internal.misc; 12 13 import org.eclipse.ui.IPartListener; 14 import org.eclipse.ui.IWorkbenchPart; 15 16 19 public class TestPartListener implements IPartListener { 20 24 public TestPartListener() { 25 super(); 26 } 27 28 34 public void partActivated(IWorkbenchPart part) { 35 System.out.println("partActivated(" + part + ")"); } 37 38 51 public void partBroughtToTop(IWorkbenchPart part) { 52 System.out.println("partBroughtToTop(" + part + ")"); } 54 55 61 public void partClosed(IWorkbenchPart part) { 62 System.out.println("partClosed(" + part + ")"); } 64 65 71 public void partDeactivated(IWorkbenchPart part) { 72 System.out.println("partDeactivated(" + part + ")"); } 74 75 80 public void partOpened(IWorkbenchPart part) { 81 System.out.println("partOpened(" + part + ")"); } 83 } 84 | Popular Tags |