diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java index c74108a6a..fd045d05f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java @@ -1,38 +1,38 @@ -/*******************************************************************************
- * Copyright (c) 2011 Texas Instruments and others.
+/******************************************************************************* + * Copyright (c) 2011 Texas Instruments and others. * - * 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
+ * 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/ * - * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Texas Instruments - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.internal.ui.viewers.model.provisional;
-
-/**
- * Extension to allow column presentation to specify initial column sizes in a
- * TreeModelViewer.
- *
- * @since 3.7
- *
- * @see TreeModelViewer
- */
-public interface IColumnPresentation2 extends IColumnPresentation {
-
- /**
- * Returns the initial column width for the column with the given identifier.
- *
- * @param id a column identifier included in <code>getAvailableColumns()</code>
- * @param treeWidgetWidth tree widget width
- * @param visibleColumnIds identifiers of visible columns
- * @return initial column width. Return -1 if this implementation does not decide the width
- * and let the caller to decide the width. The caller may make the initial width
- * be treeWidgetWidth / visibleColumnIds.length
- */
- int getInitialColumnWidth(String id, int treeWidgetWidth, String[] visibleColumnIds);
-
-}
+ * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Texas Instruments - initial API and implementation + *******************************************************************************/ +package org.eclipse.debug.internal.ui.viewers.model.provisional; + +/** + * Extension to allow column presentation to specify initial column sizes in a + * TreeModelViewer. + * + * @since 3.7 + * + * @see TreeModelViewer + */ +public interface IColumnPresentation2 extends IColumnPresentation { + + /** + * Returns the initial column width for the column with the given identifier. + * + * @param id a column identifier included in <code>getAvailableColumns()</code> + * @param treeWidgetWidth tree widget width + * @param visibleColumnIds identifiers of visible columns + * @return initial column width. Return -1 if this implementation does not decide the width + * and let the caller to decide the width. The caller may make the initial width + * be treeWidgetWidth / visibleColumnIds.length + */ + int getInitialColumnWidth(String id, int treeWidgetWidth, String[] visibleColumnIds); + +} |