blob: ec31afc37e61f59ad1591f74475395844567e8af [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015, 2018 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.eef.properties.ui.legacy.internal.eef2legacy;
import org.eclipse.eef.properties.ui.api.IEEFTabbedPropertySheetPageContributor;
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor;
/**
* Wraps an {@link IEEFTabbedPropertySheetPageContributor} to a {@link ITabbedPropertySheetPageContributor}.
*
* @author mbats
*/
public class LegacyTabbedPropertySheetPageContributor implements ITabbedPropertySheetPageContributor {
/**
* The EEF tabbed property sheet page contributor.
*/
private IEEFTabbedPropertySheetPageContributor eefTabbedPropertySheetPageContributor;
/**
* The constructor.
*
* @param eefTabbedPropertySheetPageContributor
* EEF tabbed property sheet page contributor
*/
public LegacyTabbedPropertySheetPageContributor(IEEFTabbedPropertySheetPageContributor eefTabbedPropertySheetPageContributor) {
this.eefTabbedPropertySheetPageContributor = eefTabbedPropertySheetPageContributor;
}
/**
* {@inheritDoc}
*
* @see ITabbedPropertySheetPageContributor#getContributorId()
*/
@Override
public String getContributorId() {
return this.eefTabbedPropertySheetPageContributor.getContributorId();
}
}