forked from Adobe-CEP/CEP-Resources
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cbd1edd
commit d0da1c7
Showing
332 changed files
with
98,232 additions
and
194 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
3,037 changes: 3,037 additions & 0 deletions
3,037
CEP_10.x/Documentation/CEP 10.0 HTML Extension Cookbook.md
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Folder containing images used in documentation |
60 changes: 60 additions & 0 deletions
60
CEP_10.x/Samples/CEP_HTML_Invisible_Extension-10.0/CSXS/manifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
93
CEP_10.x/Samples/CEP_HTML_Invisible_Extension-10.0/html/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.