| /******************************************************************************* |
| * Copyright (c) 2008 Code 9 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 |
| * Chris Aniszczyk <caniszczyk@gmail.com> |
| * Rafael Oliveira Nobrega <rafael.oliveira@gmail.com> - bug 223739 |
| *******************************************************************************/ |
| package org.eclipse.pde.internal.ds.ui.editor; |
| |
| import org.eclipse.jface.viewers.ILabelProvider; |
| import org.eclipse.pde.internal.ui.editor.FormOutlinePage; |
| import org.eclipse.pde.internal.ui.editor.PDEFormEditor; |
| |
| public class DSFormOutlinePage extends FormOutlinePage { |
| |
| public DSFormOutlinePage(PDEFormEditor editor) { |
| super(editor); |
| } |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see org.eclipse.pde.internal.ui.editor.FormOutlinePage#createLabelProvider() |
| */ |
| public ILabelProvider createLabelProvider() { |
| return new DSLabelProvider(); |
| } |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see org.eclipse.pde.internal.ui.editor.FormOutlinePage#getParentPageId(java.lang.Object) |
| */ |
| protected String getParentPageId(Object item) { |
| return DSOverviewPage.PAGE_ID; |
| } |
| } |