Commit Graph

178 Commits

Author SHA1 Message Date
jmclaus
85b92f30de GWT now does no set any target shape in onModuleLoad() 2013-02-06 20:49:06 -05:00
jmclaus
e27b1e04a7 Fixed small alighment pb, decreased font size of text box 2013-02-06 20:48:57 -05:00
jmclaus
3bd7e1b703 Crisper AA letters, canvases non-selectable 2013-02-06 20:48:48 -05:00
jmclaus
ef232c5976 Few bug fixes 2013-02-06 20:48:40 -05:00
jmclaus
f6dacff41e Fixed layout, increased size of markers on proteins 2013-02-06 20:48:32 -05:00
jmclaus
5737f58b95 Added GWT Protex - reads target shape from xml writes answer to hidden input field 2013-02-06 20:48:25 -05:00
Carlos Andrés Rocha
536333cbb5 Refactor how editamolecule displays messages 2013-02-06 18:31:00 -05:00
Carlos Andrés Rocha
d4afa02b12 Modify editamolecule to load GWT scripts dynamically 2013-02-06 17:40:44 -05:00
Victor Shnayder
31b8f0ce7f Have errors go through jsmolcalc's getInfo 2013-02-05 23:27:52 -05:00
Julian Arni
222c01b20b Removed console logs 2013-02-05 20:15:51 -05:00
John Hess
adb77ea699 hack to fix validation issues 2013-02-05 20:15:51 -05:00
Julian Arni
05e25dadcf Added validation warnings 2013-02-05 20:15:51 -05:00
Victor Shnayder
02eb55a913 Compiled version of Carlos' merge 2013-02-05 20:15:50 -05:00
Carlos Andrés Rocha
9bc25ff372 Replace editamolecule input type applet with GWT version 2013-02-05 20:15:50 -05:00
Victor Shnayder
ab9bd4b805 Have errors go through jsmolcalc's getInfo 2013-02-05 20:15:50 -05:00
jmclaus
d74b21e444 Added edit a gene 2013-02-05 20:15:50 -05:00
Carlos Andrés Rocha
752a455257 Fixed design-a-protein input type to save the value of output 2013-02-05 20:15:50 -05:00
jmclaus
bc3f373edf Added design protein 2D 2013-02-05 20:15:49 -05:00
Carlos Andrés Rocha
a52bf81846 WIP Support multiple edit-a-molecule applets 2013-02-05 20:15:49 -05:00
Carlos Andrés Rocha
11db1190e6 WIP Save edit-a-molecule state in input field
Also add reset button and fix run condition from the GWT loader in Firefox
2013-02-05 20:15:49 -05:00
Carlos Andrés Rocha
41cce2d84f WIP Rename edit-a-molecule files to be more consistent 2013-02-05 20:15:49 -05:00
Carlos Andrés Rocha
f68f023e35 WIP integration of edit-a-molecule 2013-02-05 20:15:48 -05:00
Carlos Andrés Rocha
d0d15c0dc2 Import edit-a-molecule resources 2013-02-05 20:15:48 -05:00
Valera Rozuvan
47d1173394 Refactoring and cleaning of code. 2013-01-21 15:56:39 +02:00
Valera Rozuvan
3cc4a663ff Refactoring and cleaning of code. 2013-01-21 15:56:38 +02:00
Valera Rozuvan
5457f35f81 Drag and Drop: Further testing of new feature "can reuse". 2013-01-21 15:56:38 +02:00
Valera Rozuvan
7ad6ef21f4 Removed unnecessary debug information. 2013-01-21 15:56:38 +02:00
Valera Rozuvan
1eec7bada7 Updated docs. Added debug output info for tracing problem related to server communications. 2013-01-21 15:56:38 +02:00
Valera Rozuvan
0f7b89facc Bug fixes for new functionality: Draggable "is reusable". 2013-01-21 15:56:38 +02:00
Valera Rozuvan
5001680356 Implemented isReusable feature. Not fully tested. 2013-01-21 15:56:38 +02:00
Valera Rozuvan
98977cabdb Refactoring of Drag and Drop complete. Draggable properties isUsable, isOriginal included, but functionality connected with them is not complete. Found and fixed bug with z-index ordering. 2013-01-21 15:56:37 +02:00
Valera Rozuvan
f15887383e Refactoring. 2013-01-21 15:56:37 +02:00
Valera Rozuvan
8b3a8a30ab Refactoring. 2013-01-21 15:56:37 +02:00
Valera Rozuvan
79f5e98dfc Drag and Drop: refactoring + preparing for reuse of draggables. 2013-01-21 15:56:36 +02:00
Valera Rozuvan
ead346ee5f Refactoring. New feature: adding multiple draggables from one. 2013-01-21 15:56:36 +02:00
Valera Rozuvan
22014f7f58 New feature: Clicking on number for multiple icons on target will cycle all icons on target. Fixed bug with z-order ordering. 2013-01-21 15:56:35 +02:00
Valera Rozuvan
6d7cfe08df Slight UI modification. 2013-01-21 15:56:35 +02:00
Valera Rozuvan
15ffc1f64f New feature: added ability to define custom label background color. Upated demo to use this feature. Needs to be turned on Python side. 2013-01-21 15:56:35 +02:00
Valera Rozuvan
f92c0bdceb New feature: when the draggable is out of the slider container, if it has a label, the label will get a background. This way it is much easier to discern the label against the base image. 2013-01-21 15:56:34 +02:00
Valera Rozuvan
cd6e220ead Fixed annoying bug whre if you dragged any part of the base image or other parts of the Drag and Drop problem, then the browser would start highlighting the elements. 2013-01-21 15:56:34 +02:00
Valera Rozuvan
b7b25369e0 Added mouse event handlers to container of draggable. Now it is easier to initiate a dragging operation. 2013-01-21 15:56:34 +02:00
Valera Rozuvan
d531746236 Removed reliance on imageDir config setting. Now we expect the correct path to tbe set in XML. 2013-01-21 15:56:33 +02:00
Valera Rozuvan
a9e7890d6b Added correct handling of invalid (missing) base images. Now error is reported, and the damage is reduced to a minimum. 2013-01-21 15:56:32 +02:00
Valera Rozuvan
9817253850 Fixed problem with smaller and larger base images. Refactoring. Cleaning of code. 2013-01-21 15:56:32 +02:00
Valera Rozuvan
f283df9022 Cleaning up code. 2013-01-21 15:56:31 +02:00
Valera Rozuvan
ab95193252 Bugfixing. 2013-01-21 15:56:30 +02:00
Valera Rozuvan
17b01071d0 Fixed bug. 2013-01-21 15:56:30 +02:00
Valera Rozuvan
586a47a2ad Rewrote functionality to include labels as separate from the container. Fixed bugs. Refactoring. 2013-01-21 15:56:30 +02:00
Valera Rozuvan
1cc23e3a4d Bugfixing. 2013-01-21 15:56:29 +02:00
Valera Rozuvan
2e08ece7ff Fixed drag behavior. Now drag of icon itself rather than container element. This allows for finer selection (no overlap of transparent areas), and positioning of icon precisely onto a target. This breaks labels - TODO fix. 2013-01-21 15:56:29 +02:00