⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 start_stop.xmi

📁 another swing example for java programmmer
💻 XMI
字号:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:_-javaprim="java:/" xmlns:containerVisuals="platform:/plugin/org.eclipse.ve.jfc/overrides/java/awt/containerVisuals.ecore" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:java.awt="java:/java.awt" xmlns:java.lang="java:/java.lang" xmlns:javax.swing="java:/javax.swing" xmlns:org.eclipse.jem.internal.beaninfo.beaninfo="http:///org/eclipse/jem/internal/beaninfo/beaninfo.ecore" xmlns:org.eclipse.jem.internal.instantiation="http:///org/eclipse/jem/internal/instantiation.ecore" xmlns:org.eclipse.jem.java="java.xmi" xmlns:org.eclipse.ve.internal.cdm="http:///org/eclipse/ve/internal/cdm.ecore" xmlns:org.eclipse.ve.internal.jcm="http:///org/eclipse/ve/internal/jcm.ecore"><org.eclipse.ve.internal.jcm:BeanSubclassComposition components="/0/@members.3 /0/@members.4"><diagrams xsi:type="org.eclipse.ve.internal.cdm:Diagram" id="org.eclipse.ve.internal.cdm.primarydiagram" visualInfos="/0/@annotations.3/@visualInfos.0 /0/@annotations.0/@visualInfos.0 /0/@annotations.4/@visualInfos.0 /0/@annotations.2/@visualInfos.0 /0/@annotations.1/@visualInfos.0 /0/@annotations.5/@visualInfos.0"/><annotations xsi:type="org.eclipse.ve.internal.cdm:AnnotationEMF" annotates="/0/@members.1"><keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition" value="jButton1"/><visualInfos xsi:type="org.eclipse.ve.internal.cdm:VisualInfo" diagram="/0/@diagrams.0"><keyedValues xsi:type="org.eclipse.ve.internal.cdm:KeyedBoolean" key="org.eclipse.ve.internal.cdm.model.visualconstraintkey" value="true"/></visualInfos></annotations><annotations xsi:type="org.eclipse.ve.internal.cdm:AnnotationEMF" annotates="/0/@members.4"><keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition" value="assistant"/><visualInfos xsi:type="org.eclipse.ve.internal.cdm:VisualInfo" diagram="/0/@diagrams.0"><keyedValues xsi:type="org.eclipse.ve.internal.cdm:KeyedBoolean" key="org.eclipse.ve.internal.cdm.model.visualconstraintkey" value="true"/></visualInfos></annotations><annotations xsi:type="org.eclipse.ve.internal.cdm:AnnotationEMF" annotates="/0/@members.3"><keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition" value="student"/><visualInfos xsi:type="org.eclipse.ve.internal.cdm:VisualInfo" diagram="/0/@diagrams.0"><keyedValues xsi:type="org.eclipse.ve.internal.cdm:KeyedConstraint" value="18,12,-1,-1" key="org.eclipse.ve.internal.cdm.model.visualconstraintkey"/></visualInfos></annotations><annotations xsi:type="org.eclipse.ve.internal.cdm:AnnotationEMF" annotates="/0/@members.0"><keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition" value="jButton"/><visualInfos xsi:type="org.eclipse.ve.internal.cdm:VisualInfo" diagram="/0/@diagrams.0"><keyedValues xsi:type="org.eclipse.ve.internal.cdm:KeyedBoolean" key="org.eclipse.ve.internal.cdm.model.visualconstraintkey" value="true"/></visualInfos></annotations><annotations xsi:type="org.eclipse.ve.internal.cdm:AnnotationEMF" annotates="/0/@members.2"><keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition" value="jContentPane"/><visualInfos xsi:type="org.eclipse.ve.internal.cdm:VisualInfo" diagram="/0/@diagrams.0"><keyedValues xsi:type="org.eclipse.ve.internal.cdm:KeyedBoolean" key="org.eclipse.ve.internal.cdm.model.visualconstraintkey" value="true"/></visualInfos></annotations><annotations xsi:type="org.eclipse.ve.internal.cdm:AnnotationEMF" annotates="this"><visualInfos xsi:type="org.eclipse.ve.internal.cdm:VisualInfo" diagram="/0/@diagrams.0"><keyedValues xsi:type="org.eclipse.ve.internal.cdm:KeyedConstraint" value="225,10,-1,-1" key="org.eclipse.ve.internal.cdm.model.visualconstraintkey"/></visualInfos></annotations><members xsi:type="javax.swing:JButton" bounds="/0/@methods.0/@properties.1" text="/0/@methods.0/@properties.0"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="javax.swing.JButton"/></allocation><events xsi:type="org.eclipse.ve.internal.jcm:EventInvocation" listener="/0/@listenerTypes.0/@listeners.0"><callbacks xsi:type="org.eclipse.ve.internal.jcm:Callback"><method xsi:type="org.eclipse.jem.java:Method" href="java:/java.awt.event#ActionListener.actionPerformed(java.awt.event.ActionEvent"/></callbacks><event xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:BeanEvent" href="java:/javax.swing#AbstractButton/event/action"/></events></members><members xsi:type="javax.swing:JButton" bounds="/0/@methods.1/@properties.1" text="/0/@methods.1/@properties.0"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="javax.swing.JButton"/></allocation><events xsi:type="org.eclipse.ve.internal.jcm:EventInvocation" listener="/0/@listenerTypes.0/@listeners.1"><callbacks xsi:type="org.eclipse.ve.internal.jcm:Callback"><method xsi:type="org.eclipse.jem.java:Method" href="java:/java.awt.event#ActionListener.actionPerformed(java.awt.event.ActionEvent"/></callbacks><event xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:BeanEvent" href="java:/javax.swing#AbstractButton/event/action"/></events></members><members xsi:type="javax.swing:JPanel"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="javax.swing.JPanel"/></allocation><layout xsi:nil="true"/><components xsi:type="containerVisuals:ConstraintComponent" component="/0/@members.0"><constraint xsi:nil="true"/></components><components xsi:type="containerVisuals:ConstraintComponent" component="/0/@members.1"><constraint xsi:nil="true"/></components></members><members xsi:type="_-javaprim:ChatChannel" title="/0/@methods.3/@properties.1"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="ChatChannel"/></allocation></members><members xsi:type="_-javaprim:ChatChannel" title="/0/@methods.3/@properties.2"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="ChatChannel"/></allocation></members><listenerTypes xsi:type="org.eclipse.ve.internal.jcm:ListenerType"><implements xsi:type="org.eclipse.jem.java:JavaClass" href="java:/java.awt.event#ActionListener"/><listeners xsi:type="org.eclipse.ve.internal.jcm:Listener" listenedBy="/0/@members.0/@events.0"/><listeners xsi:type="org.eclipse.ve.internal.jcm:Listener" listenedBy="/0/@members.1/@events.0"/></listenerTypes><listenerTypes xsi:type="org.eclipse.ve.internal.jcm:ListenerType"><extends xsi:type="org.eclipse.jem.java:JavaClass" href="java:/java.awt.event#KeyAdapter"/></listenerTypes><thisPart xsi:type="_-javaprim:Start_Stop" xmi:id="this" size="/0/@methods.3/@properties.0" title="/0/@methods.3/@properties.3" contentPane="/0/@members.2"/><methods xsi:type="org.eclipse.ve.internal.jcm:JCMMethod" name="getJButton" initializes="/0/@members.0" return="/0/@members.0"><properties xsi:type="java.lang:String"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTStringLiteral" escapedValue="&quot;start&quot;"/></allocation></properties><properties xsi:type="java.awt:Rectangle"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="java.awt.Rectangle"><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="15"/><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="30"/><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="136"/><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="76"/></expression></allocation></properties></methods><methods xsi:type="org.eclipse.ve.internal.jcm:JCMMethod" name="getJButton1" initializes="/0/@members.1" return="/0/@members.1"><properties xsi:type="java.lang:String"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTStringLiteral" escapedValue="&quot;stop&quot;"/></allocation></properties><properties xsi:type="java.awt:Rectangle"><allocation xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation"><expression xsi:type="org.eclipse.jem.internal.instantiation:PTClassInstanceCreation" type="java.awt.Rectangle"><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="150"/><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="30"/><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="136"/><arguments xsi:type="org.eclipse.jem.internal.instantiation:PTNumberLiteral" token="76"/></expression></allocation></properties></methods><methods xsi:type="org.eclipse.ve.internal.jcm:JCMMethod" name="getJContentPane" initializes="/0/@members.2" return="/0/@members.2"/><methods xsi:type="org.eclipse.ve.internal.jcm:JCMMethod" name="initialize" initializes="/0/@members.3 /0/@members.4 this"><properties xsi:type="java.awt:Dimension"><allocation xsi:type="org.eclipse.jem.internal.instantiation:InitStringAllocation" initString="new java.awt.Dimension(300,200)"/></properties><properties xsi:type="java.lang:String"><allocation xsi:type="org.eclipse.jem.internal.instantiation:InitStringAllocation" initString="&quot;Student&quot;"/></properties><properties xsi:type="java.lang:String"><allocation xsi:type="org.eclipse.jem.internal.instantiation:InitStringAllocation" initString="&quot;Assistant&quot;"/></properties><properties xsi:type="java.lang:String"><allocation xsi:type="org.eclipse.jem.internal.instantiation:InitStringAllocation" initString="&quot;Main page&quot;"/></properties></methods></org.eclipse.ve.internal.jcm:BeanSubclassComposition><org.eclipse.ve.internal.jcm:JavaCacheData><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="jButton1" value="/0/@members.1"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="assistant" value="/0/@members.4"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="student" value="/0/@members.3"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="=msn/&lt;{Start_Stop.java[Start_Stop~initialize^assistant.getJButton()"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="jButton" value="/0/@members.0"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="=msn/&lt;{Start_Stop.java[Start_Stop~initialize^student.getJButton()"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="jContentPane" value="/0/@members.2"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="this" value="this"/><NamesToBeans xsi:type="org.eclipse.ve.internal.jcm:NamesToBeans" key="=msn/&lt;{Start_Stop.java[Start_Stop~initialize^student.getJTextArea()"/></org.eclipse.ve.internal.jcm:JavaCacheData></xmi:XMI>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -