e4

Switch Image of a Handler in a e4 rcp

…衆ロ難τιáo~ 提交于 2021-02-10 14:59:50
问题 I have an e4 rcp application and I want to extend my application with a toolbar item that should change the icon URL when the user execute it. Is there any possibility to do this as I can do it in a MPart? 回答1: Just call the setIconURI method of MToolItem in your handler for the tool item: @Execute public void execute(MToolItem mitem) { mitem.setIconURI("platform:/plugin/......"); ... other code } 来源: https://stackoverflow.com/questions/46191767/switch-image-of-a-handler-in-a-e4-rcp

Switch Image of a Handler in a e4 rcp

独自空忆成欢 提交于 2021-02-10 14:58:40
问题 I have an e4 rcp application and I want to extend my application with a toolbar item that should change the icon URL when the user execute it. Is there any possibility to do this as I can do it in a MPart? 回答1: Just call the setIconURI method of MToolItem in your handler for the tool item: @Execute public void execute(MToolItem mitem) { mitem.setIconURI("platform:/plugin/......"); ... other code } 来源: https://stackoverflow.com/questions/46191767/switch-image-of-a-handler-in-a-e4-rcp

Switch Image of a Handler in a e4 rcp

二次信任 提交于 2021-02-10 14:57:13
问题 I have an e4 rcp application and I want to extend my application with a toolbar item that should change the icon URL when the user execute it. Is there any possibility to do this as I can do it in a MPart? 回答1: Just call the setIconURI method of MToolItem in your handler for the tool item: @Execute public void execute(MToolItem mitem) { mitem.setIconURI("platform:/plugin/......"); ... other code } 来源: https://stackoverflow.com/questions/46191767/switch-image-of-a-handler-in-a-e4-rcp

Exception when maximizing MPart

眉间皱痕 提交于 2020-07-24 04:42:07
问题 I'm creating perspectives in my Eclipse application. Now For working with my perspectives I created some shared elements to share between different perspectives. One of them is a MPartStack with some dynamic MPart elements in it. When I double click on a MPart that is in the MPartStack I got some strange error related to the MinMax addon. But I want to have the min max behavior in my application. All the MParts that are in the share MPartStack has this problem. Other MParts that are in normal

Exception when maximizing MPart

こ雲淡風輕ζ 提交于 2020-07-24 04:41:08
问题 I'm creating perspectives in my Eclipse application. Now For working with my perspectives I created some shared elements to share between different perspectives. One of them is a MPartStack with some dynamic MPart elements in it. When I double click on a MPart that is in the MPartStack I got some strange error related to the MinMax addon. But I want to have the min max behavior in my application. All the MParts that are in the share MPartStack has this problem. Other MParts that are in normal

Exception when maximizing MPart

最后都变了- 提交于 2020-07-24 04:41:05
问题 I'm creating perspectives in my Eclipse application. Now For working with my perspectives I created some shared elements to share between different perspectives. One of them is a MPartStack with some dynamic MPart elements in it. When I double click on a MPart that is in the MPartStack I got some strange error related to the MinMax addon. But I want to have the min max behavior in my application. All the MParts that are in the share MPartStack has this problem. Other MParts that are in normal

Exception when maximizing MPart

我的未来我决定 提交于 2020-07-24 04:40:53
问题 I'm creating perspectives in my Eclipse application. Now For working with my perspectives I created some shared elements to share between different perspectives. One of them is a MPartStack with some dynamic MPart elements in it. When I double click on a MPart that is in the MPartStack I got some strange error related to the MinMax addon. But I want to have the min max behavior in my application. All the MParts that are in the share MPartStack has this problem. Other MParts that are in normal

Exception when maximizing MPart

亡梦爱人 提交于 2020-07-24 04:40:08
问题 I'm creating perspectives in my Eclipse application. Now For working with my perspectives I created some shared elements to share between different perspectives. One of them is a MPartStack with some dynamic MPart elements in it. When I double click on a MPart that is in the MPartStack I got some strange error related to the MinMax addon. But I want to have the min max behavior in my application. All the MParts that are in the share MPartStack has this problem. Other MParts that are in normal

Accessing the current processes handles

偶尔善良 提交于 2020-02-04 07:02:09
问题 In our RCP 4 application we have had SWT exceptions thrown caused by there being no more handles available. This could be caused by a resource leak or by other 3rd party applications running. We are unable to reproduce this in development so we would like to log any information that could possibly help us fix this in the future. We would like to get information about the handles. E.g. Total handles and what they are used for such as images, fonts, and composites. I've been looking this up and

Accessing the current processes handles

大兔子大兔子 提交于 2020-02-04 07:01:26
问题 In our RCP 4 application we have had SWT exceptions thrown caused by there being no more handles available. This could be caused by a resource leak or by other 3rd party applications running. We are unable to reproduce this in development so we would like to log any information that could possibly help us fix this in the future. We would like to get information about the handles. E.g. Total handles and what they are used for such as images, fonts, and composites. I've been looking this up and