Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Stardust/Enhancing and Embedding Stardust/Browser Modeler/Application Overlay"

(Implementation)
Line 27: Line 27:
 
The implementation of the Overlay requires an HTML file, e.g.
 
The implementation of the Overlay requires an HTML file, e.g.
  
<source lang="html">
+
<source lang="html4strict">
 
</source>
 
</source>
  

Revision as of 08:37, 13 June 2013

Purpose

The Application Overlay Extension Point allows you to create a pluggable user interface for arbitrary applications invoked from the Browser Modeler.

Definition

The definition of Extensions to the Application Overlay (as well as those for the Event Overlay) need to reside in arbitrary JavaScript files integrationOverlay of your modelerExtensions folder. For convenience you may create one integrationOverlay.js file in that folder.

define(
		[ "test/js/SqlOverlay"],
		function(SqlOverlay) {
			return {
				applicationIntegrationOverlay : [ {
					id : "sqlOverlay",
					name : "SQL Database Access",
					pageHtmlUrl : "sqlOverlay.html",
					provider : SqlOverlay
				}],
				eventIntegrationOverlay : [ ... ]
			};
		});

Implementation

The implementation of the Overlay requires an HTML file, e.g.

 

and a JavaScript controller

 

Runtime

Back to the top