摘要: 添加和移除监听器: 1 IWorkspace workspace = ResourcesPlugin.getWorkspace(); 2 IResourceChangeListener listener = new IResourceChangeListener() { 3 ... 阅读全文
posted @ 2014-06-10 17:25 behappylee 阅读(353) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/a570056568/article/details/6152961IResourceChangeListener是一个资源改变的监听器,当工作区中有资源改变(三种状况:添加、删除、修改)就会触发它里面的函数public void resourceChang... 阅读全文
posted @ 2014-06-10 15:57 behappylee 阅读(578) 评论(0) 推荐(0) 编辑
摘要: GraphicalEditor是来让用户快速开始GEF的Editor,它其实是一个包含了一个GraphicalViewer的Editor。GraphicalEditorWithFlyoutPalette和GraphicalEditorWithPalette都继承于GraphicalEditor,他们... 阅读全文
posted @ 2014-06-10 15:40 behappylee 阅读(909) 评论(0) 推荐(0) 编辑