blob: 9168246d745660ef79d2d98b34fc7b52a22c884e [file] [log] [blame]
<html>
<head>
<link rel="stylesheet" href="../webroot/stylesheet.css">
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
</head>
<body>
<h1>EASE Modules</h1>
<h2>Using Modules</h2>
Modules provide a simple way to access commonly used API. By default it enforces a functional style of programming also for inexperienced programmers.
The <i>Modules Explorer</i> view provides browsing support and help documentation for available modules.
<p>
Before a module function can be used, the corresponding module needs to be loaded:
</p>
<pre>loadModule("/System/Resources");
getWorkspace();</pre>
<h2>Writing Modules</h2>
Modules are Java classes that get registered via an extension point.
The simplest modules are POJOs without any dependency to EASE or Eclipse. By using Annotations module developers get more control on which functionality is available to script developers.
<p>A full tutorial on writing modules is available on the <a href="https://wiki.eclipse.org/EASE/Module_Contribution">EASE Wiki</a>.
</body>
</html>