More features.

This commit is contained in:
Paulo Veiga 2011-10-18 23:37:22 -03:00
parent ce52e078b5
commit cb7b3a2660
6 changed files with 15 additions and 16 deletions

View File

@ -33,11 +33,12 @@ core.Point = new Class({
clone : function() { clone : function() {
return new core.Point(this.x, this.y); return new core.Point(this.x, this.y);
}, }
fromString : });
function(point) {
core.Point.fromString = function(point) {
var values = point.split(','); var values = point.split(',');
return new core.Point(values[0], values[1]); return new core.Point(values[0], values[1]);
}
}); };

View File

@ -78,10 +78,5 @@ mindplot.commands.DragTopicCommand = new Class({
undoExecute: function(commandContext) { undoExecute: function(commandContext) {
this.execute(commandContext); this.execute(commandContext);
var selectedRelationships = commandContext.filterSelectedRelations();
selectedRelationships.forEach(function(relationshipLine) {
relationshipLine.redraw();
});
} }
}); });

View File

@ -6,10 +6,13 @@
</head> </head>
<body> <body>
<h1>Embedding a map in a Page</h1> <div style="text-align: center;width: 100%;font-family: arial">
<iframe style="width:600px;height:400px;border: 1px solid black" <h1>Embedding a map in a page</h1>
<iframe style="width:600px;height:400px;border: 1px solid black"
src="http://localhost:8080/wise-webapp/c/embeddedView.htm?mapId=1"> src="http://localhost:8080/wise-webapp/c/embeddedView.htm?mapId=1">
</iframe> </iframe>
</div>
</body> </body>
</html> </html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 843 B

View File

@ -31,7 +31,7 @@
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn-primary"> <input type="submit" value="Accept" class="btn-primary">
<c:choose> <c:choose>
<c:when test="${!errorView}"> <c:when test="${!errorView}">
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-secondary" <input type="button" value="<spring:message code="CANCEL"/>" class="btn-secondary"

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB