| /****************************************************************************** |
| * Copyright (c) 2008 BEA Systems, Inc. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Konstantin Komissarchik - initial implementation and ongoing maintenance |
| ******************************************************************************/ |
| |
| package org.eclipse.wst.common.project.facet.core.events; |
| |
| import org.eclipse.wst.common.project.facet.core.runtime.IRuntime; |
| |
| /** |
| * This interface is implemented by the event object that is used for the PRIMARY_RUNTIME_CHANGED |
| * event. |
| * |
| * @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a> |
| */ |
| |
| public interface IPrimaryRuntimeChangedEvent |
| |
| extends IFacetedProjectEvent |
| |
| { |
| /** |
| * Returns the old primary runtime for the project. |
| * |
| * @return the old primary runtime for the project, or <code>null</code> |
| */ |
| |
| IRuntime getOldPrimaryRuntime(); |
| |
| /** |
| * Returns the new primary runtime for the project. |
| * |
| * @return the new primary runtime for the project, or <code>null</code> |
| */ |
| |
| IRuntime getNewPrimaryRuntime(); |
| |
| } |