Newer
Older

Sebastian Bergemann
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
<title></title>
<meta name="generator" content="LibreOffice 6.0.4.2 (Windows)"/>
<meta name="created" content="00:00:00"/>
<meta name="changed" content="2018-06-12T17:06:10.556000000"/>
<meta name="created" content="00:00:00">
</head>
<body lang="en-US" dir="ltr">
<h1>Developer Documentation for <i>Reuse Functionality
(</i><i>org.fortiss.tooling.ext.reuse</i><i>)</i></h1>
<p>This plugin contains the basic functionality of reuse in AF3 projects.
With it a user can create reuse libraries that are stored in a separate local project.
These libraries can store supported reuse elements (which are standard AF3 elements to
which a reuse specification is added). The stored reuse elements are displayed in the model
elements view and can be drag & dropped from there in AF3 projects. They are still linked
with their libraries, which is why the elements can be updated at any time from the library
and vice versa (update the original element inside the library). Currently supported AF3
elements for reuse are: components, requirements and entries of data dictionaries.</p>
<h1><font size="5" style="font-size: 20pt">Package description</font></h1>
<p>The plugin contains the following packages (besides standard ones):
</p>
<ul>
<li><tt>reuse.compose</tt>: compositors for reuse library and its file project.</li>
<li><tt>reuse.service</tt>: provider (service) for other AF3 elements to be able to
support the reuse functionality. If a new element should be supported, it should use
this service.</li>
<li><tt>reuse.storage</tt>: separate file handling/storage of reuse libraries.</li>
<li><tt>reuse.utils</tt>: utility functions for reuse elements and actions (including
the model element factory).</li>
</ul>
<h1><font size="5" style="font-size: 20pt">Metamodel description</font></h1>
<p>The following main meta-model classes are contained in this
plugin:</p>
<ul>
<li><tt>ReuseLibrary</tt>: the root class of a library, which has an UUID and a
list of all contained reuse elements.</li>
<li><tt>ReuseElementSpec</tt>: the specification that is added to an element
as soon as it is used as reuse element (is added to a reuse library). Contains
information about the element itself, about the connected library, and about
the reuse process (last update, hash).</li>
</ul>
</ul>
</body>
</html>