@@ -0,0 +1,1370 @@
+/*******************************************************************************%0D%0A * Copyright (c) 2011 Bolton University, UK.%0D%0A * All rights reserved. This program and the accompanying materials%0D%0A * are made available under the terms of the License%0D%0A * which accompanies this distribution in the file LICENSE.txt%0D%0A *******************************************************************************/%0D%0Apackage uk.ac.bolton.archimate.editor.ui.components;%0D%0A%0D%0Aimport org.eclipse.ui.IPartListener;%0D%0Aimport org.eclipse.ui.IWorkbenchPart;%0D%0A%0D%0A%0D%0A/**%0D%0A * This adapter class provides default implementations for the%0D%0A * methods described by the %3Ccode%3EIPartListener%3C/code%3E interface.%0D%0A * %3Cp%3E%0D%0A * Classes that wish to deal with %3Ccode%3EIPartListener%3C/code%3E can%0D%0A * extend this class and override only the methods which they are%0D%0A * interested in.%0D%0A * %3C/p%3E%0D%0A *%0D%0A * @see IPartListener%0D%0A * %0D%0A * @author Phillip Beauvoir%0D%0A */%0D%0Apublic abstract class PartListenerAdapter implements IPartListener %7B%0D%0A%0D%0A    @Override%0D%0A    public void partActivated(IWorkbenchPart part) %7B%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public void partBroughtToTop(IWorkbenchPart part) %7B%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public void partClosed(IWorkbenchPart part) %7B%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public void partDeactivated(IWorkbenchPart part) %7B%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public void partOpened(IWorkbenchPart part) %7B%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Add PartListenerAdapter