![](/img/trans.png)
[英]How to add tags noautocollapse and NoClose in partstack for Eclipse 3.x perspectives
[英]Can I hide the Progress Indicator for different perspectives in Eclipse 3.x
我專門指的是此行控制的屏幕底部的欄:
configurer.setShowProgressIndicator(true);
我有自己的方式來切換透視圖,因此在切換透視圖時可以使用一些代碼來打開和關閉它,但是在執行過程中有沒有辦法打開和關閉它呢?
謝謝,
格倫x
一旦顯示進度指示器,就沒有正式的方法可以更改它。
您可能可以使用e4模型服務API來關閉進度指示器的呈現:
EModelService modelService = .... get the model service
MToolControl pbElement = (MToolControl)modelService.find(
"org.eclipse.ui.ProgressBar", model);
pbElement.setToBeRendered(false);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.