.metadata/.plugins/com.genuitec.eclipse.webdesigner3/bindings/commandButton.xml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl"
xmlns:xbl="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml">
<binding id="commandButton" extends="base.xml#base">
<content>
<html:input wd3_selection_help="resizer" type="button" anonid="anonbutton" class="custombutton jsfbgimage"
/><html:input wd3_selection_help="resizer" type="image" src="img/jsf.gif" anonid="anonimage"
/><html:span style="display:none"><children/></html:span>
</content>
<implementation>
<field name="defaultButtonText">""</field>
<field name="buttonImage">""</field>
<field name="_buttonText">""</field>
<property name="buttonText">
<getter>
return this._buttonText;
</getter>
</property>
<field name="_renderedURL">""</field>
<property name="wd3_renderedURL">
<getter><![CDATA[
return this._renderedURL;
]]></getter>
<setter><![CDATA[
this._renderedURL = val;
]]></setter>
</property>
<method name="update">
<body><![CDATA[
var anonbutton = document.getAnonymousElementByAttribute(this, "anonid", "anonbutton");
var anonimage = document.getAnonymousElementByAttribute(this, "anonid", "anonimage");
var imageAttr = this.getAttribute('image');
if (imageAttr != null && imageAttr != "") {
anonbutton.style.display = "none";
anonbutton.setAttribute("wd3_selection_help","");
anonimage.setAttribute('alt', this.getAttribute('alt'));
anonimage.style.display = "inline";
anonimage.setAttribute("wd3_selection_help","resizer");
var url = this._renderedURL;
if (url == "") {
url = this.getAttribute('wd3_renderedURL');
this.wd3_renderedURL = url;
}
if (url != null && url != "") {
anonimage.setAttribute('src', url);
anonimage.style.display = "inline";
} else {
anonimage.style.display = "none";
}
} else {
后面还有 25 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。