eclipse-rcp

How to programmatically refresh an Eclipse view, or RSE file subsystem?

主宰稳场 提交于 2021-01-28 04:21:40
问题 How can I programmatically update an Eclipse view? (I suppose this might not need to be specific to RSE?). Background: I use Remote System Explorer (RSE) for Eclipse, do some stuff by executing remote commands via SSH, which creates new files on the remote host. I realized that the SFTP file listing in the Remote systems view does not automatically get updated to show the newly created file. I have managed so far to get the relevant view, like so: IWorkbench workbench = PlatformUI

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