| /******************************************************************************* |
| * Copyright (c) 2011, 2013 Oracle. All rights reserved. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License 2.0, which accompanies this distribution |
| * and is available at https://www.eclipse.org/legal/epl-2.0/. |
| * |
| * Contributors: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.jaxb.eclipselink.ui.internal.navigator; |
| |
| import org.eclipse.jpt.common.ui.jface.ItemExtendedLabelProvider; |
| import org.eclipse.jpt.common.ui.jface.ItemTreeContentProvider; |
| import org.eclipse.jpt.jaxb.ui.internal.jaxb21.GenericJaxb_2_1_NavigatorUi; |
| |
| |
| public class ELJaxbNavigatorUi |
| extends GenericJaxb_2_1_NavigatorUi { |
| |
| private static ELJaxbNavigatorUi INSTANCE = new ELJaxbNavigatorUi(); |
| |
| |
| public static ELJaxbNavigatorUi instance() { |
| return INSTANCE; |
| } |
| |
| |
| private ELJaxbNavigatorUi() { |
| super(); |
| } |
| |
| |
| @Override |
| public ItemExtendedLabelProvider.Factory getItemLabelProviderFactory() { |
| return ELJaxbNavigatorItemLabelProviderFactory.instance(); |
| } |
| |
| @Override |
| public ItemTreeContentProvider.Factory getTreeItemContentProviderFactory() { |
| return ELJaxbNavigatorItemContentProviderFactory.instance(); |
| } |
| } |