| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <library> |
| |
| <class name="syncWin" extends="labelText" multiline="true" resize="false" |
| width="260" align="right" y="${ parent.height - this.height - 10 }" |
| bgcolor="0xFFFFFF" fgcolor="0xFF3300"> |
| |
| <attribute name="refObj" value="null" /> |
| |
| <attribute name="labeliderror" value="0" type="number" /> |
| |
| <handler name="oninit"> |
| this.setAttribute('text',canvas.getLabelName(this.labeliderror)); |
| </handler> |
| |
| <method name="close"> |
| this.destroy(); |
| </method> |
| |
| <handler name="onclick"> |
| this.destroy(); |
| </handler> |
| |
| <method name="setMessage" args="mess"> |
| this.setAttribute('text',mess); |
| </method> |
| |
| </class> |
| |
| <!-- |
| <class name="syncWin" extends="labelExplorerBox" labelid="558" |
| docking="true" resizeable="false" closable="true" width="250" |
| x="$once{ canvas.width/2 - this.width/2 }" height="140"> |
| |
| <handler name="oninit"> |
| lz.ModeManager.makeModal(this); |
| </handler> |
| |
| <handler name="onclose"> |
| lz.ModeManager.release(this); |
| canvas.syncWindow = null; |
| </handler> |
| |
| <attribute name="labeliderror" value="0" type="number" /> |
| |
| <view x="2" width="$once{ parent.width -4 }" clip="true" |
| y="24" height="$once{ parent.height-25 }"> |
| <labelText labelid="$once{ parent.parent.labeliderror }" |
| width="$once{ parent.width }" multiline="true" resize="false"/> |
| </view> |
| |
| </class> |
| --> |
| |
| </library> |