Skip to content

Commit

Permalink
CEP 10 docs (Adobe-CEP#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
snehi-adobe authored Sep 23, 2020
1 parent cbd1edd commit d0da1c7
Show file tree
Hide file tree
Showing 332 changed files with 98,232 additions and 194 deletions.
699 changes: 699 additions & 0 deletions CEP_10.x/CEPEngine_extensions.js

Large diffs are not rendered by default.

1,291 changes: 1,291 additions & 0 deletions CEP_10.x/CSInterface.js

Large diffs are not rendered by default.

Binary file added CEP_10.x/Cefclient_v74/Cefclient_Mac.zip
Binary file not shown.
Binary file added CEP_10.x/Cefclient_v74/Cefclient_Win64.zip
Binary file not shown.
3,037 changes: 3,037 additions & 0 deletions CEP_10.x/Documentation/CEP 10.0 HTML Extension Cookbook.md

Large diffs are not rendered by default.

Binary file added CEP_10.x/Documentation/images/Issue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added CEP_10.x/Documentation/images/correct.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added CEP_10.x/Documentation/images/cross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added CEP_10.x/Documentation/images/dom_comm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions CEP_10.x/Documentation/images/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Folder containing images used in documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtensionBundleId="com.adobe.cephtmltest.invisible" ExtensionBundleVersion="1.0" Version="6.0"> <!-- MAJOR-VERSION-UPDATE-MARKER -->
<ExtensionList>
<Extension Id="com.adobe.CEPHTMLTEST.invisible" Version="6.1.0"/>
</ExtensionList>
<ExecutionEnvironment>
<HostList>
<Host Name="DRWV" Version="15.0"/>
<Host Name="FLPR" Version="15.0"/>
<Host Name="IDSN" Version="11.0"/>
<Host Name="AICY" Version="11.0"/>
<Host Name="ILST" Version="[15.0,99.9]"/>
<Host Name="PHSP" Version="16.0"/>
<Host Name="PHXS" Version="[16.0,99.9]"/>
<Host Name="PPRO" Version="9.0"/>
<Host Name="PRLD" Version="4.0"/>
<Host Name="AEFT" Version="13.0"/>
<Host Name="DEMO" Version="1.0"/>
<Host Name="AUDT" Version="8.0"/>
<Host Name="LTRM" Version="7.0"/>
<Host Name="MUSE" Version="2015"/>
</HostList>
<LocaleList>
<Locale Code="All"/>
</LocaleList>
<RequiredRuntimeList>
<RequiredRuntime Name="CSXS" Version="6.0"/> <!-- MAJOR-VERSION-UPDATE-MARKER -->
</RequiredRuntimeList>
</ExecutionEnvironment>
<DispatchInfoList>
<Extension Id="com.adobe.CEPHTMLTEST.invisible">
<DispatchInfo>
<Resources>
<MainPath>./html/index.html</MainPath>
<CEFCommandLine>
<Parameter>--enable-nodejs</Parameter>
</CEFCommandLine>
</Resources>
<Lifecycle>
<AutoVisible>false</AutoVisible>
<StartOn>
<!-- PS dispatches this event on startup -->
<Event>applicationActivate</Event>
<!-- PPro dispatches this event on startup -->
<Event>com.adobe.csxs.events.ApplicationActivate</Event>
</StartOn>
</Lifecycle>
<UI>
<Type>Custom</Type>
<Geometry>
<Size>
<Height>100</Height>
<Width>100</Width>
</Size>
</Geometry>
</UI>
</DispatchInfo>
</Extension>
</DispatchInfoList>
</ExtensionManifest>
93 changes: 93 additions & 0 deletions CEP_10.x/Samples/CEP_HTML_Invisible_Extension-10.0/html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2013, Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
-->
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<script src="../js/CSInterface.js"></script>

<script>

var httpServer;

window.onload = function()
{
var csLib = new CSInterface();
var hostEnv = csLib.getHostEnvironment();
var appVersion = hostEnv.appVersion;
var appId = hostEnv.appId;

var port = 8000;
switch (appId)
{
case 'PHXS':
case 'PHSP':
port = 8000;
break;

case 'PPRO':
port = 8001;
break;

case 'PRLD':
port = 8002;
break;

case 'IDSN':
port = 8003;
break;

case 'AICY':
port = 8004;
break;

case 'FLPR':
port = 8005;
break;

case 'ILST':
port = 8012;
break;

default:
break;
}

var http = cep_node.require('http');
httpServer = http.createServer(function (req, res)
{
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Greetings from ' + appId + ' ' + appVersion);
}).listen(port, '127.0.0.1');
};

window.onunload = function()
{
httpServer.close();
}

</script>
</head>

<body>
</body>

</html>
Loading

0 comments on commit d0da1c7

Please sign in to comment.