清单1显示了一个样本内容EditPart,它创建了一个不透明类型的图形,后者将使用XYLayout定位其子图。
Listing 1 shows a sample contents EditPart that creates an opaque figure that will position its children using the XYLayout.
它的图形应该为不透明类型(opaque),并且应当利用布局管理器进行初始化,该布局管理器将对图的子图进行布局。
Its figure should be opaque and should be initialized with the layout manager that will layout the diagrams' children.
这是另外一个不透明的句柄类型,其内容只由库使用。
This is another opaque handle type whose contents are used only by the library.
应用推荐