^1703237606074
@
sname
Menu
slabel
Menu
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.events.Listeners
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sicon
icons/org/eclipse/swt/widgets/Menu.gif
sfont
|11|1|#000000
Sdescription
#$@text#$@
<p><strong>SWT菜单的结构</strong></p>

<p>&nbsp;&nbsp;&nbsp; 如Shell上的系统菜单的结构可以如下。</p>

<ul>
	<li>Menu: style=BAR
	<ul>
		<li>MenuItem: style=CASCADE
		<ul>
			<li>Menu: style=DROP_DOWN
			<ul>
				<li>MenuItem: style=PUSH</li>
				<li>MenuItem: style=CASCADE
				<ul>
					<li>Menu: style=POP_UP
					<ul>
						<li>MenuItem: style=PUSH</li>
					</ul>
					</li>
				</ul>
				</li>
			</ul>
			</li>
		</ul>
		</li>
		<li>MenuItem:style=PUSH</li>
	</ul>
	</li>
</ul>

<p><strong>style类型说明</strong></p>

<p><strong>Menu</strong></p>

<ul>
	<li><strong>BAR</strong><br />
	通常是显示在Shell上的，是窗口上的系统菜单。<br />
	&nbsp;</li>
	<li><strong>DROP_DOWN</strong><br />
	父菜单是BAR的。<br />
	&nbsp;</li>
	<li><strong>POP_UP</strong><br />
	各种弹出菜单的场合。如DROP_DOWN下面的子菜单。&nbsp;</li>
</ul>

<p><strong>MenuItem</strong></p>

<ul>
	<li><strong>CASCADE</strong><br />
	下面包含Menu的。<br />
	&nbsp;</li>
	<li><strong>SEPARATOR</strong><br />
	分隔符。<br />
	&nbsp;</li>
	<li><strong>其它</strong><br />
	如Style类型的名字所示。</li>
</ul>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_array_type
children
sjson_attribute
false
  @/@scripts
  sname
  scripts
  slabel
  scripts
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  scripts
    @/@scripts/@create
    sname
    create
    slabel
    create
    sisSynchronized
    false
    sthrowException
    false
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.widgets.MenuCreator
    smethodName
    create
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    create
  @/@MenuItem
  sname
  MenuItem
  slabel
  MenuItem
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.swt.events.Listeners
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  sicon
  icons/org/eclipse/swt/widgets/MenuItem.gif
  sid
  MenuItem
    @/@MenuItem/@scripts
    sname
    scripts
    slabel
    scripts
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    scripts
      @/@MenuItem/@scripts/@create
      sname
      create
      slabel
      create
      sisSynchronized
      false
      sthrowException
      false
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.swt.widgets.MenuMenuItemCreator
      smethodName
      create
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.JavaAction
      sid
      create
    @/@MenuItem/@VariablesDescs
    sname
    VariablesDescs
    sdescriptors
    xworker.lang.MetaThing/@VariablesDesc
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    VariablesDescs
      @/@MenuItem/@VariablesDescs/@shell
      sname
      var
      svarName
      _thingName_
      spassive
      false
      stype
      object
      sclassName
      org.eclipse.swt.widgets.MenuItem
      sdescriptors
      xworker.lang.MetaThing/@VariablesDesc/@Object
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sid
      shell
    @/@MenuItem/@Menu
    sname
    Menu
    slabel
    Menu
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.swt.widgets.Menu
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    sid
    Menu
    @/@MenuItem/@name
    sname
    name
    slabel
    name
    ssize
    40
    scolspan
    2
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@MenuItem/@text
    sname
    text
    slabel
    text
    ssize
    60
    scolspan
    2
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    text
    @/@MenuItem/@style
    sname
    style
    slabel
    style
    sinputtype
    select
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    style
      @/@MenuItem/@style/@CHECK
      sname
      CHECK
      slabel
      CHECK
      svalue
      CHECK
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      CHECK
      @/@MenuItem/@style/@CASCADE
      sname
      CASCADE
      slabel
      CASCADE
      svalue
      CASCADE
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      CASCADE
      @/@MenuItem/@style/@PUSH
      sname
      PUSH
      slabel
      PUSH
      svalue
      PUSH
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      PUSH
      @/@MenuItem/@style/@RADIO
      sname
      RADIO
      slabel
      RADIO
      svalue
      RADIO
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      RADIO
      @/@MenuItem/@style/@SEPARATOR
      sname
      SEPARATOR
      slabel
      SEPARATOR
      svalue
      SEPARATOR
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      SEPARATOR
    @/@MenuItem/@image
    sname
    image
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    image
    @/@MenuItem/@accelerator
    sname
    accelerator
    scolspan
    2
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    如：Ctrl+S
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    accelerator
    @/@MenuItem/@cls
    sname
    cls
    ssize
    60
    scolspan
    2
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    cls
    @/@MenuItem/@selected
    sname
    selected
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    selected
    @/@MenuItem/@enabled
    sname
    enabled
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    true
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    enabled
  @/@name
  sname
  name
  slabel
  name
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@style
  sname
  style
  slabel
  style
  sinputtype
  select
  sdefault
  DROP_DOWN
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  style
    @/@style/@BAR
    sname
    BAR
    slabel
    BAR
    svalue
    BAR
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    BAR
    @/@style/@DROP_DOWN
    sname
    DROP_DOWN
    slabel
    DROP_DOWN
    svalue
    DROP_DOWN
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    DROP_DOWN
    @/@style/@POP_UP
    sname
    POP_UP
    slabel
    POP_UP
    svalue
    POP_UP
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    POP_UP
  @/@NO_RADIO_GROUP
  sname
  NO_RADIO_GROUP
  slabel
  NO_RADIO_GROUP
  sinputtype
  truefalse
  sdefault
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  NO_RADIO_GROUP
  @/@align
  sname
  align
  slabel
  align
  sinputtype
  select
  sdefault
  LEFT_TO_RIGHT
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  align
    @/@align/@LEFT_TO_RIGHT
    sname
    LEFT_TO_RIGHT
    slabel
    LEFT_TO_RIGHT
    svalue
    LEFT_TO_RIGHT
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    LEFT_TO_RIGHT
    @/@align/@RIGHT_TO_LEFT
    sname
    RIGHT_TO_LEFT
    slabel
    RIGHT_TO_LEFT
    svalue
    RIGHT_TO_LEFT
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    RIGHT_TO_LEFT
  @/@visible
  sname
  visible
  sinputtype
  truefalse
  sdefault
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  visible
  @/@enabled
  sname
  enabled
  sinputtype
  truefalse
  sdefault
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  enabled
  @/@QuickMenu
  sname
  QuickMenu
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.swt.xwidgets.QuickMenu/@Menu
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  snotXmlAttribute
  false
  sjson_isArray
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  QuickMenu
  @/@VariablesDescs
  sname
  VariablesDescs
  sdescriptors
  xworker.lang.MetaThing/@VariablesDesc
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  VariablesDescs
    @/@VariablesDescs/@shell
    sname
    var
    svarName
    ognl:thing.getMetadata().getName()
    stype
    object
    sclassName
    org.eclipse.swt.widgets.Menu
    sdescriptors
    xworker.lang.MetaThing/@VariablesDesc/@Object
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    shell
