blob: 059430675828428d6ed9defe9e1abb2642f1a9ec [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2004, 2005 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.j2ee.internal.modulecore.util;
import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
import org.eclipse.wst.common.componentcore.ArtifactEdit;
import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditOperation;
public class EARArtifactEditOperation extends ArtifactEditOperation {
public EARArtifactEditOperation(EARArtifactEditOperationDataModel operationDataModel) {
super(operationDataModel);
}
protected ArtifactEdit getArtifactEditForModule(WorkbenchComponent module) {
return EARArtifactEdit.getEARArtifactEditForWrite(module);
}
protected EARArtifactEdit getEJBArtifactEdit() {
return (EARArtifactEdit)getArtifactEdit();
}
}