Skip to content

Instantly share code, notes, and snippets.

@kenwebb
Last active November 29, 2017 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenwebb/57e815d9de593c1a3d0fe155c3790067 to your computer and use it in GitHub Desktop.
Save kenwebb/57e815d9de593c1a3d0fe155c3790067 to your computer and use it in GitHub Desktop.
Operadics DSL - Web Interface
<?xml version="1.0" encoding="UTF-8"?>
<!--Xholon Workbook http://www.primordion.com/Xholon/gwt/ MIT License, Copyright (C) Ken Webb, Wed Nov 29 2017 08:32:29 GMT-0500 (EST)-->
<XholonWorkbook>
<Notes><![CDATA[
Xholon
------
Title: Operadics DSL - Web Interface
Description: for use with XholonOpDSL.html
Url: http://www.primordion.com/Xholon/gwt/
InternalName: 57e815d9de593c1a3d0fe155c3790067 based on e7626a5be5caaab84dbb64f052ed743f based on 0b78a16009d21bb8462245585200d9ea
Keywords:
My Notes
--------
November 28, 2017
http://127.0.0.1:8888/XholonOpDSL.html?app=Operadics+DSL+-+Web+-+Interface&src=lstr&gui=none
http://127.0.0.1:8888/XholonOpDSL.html?app=57e815d9de593c1a3d0fe155c3790067&src=gist&gui=none
http://www.primordion.com/Xholon/gwt/XholonOpDSL.html?app=57e815d9de593c1a3d0fe155c3790067&src=gist&gui=none
References
----------
(1)
]]></Notes>
<params>
<param name="DelayWorkbookCSH" value="true"/>
</params>
<_-.XholonClass>
<PhysicalSystem/>
<OperadExample/>
</_-.XholonClass>
<xholonClassDetails>
<Avatar>
<Color>rgba(255,215,0,0.8)</Color>
</Avatar>
</xholonClassDetails>
<PhysicalSystem xmlns:xi="http://www.w3.org/2001/XInclude">
<OperadExample>
<CatOpDsl exportGraphviz="false" exportTex="true" exportXml="false" exportYaml="false" opdslWebInterfaceTextareaSelector="#xhtabs &gt; table &gt; tbody &gt; tr &gt; td:nth-child(1) &gt; div &gt; div:nth-child(4) &gt; div &gt; div:nth-child(3) &gt; div &gt; div:nth-child(5) &gt; div &gt; div:nth-child(4) &gt; table &gt; tbody &gt; tr &gt; td &gt; div &gt; div &gt; div &gt; textarea">
<!-- CatOpDsl.java will search for the HTML textarea in the Op DSL Web Interface -->
</CatOpDsl>
</OperadExample>
</PhysicalSystem>
<Chameleonbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
var me, beh = {
postConfigure: function() {
me = this.cnode.parent();
// change size of the resizePanel
var resizePanel = $doc.querySelector("#xhtabs > table > tbody > tr > td:nth-child(1) > div");
resizePanel.style.height = "999px";
// hide the out, clipboard and notes tabs
var xhout = resizePanel.querySelector("div:nth-child(4) > div > div:nth-child(2) > div > div:nth-child(1)"); // the tab header
if (xhout) {xhout.style.display = "none";}
var xhclipboard = resizePanel.querySelector("div:nth-child(4) > div > div:nth-child(2) > div > div:nth-child(2)");
if (xhclipboard) {xhclipboard.style.display = "none";}
var xhnotes = resizePanel.querySelector("div:nth-child(4) > div > div:nth-child(2) > div > div:nth-child(3)");
if (xhnotes) {xhnotes.style.display = "none";}
// load in the "Operadics DSL IDE"
var xhs = $wnd.xh.service("XholonHelperService");
if (xhs) {
var respMsg = xhs.call(-2028, "OpDslWebInterface", me);
}
}
}
//# sourceURL=Chameleonbehavior.js
]]></Chameleonbehavior>
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg+xml,
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient>
</XholonWorkbook>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment