Debian Codegraph @

plugins/org.eclipse.emf.codegen.ecore/templates/editor/home.htmljet

raw
1 <%@ jet package="org.eclipse.emf.codegen.ecore.templates.editor" imports="java.util.* org.eclipse.emf.codegen.ecore.genmodel.*" class="HomeHTML"%>
2 <%
3 /**
4 * Copyright (c) 2010 Ed Merks and others.
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v2.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v20.html
9 *
10 * Contributors:
11 * Ed Merks - Initial API and implementation
12 */
13 %>
14 <%GenModel genModel = (GenModel)argument; /* Trick to import java.util.* without warnings */Iterator.class.getName();%>
15 <?xml version="1.0" encoding="UTF-8"?>
16 <!doctype html>
17 <html style="height : 100%">
18 <head>
19 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
20
21 <!-- -->
22 <!-- Any title is fine -->
23 <!-- -->
24 <title><%=genModel.getModelName()%> Application</title>
25
26 <style TYPE="text/css">
27 <!--
28 .ToolBar
29 {
30 background-color: #d0e4f6;
31 }
32 .ToolBarButton
33 {
34 float: left;
35 margin-top: 5px;
36 }
37 .ToolBarButtonLeftMargin
38 {
39 float: left;
40 margin-left: 10px;
41 margin-top: 5px;
42 }
43 .Header
44 {
45 background-color: #628cd5;
46 color: #FFFFFF;
47 float: left;
48 font-weight: bold;
49 font-size: xx-large;
50 }
51 .HeaderLabel
52 {
53 float: left;
54 margin-left: 10px;
55 }
56 .PropertiesTitle
57 {
58 background-color: #628cd5;
59 color: #FFFFFF;
60 font-weight: bold;
61 font-size: large;
62 }
63 .PropertiesTitleLabel
64 {
65 float: left;
66 margin-left: 5px;
67 }
68 -->
69 </style>
70
71 <!-- -->
72 <!-- This script loads your compiled module. -->
73 <!-- If you add any GWT meta tags, they must -->
74 <!-- be added before this line. -->
75 <script type="text/javascript" language="javascript" src="<%=genModel.getQualifiedEditorModuleName()%>/<%=genModel.getQualifiedEditorModuleName()%>.nocache.js"></script>
76 </head>
77
78 <body style="height : 100%">
79 <div id="main" style="height : 100%">
80 </div>
81 </body>
82 </html>