Skip to content

Commit b0b460f

Browse files
ptzieglervogella
authored andcommitted
Deprecate "fastViewWidthRatio" extension point attribute & friends
Fast views are unsupported and the attribute is not even read from the extension point. The corresponding method in the IViewDescriptor has been deprecated as well.
1 parent 0c576c6 commit b0b460f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/views/IViewDescriptor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2015 IBM Corporation and others.
2+
* Copyright (c) 2000, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -86,7 +86,9 @@ public interface IViewDescriptor extends IWorkbenchPartDescriptor, IAdaptable {
8686
* Returns the default fast view width ratio for this view.
8787
*
8888
* @return the fast view width ratio
89+
* @deprecated discontinued support for fast views
8990
*/
91+
@Deprecated(since = "2025-06", forRemoval = true)
9092
float getFastViewWidthRatio();
9193

9294
/**

bundles/org.eclipse.ui/schema/views.exsd

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,15 @@ be associated with the view.
162162
<attribute name="fastViewWidthRatio" type="string">
163163
<annotation>
164164
<documentation>
165-
the percentage of the width of the workbench that the view will take up as an active fast view.
165+
&lt;b&gt;deprecated since 2025-06&lt;/b&gt; support for fast views has been discontinued.
166+
167+
The percentage of the width of the workbench that the view will take up as an active fast view.
166168
This must be defined as a floating point value and lie between 0.05 and 0.95.
167169
If no value is supplied, a default ratio will be used.
168170
</documentation>
171+
<appInfo>
172+
<meta.attribute deprecated="true"/>
173+
</appInfo>
169174
</annotation>
170175
</attribute>
171176
<attribute name="allowMultiple" type="boolean">

0 commit comments

Comments
 (0)