Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ec31afc37e61f59ad1591f74475395844567e8af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*******************************************************************************
 * 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();
	}

}

Back to the top