.metadata/.plugins/com.genuitec.eclipse.webdesigner3/bindings/text.xml

(完整代码) 1KB

<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl" 
		  xmlns:html="http://www.w3.org/1999/xhtml">
	
	<binding id="text" extends="base.xml#base">
		<content>
			<html:br anonid="breakbefore" style="display:none"/><html:wd3span anonid="label">
			</html:wd3span><html:br anonid="breakafter" style="display:none"/>
			<html:span style="display:none"><children/></html:span>
	    </content>
	    
	    <implementation>
	    	<field name="shouldBreakBefore">false</field>
	    	<field name="shouldBreakAfter">false</field>
	    	<property name="labelText">
	    		<getter><![CDATA[
		    		return "";
		    	]]></getter>
	    	</property>
	    	<property name="customStyle">
	    		<getter><![CDATA[
		    		return null;
		    	]]></getter>
	    	</property>
	    	
	    	<method name="update">
	    		<body><![CDATA[
	    			this.updateText(this.labelText, "label");
	    			if (this.customStyle != null) {
		    			var label = document.getAnonymousElementByAttribute(this, "anonid", "label");
		    			label.style.cssText = this.customStyle;
	    			}
	    			
	    			var before = document.getAnonymousElementByAttribute(this, "anonid", "breakbefore");
	    			if (this.shouldBreakAfter) {
	    				before.style.display = "inline";
	    			} else {
	    				before.style.display = "none";
	    			}
	    			var after = document.getAnonymousElementByAttribute(this, "anonid", "breakafter");
	    			if (this.shouldBreakAfter) {
	    				after.style.display = "inline";
	    			} else {
	    				after.style.display = "none";
	    			}
	    		]]>
	    		</body>
	    	</method>
	    </implementation>
	    
	    <handlers>
	    	<handler event="DOMAttrModified" phase="capturing">
	    		event.stopPropagation();
	    	</handler>
	    </handlers>
	</binding>
	
</bindings>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。