Bug 90277 - [Presentations] configurable minChars of CTabFolder
Summary: [Presentations] configurable minChars of CTabFolder
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-04-05 08:17 EDT by javi CLA
Modified: 2019-09-06 15:33 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javi CLA 2005-04-05 08:17:39 EDT
Why dont you put something for configure the minChars of CTabFolder?

I dont like to see parcial names of the classes on the workbench, and anytime i
download a new version i need to recompile CTabFolder in order to put minChars=100.

I think that something like this will be enough.

		try {
			minChars=Integer.parseInt(System.getProperty("swt.CTabFolder.minChars","10"));
		} catch (Exception e) {
			minChars=10;
		}


thanks.


javi.
Comment 1 Benjamin Pasero CLA 2005-04-06 16:00:13 EDT
What about CTabFolder#setMinimumCharacters()?

Ben
Comment 2 Veronika Irvine CLA 2005-04-06 16:05:12 EDT
API has existed to do this in CTabFolder since 3.0.

/**
 * Sets the minimum number of characters that will 
 * be displayed in a fully compressed tab.
 * 
 * @param count the minimum number of characters that will be displayed in a 
fully compressed tab
 *
 * @exception SWTException <ul>
 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that 
created the receiver</li>
 *    <li>ERROR_INVALID_RANGE - if the count is less than zero</li>
 * </ul>
 * 
 * @since 3.0
 */
public void setMinimumCharacters(int count)

Perhaps you are requesting the ability to set this value through the Eclipse 
preference page.  This used to be supported but it seems to have been removed.
Moving to the UI team for comment.
Comment 3 javi CLA 2005-04-07 04:31:46 EDT
Ok, the ability to set this value through the Eclipse preference page sounds
much better, but i conform with any method diferent that recompile your code
(overcoat in case you change the way of do it, as i notice between 3M3 and 301).

thanks 

javi.
Comment 4 Douglas Pollock CLA 2005-04-11 17:45:03 EDT
See Bug 32789.
Comment 5 javi CLA 2005-04-12 04:51:14 EDT
Ok.

controling the width of the tab in the file:
 ..../eclipse/plugins/org.eclipse.platform_3.1.0/plugin_customization.ini
adding a line as:
 org.eclipse.ui/EDITOR_MINIMUM_CHARACTERS=80
is not a bad form of make it. 

But please don't change it.

Before, (in 3M3) I added the line EDITOR_TAB_WIDTH=500 in
/eclipse/workspace/.metadata/.plugins/org.eclipse.ui.workbench/pref_store.ini 
and suddenly (in 301) it stopped working.

thank you.

(any way, the ability to set this value through the Eclipse preference page
sounds much better)


Comment 6 Paul Webster CLA 2006-09-28 11:00:58 EDT
There are currently no plans to work on this feature.

PW
Comment 7 Denis Roy CLA 2007-06-22 09:32:51 EDT
Changes requested on bug 193523
Comment 8 Eclipse Webmaster CLA 2019-09-06 15:33:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.