| /********************************************************************** |
| * This file is part of "Object Teams Development Tooling"-Software |
| * |
| * Copyright 2003, 2007 Fraunhofer Gesellschaft, Munich, Germany, |
| * for its Fraunhofer Institute and Computer Architecture and Software |
| * Technology (FIRST), Berlin, Germany and Technical University Berlin, |
| * Germany. |
| * |
| * 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 |
| * $Id: OTDebugElementsContainerLabelProvider.java 23432 2010-02-03 23:13:42Z stephan $ |
| * |
| * Please visit http://www.objectteams.org for updates and contact. |
| * |
| * Contributors: |
| * Fraunhofer FIRST - Initial API and implementation |
| * Technical University Berlin - Initial API and implementation |
| **********************************************************************/ |
| package org.eclipse.objectteams.otdt.debug.ui.internal.model; |
| |
| import org.eclipse.core.runtime.CoreException; |
| import org.eclipse.debug.internal.ui.model.elements.ElementLabelProvider; |
| import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; |
| import org.eclipse.jface.viewers.TreePath; |
| |
| /** Label for the root node of the TeamView (which does not have a label). */ |
| @SuppressWarnings("restriction") // team view as variant of variables view needs access to internals |
| public class OTDebugElementsContainerLabelProvider extends ElementLabelProvider { |
| |
| @Override |
| protected String getLabel(TreePath elementPath, |
| IPresentationContext presentationContext, |
| String columnId) |
| throws CoreException |
| { |
| return "never-seen-OTDebugLabel"; //$NON-NLS-1$ |
| } |
| |
| } |