| /****************************************************************************** |
| * Copyright (c) 2005-2007 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 |
| ******************************************************************************/ |
| |
| package org.eclipse.wst.common.project.facet.core.events; |
| |
| import org.eclipse.wst.common.project.facet.core.IProjectFacet; |
| import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion; |
| |
| /** |
| * This interface is implemented by the event object that is used for the PRE_INSTALL, POST_INSTALL, |
| * PRE_UNINSTALL, POST_UNINSTALL, PRE_VERSION_CHANGE, and POST_VERSION_CHANGE events. |
| * |
| * @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a> |
| */ |
| |
| public interface IProjectFacetActionEvent |
| |
| extends IFacetedProjectEvent |
| |
| { |
| /** |
| * The project facet that this event is about. |
| * |
| * @return the project facet that this event is about. |
| */ |
| |
| IProjectFacet getProjectFacet(); |
| |
| /** |
| * The version of the project facet that this event is about. In the case of the |
| * PRE_VERSION_CHANGE and POST_VERSION_CHANGE events, this will be the new version. |
| * |
| * @return the version of the project facet that this event is about |
| */ |
| |
| IProjectFacetVersion getProjectFacetVersion(); |
| |
| /** |
| * The config object that will be (or was) used for configuring the facet action. |
| * |
| * @return the config object of the facet action |
| */ |
| |
| Object getActionConfig(); |
| |
| } |