/*******************************************************************************
* Copyright © 2008, 2013 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.edt.ide.ui.internal.deployment.ui;
import org.eclipse.edt.ide.ui.internal.deployment.ui.EGLDDWebServicesBlock.RowItem;
import org.eclipse.ui.forms.IDetailsPage;
import org.eclipse.ui.forms.IDetailsPageProvider;
public class EGLDDWebServicesDetailPageProvider implements IDetailsPageProvider {
public IDetailsPage getPage(Object key) {
if(key instanceof RowItem){
RowItem rowitem = (RowItem)key;
if(rowitem != null)
return new WebServicesDetailPage();
}
return null;
}
public Object getPageKey(Object object) {
return object;
}
}