| /******************************************************************************* |
| * Copyright (c) 2012-2014 SAP SE. |
| * 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: |
| * SAP SE - initial API and implementation and/or initial documentation |
| * |
| *******************************************************************************/ |
| package org.eclipse.ogee.property.editor.tab; |
| |
| import org.eclipse.jface.viewers.ISelection; |
| import org.eclipse.ui.IWorkbenchPart; |
| import org.eclipse.ui.views.properties.tabbed.ITabDescriptor; |
| import org.eclipse.ui.views.properties.tabbed.ITabDescriptorProvider; |
| |
| public class TabDescriptorProvider implements ITabDescriptorProvider { |
| |
| @Override |
| public ITabDescriptor[] getTabDescriptors(IWorkbenchPart part, |
| ISelection selection) { |
| return new ITabDescriptor[] { GeneralTabDescriptor.getInstance() }; |
| } |
| } |