如果要手工编辑SWT模型,那么可以在XML编辑器中使用SWT模型的Schema。
<?xml version="1.0" encoding="utf-8"?> <Shell descriptors="xworker.swt.widgets.Shell" xmlns="http://www.xworker.org/schema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xworker.org/schema http://www.xworker.org/schema/swt.xsd"> </Shell>
注意:根节点中属性descriptors是必须的,且值为xworker.swt.widgets.Shell。
Copyright © 2007-2014 XWorker.org 版权所有