Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-04-22 15:12:41 -0400
committerpelder2009-04-22 15:12:41 -0400
commita4f1961bfbbff6d8074f1b79a53bede56b75ace0 (patch)
tree5c2063c0ecfb45b6ae88744cd55f90965191d2a7
parent49d94ca42d243d7e54aa37febe8ba7888c432d91 (diff)
downloadorg.eclipse.jet-a4f1961bfbbff6d8074f1b79a53bede56b75ace0.tar.gz
org.eclipse.jet-a4f1961bfbbff6d8074f1b79a53bede56b75ace0.tar.xz
org.eclipse.jet-a4f1961bfbbff6d8074f1b79a53bede56b75ace0.zip
[215339] Support access to UML2 profiles, stereotypes and stereotype properties
-rw-r--r--doc/org.eclipse.jet.doc-feature/feature.xml2
-rw-r--r--doc/org.eclipse.jet.doc/META-INF/MANIFEST.MF3
-rw-r--r--doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html8
-rw-r--r--doc/org.eclipse.jet.doc/references/xpathFunctions/uml2.stereotypeFunction.html85
-rw-r--r--doc/org.eclipse.jet.doc/toc.xml1
5 files changed, 97 insertions, 2 deletions
diff --git a/doc/org.eclipse.jet.doc-feature/feature.xml b/doc/org.eclipse.jet.doc-feature/feature.xml
index 8155297..3d327c1 100644
--- a/doc/org.eclipse.jet.doc-feature/feature.xml
+++ b/doc/org.eclipse.jet.doc-feature/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.eclipse.jet.doc"
label="%featureName"
- version="0.9.0.qualifier"
+ version="0.9.100.qualifier"
provider-name="%providerName">
<description>
diff --git a/doc/org.eclipse.jet.doc/META-INF/MANIFEST.MF b/doc/org.eclipse.jet.doc/META-INF/MANIFEST.MF
index 921a506..2113c1d 100644
--- a/doc/org.eclipse.jet.doc/META-INF/MANIFEST.MF
+++ b/doc/org.eclipse.jet.doc/META-INF/MANIFEST.MF
@@ -2,8 +2,9 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Plugin.name
Bundle-SymbolicName: org.eclipse.jet.doc; singleton:=true
-Bundle-Version: 0.9.0.qualifier
+Bundle-Version: 0.9.100.qualifier
Bundle-Vendor: %Provider.name
Bundle-Localization: plugin
Require-Bundle: org.eclipse.help;bundle-version="[3.2.0,4.0.0)"
Eclipse-LazyStart: true
+Bundle-ActivationPolicy: lazy
diff --git a/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html b/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html
index 42af6d3..27fdc11 100644
--- a/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html
+++ b/doc/org.eclipse.jet.doc/references/xpathFunctions/overview.html
@@ -119,6 +119,14 @@ The following functions are included in JET, in addition to the XPath functions
<!-- End trimWhitespace description -->
</TD>
</TR>
+ <TR>
+ <TD width="10%"><A href="uml2.stereotypeFunction.html">uml2.stereotype</A></TD>
+ <TD>
+ <!-- Begin upper-case description -->
+ Access a named UML2 stereotype on a UML2 element
+ <!-- End upper-case description -->
+ </TD>
+ </TR>
<TR>
<TD width="10%"><A href="upper_caseFunction.html">upper-case</A></TD>
<TD>
diff --git a/doc/org.eclipse.jet.doc/references/xpathFunctions/uml2.stereotypeFunction.html b/doc/org.eclipse.jet.doc/references/xpathFunctions/uml2.stereotypeFunction.html
new file mode 100644
index 0000000..d858093
--- /dev/null
+++ b/doc/org.eclipse.jet.doc/references/xpathFunctions/uml2.stereotypeFunction.html
@@ -0,0 +1,85 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+<HEAD>
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<META name="GENERATOR" content="IBM Software Development Platform">
+<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css"/>
+<TITLE>upper-case XPath function</TITLE>
+</HEAD>
+<BODY>
+<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH align="left"><P>upper-case()</P></TH>
+ <TH align="right"><A href="overview.html">Additional XPath Functions</A></TH>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<H2>uml2.stereotype</H2>
+<P>Access a named UML2 stereotype on a UML2 element. If the named stereotype is not applied to the element
+then an emtpy result is returned.</P>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Function Summary<BR>&nbsp;</TH></TR>
+ <TR>
+ <TD width="20%" valign="top">minimal arguments</TD>
+ <TD><SPAN style="font-family: monospace" valign="top">
+ Object uml2.stereotype (String qualified-name)<BR>&nbsp;<BR>
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD width="20%" valign="top">all arguments</TD>
+ <TD><SPAN style="font-family: monospace" valign="top">
+ Object uml2.stereotype (Object element, String qualified-name)<BR>&nbsp;<BR>
+ </SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Required Arguments<BR>&nbsp;</TH>
+ </TR>
+ <TR>
+ <TD width="20%" valign="top"><B>String qualified-name</B></TD>
+ <TD>the qualified name of the stereotype being accessed. Eg. Standard::ModelLibrary</TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Optional Arguments<BR>&nbsp;</TH>
+ </TR>
+ <TR>
+ <TD width="20%" valign="top"><B>Object element</B></TD>
+ <TD>The UML2 upon which the stereotype is applied. If omitted, the XPath context object is used.</TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="0" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Example<BR>&nbsp;</TH></TR>
+ <TR>
+ <TD colspan="2"><SPAN style="font-family: monospace">
+<!-- Begin uml2.stereotype example -->
+ <B>uml2.stereotype</B>(/Model, 'Standard::ModelLibrary')<br>
+ <P>return the ModelLibrary stereotype, if it is applied to the /Model element</P>
+ //Package[<B>uml2.stereotype</B>('Standard::framework')]<br>
+ <P>matches all Package objects in a model with the 'Standard::framework' stereotype applied</P>
+<!-- End uml2.stereotype example -->
+</SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<P><BR>
+<FONT color="navy" size="-2">&copy; Copyright IBM Corporation 2000,
+2006. All Rights Reserved.</FONT></P></P></BODY>
+</HTML>
diff --git a/doc/org.eclipse.jet.doc/toc.xml b/doc/org.eclipse.jet.doc/toc.xml
index 212e2b1..8e0cb49 100644
--- a/doc/org.eclipse.jet.doc/toc.xml
+++ b/doc/org.eclipse.jet.doc/toc.xml
@@ -57,6 +57,7 @@
<topic href="references/xpathFunctions/sortFunction.html" label="sort">
</topic>
<topic label="trimWhitespace" href="references/xpathFunctions/trimWhitespaceFunction.html"/>
+ <topic label="uml2.stereotype" href="references/xpathFunctions/uml2.stereotypeFunction.html"/>
<topic label="upper-case" href="references/xpathFunctions/upper_caseFunction.html"/>
<topic label="uppercaseFirst" href="references/xpathFunctions/uppercaseFirstFunction.html"/>
<topic label="xmlEncode" href="references/xpathFunctions/xmlEncodeFunction.html"/>

Back to the top