Eclipse RCP understanding of the layout of the interface

EclipseUI can be divided into three levels: workbenchwindow level, perspective level and part level.

1, in the workbenchwindow level of definition is valid for the entire system, in EclipseRCP, this part of its work primarily through ApplicationActionBarAdvisor, ApplicationWorkbenchWindowAdvisor, WorkbenchWindowAdvisor these three classes are defined, for example, the system's initial perspective, the overall menu system, the system the overall toolbar and statusbar, system startup, the size of the overall situation of the property.

2, in the perspective of this perspective the various levels of defined attributes org.eclipse.ui.perspectiveExtensions provided in the Eclipse extension point, can be defined in this perspective shows a variety of part, including the view, editorpart, propertySheet, outline a variety of widget It is the work of the Eclipse system interface.

3, part-level refers to the Eclipse RCp interface, a variety of widget, including the major viewpart and edtitorpart, both can have its own unique menu, toolbar and other properties. Org.eclipse.ui.actionSetPartAssociations extension points can be give viewpart, editorpart contact menu resources, while editorpart own contributorClass can define your own menu, toolbar, statusbar and other resources.

分类:Java 时间:2010-03-29 人气:277
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.429 (s). 10 q(s)