isidorus-cvs
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
July 2011
- 1 participants
- 156 discussions

17 Jul '11
Author: lgiessmann
Date: Sun Jul 17 13:50:32 2011
New Revision: 636
Log:
trunk: fixed ticket #117 => the topic id is set in the background with a UUID if a new topic is created, otherwise the existent topic id is used
Modified:
trunk/src/ajax/javascripts/datamodel.js
Modified: trunk/src/ajax/javascripts/datamodel.js
==============================================================================
--- trunk/src/ajax/javascripts/datamodel.js Sun Jul 17 09:04:35 2011 (r635)
+++ trunk/src/ajax/javascripts/datamodel.js Sun Jul 17 13:50:32 2011 (r636)
@@ -2218,19 +2218,21 @@
this.__instanceOfs__ = (!instanceOfs || instanceOfs.length === 0 ? null : instanceOfs);
try{
- var topicidContent = null;
+ //var topicidContent = null;
var itemIdentityContent = null;
var subjectLocatorContent = null;
var subjectIdentifierContent = null;
var namesContent = null;
var occurrencesContent = null;
if(content){
- topicidContent = content.id
+ this.__topicidContent__ = content.id
itemIdentityContent = content.itemIdentities
subjectLocatorContent = content.subjectLocators;
subjectIdentifierContent = content.subjectIdentifiers;
namesContent = content.names;
occurrencesContent = content.occurrences;
+ }else{
+ this.__topicidContent__ = new UUID().toString();
}
this.__frame__ .writeAttribute({"class" : CLASSES.topicFrame()});
this.__table__ = new Element("table", {"class" : CLASSES.topicFrame()});
@@ -2246,9 +2248,9 @@
setMinimizeHandler(this);
// --- topic id
- this.__topicid__ = new Object();
- new TextrowC(topicidContent, ".*", this.__topicid__, 1, 1, null);
- this.__table__.insert({"bottom" : newRow(CLASSES.topicIdFrame(), "Topic ID", this.__topicid__.__frames__[0].getFrame())});
+ //this.__topicid__ = new Object();
+ //new TextrowC(topicidContent, ".*", this.__topicid__, 1, 1, null);
+ //this.__table__.insert({"bottom" : newRow(CLASSES.topicIdFrame(), "Topic ID", this.__topicid__.__frames__[0].getFrame())});
// --- itemIdentity
this.__itemIdentity__ = new ItemIdentityC(itemIdentityContent, this);
@@ -2286,7 +2288,7 @@
},
"getContent" : function(){
try{
- return {"id" : this.__topicid__.__frames__[0].getContent().strip(),
+ return {"id" : this.__topicidContent__,
"itemIdentities" : this.__itemIdentity__.getContent(true, true),
"subjectLocators" : this.__subjectLocator__.getContent(true, true),
"subjectIdentifiers" : this.__subjectIdentifier__.getContent(true, true),
@@ -2300,7 +2302,7 @@
},
"toJSON" : function(){
try{
- return "{\"id\":" + this.__topicid__.__frames__[0].getContent().strip().toJSON() +
+ return "{\"id\":" + this.__topicidContent__.toJSON() +
",\"itemIdentities\":" + this.__itemIdentity__.toJSON(true, true) +
",\"subjectLocators\":" + this.__subjectLocator__.toJSON(true, true) +
",\"subjectIdentifiers\":" + this.__subjectIdentifier__.toJSON(true, true) +
@@ -2314,7 +2316,7 @@
},
"minimize" : function(){
var rows = new Array();
- rows.push(this.getFrame().select("tr." + CLASSES.topicIdFrame())[0],
+ rows.push(//this.getFrame().select("tr." + CLASSES.topicIdFrame())[0],
this.getFrame().select("tr." + CLASSES.itemIdentityFrame())[0],
this.getFrame().select("tr." + CLASSES.subjectLocatorFrame())[0],
this.getFrame().select("tr." + CLASSES.subjectIdentifierFrame())[0],
@@ -2334,13 +2336,13 @@
},
"isValid" : function(){
var ret = true;
- if(this.__topicid__.__frames__[0].getContent().strip().length === 0){
- ret = false;
- this.__topicid__.__frames__[0].showError("The topic must contain a topic ID!");
- }
- else {
- this.__topicid__.__frames__[0].hideError();
- }
+ //if(this.__topicid__.__frames__[0].getContent().strip().length === 0){
+ // ret = false;
+ // this.__topicid__.__frames__[0].showError("The topic must contain a topic ID!");
+ //}
+ //else {
+ // this.__topicid__.__frames__[0].hideError();
+ //}
if(this.__subjectIdentifier__.getContent().length === 0){
ret = false;
this.showError("The topic must contain at least one SubjectIdentifier!<br/>If it is not possible to insert one - please create a subjectidentifier-constraint for this topic (-type)!");
1
0

[isidorus-cvs] r635 - in trunk/src/ajax: . javascripts/external
by lgiessmann@common-lisp.net 17 Jul '11
by lgiessmann@common-lisp.net 17 Jul '11
17 Jul '11
Author: lgiessmann
Date: Sun Jul 17 09:04:35 2011
New Revision: 635
Log:
trunk: added the files textgrid_15.07.2011.xtm that contains the lates dump and test data of the TextGrid ServiceRegistry, and UUID.js, which contains a class definition for UUID => referenced it via the isidorus.html file
Added:
trunk/src/ajax/javascripts/external/UUID.js
Modified:
trunk/src/ajax/isidorus.html
Modified: trunk/src/ajax/isidorus.html
==============================================================================
--- trunk/src/ajax/isidorus.html Sat Jul 16 02:30:29 2011 (r634)
+++ trunk/src/ajax/isidorus.html Sun Jul 17 09:04:35 2011 (r635)
@@ -44,6 +44,9 @@
<script language="JavaScript" type="text/javascript" src="javascripts/external/prototype/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="javascripts/external/scriptaculous/scriptaculous.js"></script>
+ <!-- include a library for generating UUIDs -->
+ <script language="JavaScript" type="text/javascript" src="javascripts/external/UUID.js"></script>
+
<!-- includes own javascript files -->
<script language="JavaScript" type="text/javascript" src="javascripts/constants.js"></script>
<script language="JavaScript" type="text/javascript" src="javascripts/tmcl_tools.js"></script>
Added: trunk/src/ajax/javascripts/external/UUID.js
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/ajax/javascripts/external/UUID.js Sun Jul 17 09:04:35 2011 (r635)
@@ -0,0 +1,117 @@
+/*
+uuid.js - Version 0.3
+JavaScript Class to create a UUID like identifier
+
+Copyright (C) 2006-2008, Erik Giberti (AF-Design), All rights reserved.
+
+This program is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation; either version 2 of the License, or (at your option) any later
+version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+Place, Suite 330, Boston, MA 02111-1307 USA
+
+The latest version of this file can be downloaded from
+http://www.af-design.com/resources/javascript_uuid.php
+
+HISTORY:
+6/5/06 - Initial Release
+5/22/08 - Updated code to run faster, removed randrange(min,max) in favor of
+ a simpler rand(max) function. Reduced overhead by using getTime()
+ method of date class (suggestion by James Hall).
+9/5/08 - Fixed a bug with rand(max) and additional efficiencies pointed out
+ by Robert Kieffer http://broofa.com/
+
+KNOWN ISSUES:
+- Still no way to get MAC address in JavaScript
+- Research into other versions of UUID show promising possibilities
+ (more research needed)
+- Documentation needs improvement
+
+*/
+
+// On creation of a UUID object, set it's initial value
+function UUID(){
+ this.id = this.createUUID();
+}
+
+// When asked what this Object is, lie and return it's value
+UUID.prototype.valueOf = function(){ return this.id; }
+UUID.prototype.toString = function(){ return this.id; }
+
+//
+// INSTANCE SPECIFIC METHODS
+//
+
+UUID.prototype.createUUID = function(){
+ //
+ // Loose interpretation of the specification DCE 1.1: Remote Procedure Call
+ // described at http://www.opengroup.org/onlinepubs/009629399/apdxa.htm#tagtcjh_37
+ // since JavaScript doesn't allow access to internal systems, the last 48 bits
+ // of the node section is made up using a series of random numbers (6 octets long).
+ //
+ var dg = new Date(1582, 10, 15, 0, 0, 0, 0);
+ var dc = new Date();
+ var t = dc.getTime() - dg.getTime();
+ var h = '-';
+ var tl = UUID.getIntegerBits(t,0,31);
+ var tm = UUID.getIntegerBits(t,32,47);
+ var thv = UUID.getIntegerBits(t,48,59) + '1'; // version 1, security version is 2
+ var csar = UUID.getIntegerBits(UUID.rand(4095),0,7);
+ var csl = UUID.getIntegerBits(UUID.rand(4095),0,7);
+
+ // since detection of anything about the machine/browser is far to buggy,
+ // include some more random numbers here
+ // if NIC or an IP can be obtained reliably, that should be put in
+ // here instead.
+ var n = UUID.getIntegerBits(UUID.rand(8191),0,7) +
+ UUID.getIntegerBits(UUID.rand(8191),8,15) +
+ UUID.getIntegerBits(UUID.rand(8191),0,7) +
+ UUID.getIntegerBits(UUID.rand(8191),8,15) +
+ UUID.getIntegerBits(UUID.rand(8191),0,15); // this last number is two octets long
+ return tl + h + tm + h + thv + h + csar + csl + h + n;
+}
+
+
+//
+// GENERAL METHODS (Not instance specific)
+//
+
+
+// Pull out only certain bits from a very large integer, used to get the time
+// code information for the first part of a UUID. Will return zero's if there
+// aren't enough bits to shift where it needs to.
+UUID.getIntegerBits = function(val,start,end){
+ var base16 = UUID.returnBase(val,16);
+ var quadArray = new Array();
+ var quadString = '';
+ var i = 0;
+ for(i=0;i<base16.length;i++){
+ quadArray.push(base16.substring(i,i+1));
+ }
+ for(i=Math.floor(start/4);i<=Math.floor(end/4);i++){
+ if(!quadArray[i] || quadArray[i] == '') quadString += '0';
+ else quadString += quadArray[i];
+ }
+ return quadString;
+}
+
+// Replaced from the original function to leverage the built in methods in
+// JavaScript. Thanks to Robert Kieffer for pointing this one out
+UUID.returnBase = function(number, base){
+ return (number).toString(base).toUpperCase();
+}
+
+// pick a random number within a range of numbers
+// int b rand(int a); where 0 <= b <= a
+UUID.rand = function(max){
+ return Math.floor(Math.random() * (max + 1));
+}
+
+// end of UUID class file
\ No newline at end of file
1
0

[isidorus-cvs] r634 - branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text
by lgiessmann@common-lisp.net 16 Jul '11
by lgiessmann@common-lisp.net 16 Jul '11
16 Jul '11
Author: lgiessmann
Date: Sat Jul 16 02:30:29 2011
New Revision: 634
Log:
gdl-frontend: Widgets: added an href memeber to the class Reference
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Sat Jul 16 01:01:39 2011 (r633)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Sat Jul 16 02:30:29 2011 (r634)
@@ -10,25 +10,9 @@
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.HasBlurHandlers;
import com.google.gwt.event.dom.client.HasFocusHandlers;
-import com.google.gwt.event.dom.client.HasMouseDownHandlers;
-import com.google.gwt.event.dom.client.HasMouseOutHandlers;
-import com.google.gwt.event.dom.client.HasMouseOverHandlers;
-import com.google.gwt.event.dom.client.HasMouseUpHandlers;
-import com.google.gwt.event.dom.client.MouseDownEvent;
-import com.google.gwt.event.dom.client.MouseDownHandler;
-import com.google.gwt.event.dom.client.MouseOutEvent;
-import com.google.gwt.event.dom.client.MouseOutHandler;
-import com.google.gwt.event.dom.client.MouseOverEvent;
-import com.google.gwt.event.dom.client.MouseOverHandler;
-import com.google.gwt.event.dom.client.MouseUpEvent;
-import com.google.gwt.event.dom.client.MouseUpHandler;
-import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.Window;
-import com.google.gwt.user.client.ui.Composite;
-import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
@@ -56,8 +40,9 @@
public GdlReference(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a Reference element for each TM-elem
- this.createReference().setText("Reference"); // TODO: remove
-
+ Reference ref = this.createReference(); // TODO: remove
+ ref.setText("Reference"); // TODO: remove
+ ref.setHref("http://www.google.de"); // TODO: remove
}
@@ -185,6 +170,8 @@
protected class ReferenceClickHandler implements ClickHandler {
@Override
public void onClick(ClickEvent event) {
+ Reference ref = (Reference)event.getSource();
+ Window.open(ref.getHref(), "new window", null);
/*
TODO: implement
@@ -285,13 +272,27 @@
// this class wraps a Label that is used as
protected class Reference extends Label implements HasFocusHandlers, HasBlurHandlers {
+ private String href = "";
+
public Reference(){
super();
}
- public Reference(String text) {
+ public Reference(String text, String href) {
super(text);
+ if(href != null) this.href = href;
+ }
+
+
+ public String getHref(){
+ return this.href;
+ }
+
+
+ public void setHref(String href){
+ if(href != null) this.href = href;
+ else this.href = "";
}
1
0

[isidorus-cvs] r633 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/text war/gdl_widgets
by lgiessmann@common-lisp.net 16 Jul '11
by lgiessmann@common-lisp.net 16 Jul '11
16 Jul '11
Author: lgiessmann
Date: Sat Jul 16 01:01:39 2011
New Revision: 633
Log:
gdl-frontend: Widgets: chnged the inner class Reference
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 15 09:59:54 2011 (r632)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Sat Jul 16 01:01:39 2011 (r633)
@@ -10,8 +10,25 @@
import com.google.gwt.event.dom.client.FocusHandler;
import com.google.gwt.event.dom.client.HasBlurHandlers;
import com.google.gwt.event.dom.client.HasFocusHandlers;
+import com.google.gwt.event.dom.client.HasMouseDownHandlers;
+import com.google.gwt.event.dom.client.HasMouseOutHandlers;
+import com.google.gwt.event.dom.client.HasMouseOverHandlers;
+import com.google.gwt.event.dom.client.HasMouseUpHandlers;
+import com.google.gwt.event.dom.client.MouseDownEvent;
+import com.google.gwt.event.dom.client.MouseDownHandler;
+import com.google.gwt.event.dom.client.MouseOutEvent;
+import com.google.gwt.event.dom.client.MouseOutHandler;
+import com.google.gwt.event.dom.client.MouseOverEvent;
+import com.google.gwt.event.dom.client.MouseOverHandler;
+import com.google.gwt.event.dom.client.MouseUpEvent;
+import com.google.gwt.event.dom.client.MouseUpHandler;
+import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.Element;
+import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Occurrence;
@@ -39,7 +56,8 @@
public GdlReference(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a Reference element for each TM-elem
- this.createReference().setText("Reference");
+ this.createReference().setText("Reference"); // TODO: remove
+
}
@@ -185,6 +203,85 @@
}
+ /*
+ protected class Reference extends Composite implements HasFocusHandlers, HasBlurHandlers, HasMouseDownHandlers, HasMouseUpHandlers, HasMouseOutHandlers, HasMouseOverHandlers {
+ Hyperlink link = new Hyperlink();
+
+
+ public Reference(){
+ initWidget(link);
+ }
+
+
+ public Reference(String text){
+ this();
+ this.link.setText(text);
+ }
+
+
+ public Reference(String text, String href){
+ this(text);
+ this.link.setTargetHistoryToken(href);
+ }
+
+
+ public String getText(){
+ return this.link.getText();
+ }
+
+
+ public void setText(String text){
+ this.link.setText(text);
+ }
+
+
+ public String getHref(){
+ return this.link.getTargetHistoryToken();
+ }
+
+
+ public void setHref(String text){
+ this.link.setTargetHistoryToken(text);
+ }
+
+
+ @Override
+ public HandlerRegistration addBlurHandler(BlurHandler handler) {
+ return this.addDomHandler(handler, BlurEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addFocusHandler(FocusHandler handler) {
+ return this.addDomHandler(handler, FocusEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) {
+ return this.addDomHandler(handler, MouseOverEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) {
+ return this.addDomHandler(handler, MouseOutEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseUpHandler(MouseUpHandler handler) {
+ return this.addDomHandler(handler, MouseUpEvent.getType());
+ }
+
+
+ @Override
+ public HandlerRegistration addMouseDownHandler(MouseDownHandler handler) {
+ return this.addDomHandler(handler, MouseDownEvent.getType());
+ }
+ }
+ */
+
// this class wraps a Label that is used as
protected class Reference extends Label implements HasFocusHandlers, HasBlurHandlers {
@@ -192,9 +289,11 @@
super();
}
- public Reference(String text){
+
+ public Reference(String text) {
super(text);
}
+
@Override
public HandlerRegistration addBlurHandler(BlurHandler handler) {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Fri Jul 15 09:59:54 2011 (r632)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Sat Jul 16 01:01:39 2011 (r633)
@@ -20,7 +20,6 @@
import us.isidor.gdl.anaToMia.Widgets.value.PositiveNumUnitValue;
import us.isidor.gdl.anaToMia.Widgets.value.TextAlignValue;
import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
-
import com.google.gwt.dom.client.Style.FontStyle;
import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Fri Jul 15 09:59:54 2011 (r632)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Sat Jul 16 01:01:39 2011 (r633)
@@ -39,6 +39,7 @@
{"subject_identifiers":["[gdl:background-color]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:width]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:height]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:font-weight]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:width]", "value":"500px"}, {"type":"si:[gdl:height]", "value":"600px"}]},
{"subject_identifiers":["[gdl:View]"]},
{"subject_identifiers":["[gdl:Text]"]},
@@ -50,8 +51,8 @@
{"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
{"subject_identifiers":["[gdl:List-Box]"]},
{"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}]},
- {"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}]},
- {"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}]},
+ {"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:font-weight]", "value":"bold"}]},
+ {"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"yellow"}]},
{"subject_identifiers":["[doc:list-box-1]"], "instance_of":["si:[gdl:List-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_box_1_id", "datatype":"[xsd:ID]"}]},
{"subject_identifiers":["[gdl:Value]"], "instance_of":["si:[tmcl:topic-type]"]},
{"subject_identifiers":["[doc:pos-of-title-1]"], "instance_of":["si:[gdl:Position]"]},
1
0

[isidorus-cvs] r632 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: . view
by lgiessmann@common-lisp.net 15 Jul '11
by lgiessmann@common-lisp.net 15 Jul '11
15 Jul '11
Author: lgiessmann
Date: Fri Jul 15 09:59:54 2011
New Revision: 632
Log:
gdl-frontend: Widgets: added TODO.txt
Added:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java
Added: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Fri Jul 15 09:59:54 2011 (r632)
@@ -0,0 +1,8 @@
+1. Use a Hyperlink element in GdlReference instead of the inner class Reference
+2. Implement GdlLineBreak
+3. Implement TopicMaps data consumption
+4. Implement TopicMaps data generation
+3. Implement GdlButton(s)
+4. Implement GdlButton(s) positioning
+6. ImplementGdlVisibleObject => (de)registerButtonCallback
+7. Fix css-handlers
\ No newline at end of file
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java Fri Jul 15 09:50:21 2011 (r631)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlTopicView.java Fri Jul 15 09:59:54 2011 (r632)
@@ -9,7 +9,5 @@
public GdlTopicView(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
- // TODO Auto-generated constructor stub
}
- // TODO: implement
}
1
0

[isidorus-cvs] r631 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/base src/us/isidor/gdl/anaToMia/Widgets/text war/gdl_widgets
by lgiessmann@common-lisp.net 15 Jul '11
by lgiessmann@common-lisp.net 15 Jul '11
15 Jul '11
Author: lgiessmann
Date: Fri Jul 15 09:50:21 2011
New Revision: 631
Log:
gdl-frontend: Widgets: fixed a bug when setting a GdlView's padding property
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Fri Jul 15 08:12:14 2011 (r630)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Fri Jul 15 09:50:21 2011 (r631)
@@ -1455,6 +1455,12 @@
this.setMarginBottom(widget, this.getMarginBottom(styleClass), styleClass);
this.setMarginLeft(widget, this.getMarginLeft(styleClass), styleClass);
+ this.setPadding(widget, this.getPadding(styleClass), styleClass);
+ this.setPaddingTop(widget, this.getPaddingTop(styleClass), styleClass);
+ this.setPaddingRight(widget, this.getPaddingRight(styleClass), styleClass);
+ this.setPaddingBottom(widget, this.getPaddingBottom(styleClass), styleClass);
+ this.setPaddingLeft(widget, this.getPaddingLeft(styleClass), styleClass);
+
this.setBorderColor(widget, this.getBorderColor(styleClass), styleClass);
this.setBorderTopColor(widget, this.getBorderTopColor(styleClass), styleClass);
this.setBorderRightColor(widget, this.getBorderRightColor(styleClass), styleClass);
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java Fri Jul 15 08:12:14 2011 (r630)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java Fri Jul 15 09:50:21 2011 (r631)
@@ -3,7 +3,6 @@
import java.util.ArrayList;
import com.google.gwt.event.shared.EventHandler;
-import com.google.gwt.i18n.client.HasDirection.Direction;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.Widget;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 15 08:12:14 2011 (r630)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 15 09:50:21 2011 (r631)
@@ -185,6 +185,7 @@
}
+
// this class wraps a Label that is used as
protected class Reference extends Label implements HasFocusHandlers, HasBlurHandlers {
public Reference(){
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Fri Jul 15 08:12:14 2011 (r630)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Fri Jul 15 09:50:21 2011 (r631)
@@ -48,6 +48,12 @@
super(tmRepresentative);
// TODO: create a text element for each TM-elem
this.createNewTextArea().setText("Text"); // TODO: remove only for debugging
+ //NumUnitValue val = this.getPaddingBottom(null); // TODO: remove
+ //String str = "null";
+ //if(val != null) str = val.getCssValue();
+ //if(val != null) DOM.setStyleAttribute(this.subElements.get(0).getElement(), "paddingBottom", str);
+ //DOM.setStyleAttribute(this.subElements.get(0).getElement(), "paddingBottom", "20px");
+ //Window.alert(">> " + str);
}
@@ -652,6 +658,12 @@
this.setMarginRight(source, this.getMarginRight(null), null);
this.setMarginBottom(source, this.getMarginBottom(null), null);
this.setMarginLeft(source, this.getMarginLeft(null), null);
+
+ this.setPadding(source, this.getPadding(null), null);
+ this.setPaddingTop(source, this.getPaddingTop(null), null);
+ this.setPaddingRight(source, this.getPaddingRight(null), null);
+ this.setPaddingBottom(source, this.getPaddingBottom(null), null);
+ this.setPaddingLeft(source, this.getPaddingLeft(null), null);
this.setBorderColor(source, this.getBorderColor(null), null);
this.setBorderTopColor(source, this.getBorderTopColor(null), null);
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Fri Jul 15 08:12:14 2011 (r630)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Fri Jul 15 09:50:21 2011 (r631)
@@ -27,23 +27,31 @@
{"subject_identifiers":["[gdl:Text-Object]"]},
{"subject_identifiers":["[gdl:Position]"]},
{"subject_identifiers":["[gdl:position]"], "instance_of":["si:[tmcl:association-type]"]},
+ {"subject_identifiers":["[gdl:margin-left]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:margin-top]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:margin-bottom]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:padding]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:padding-bottom]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:readonly]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:margin]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:text-decoration]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:nth-element]"], "instance_of":["si:[tmcl:role-type]"]},
{"subject_identifiers":["[gdl:background-color]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:width]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:height]"], "instance_of":["si:[tmcl:occurrence-type]"]},
- {"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:background-color]", "value":"blue"}, {"type":"si:[gdl:width]", "value":"500px"}, {"type":"si:[gdl:height]", "value":"600px"}]},
+ {"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}, {"type":"si:[gdl:width]", "value":"500px"}, {"type":"si:[gdl:height]", "value":"600px"}]},
{"subject_identifiers":["[gdl:View]"]},
{"subject_identifiers":["[gdl:Text]"]},
{"subject_identifiers":["[gdl:Title]"]},
{"subject_identifiers":["[gdl:Reference]"]},
{"subject_identifiers":["[gdl:List]"]},
- {"subject_identifiers":["[doc:list-item-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_1_id", "datatype":"[xsd:ID]"}]},
- {"subject_identifiers":["[doc:list-item-3]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_3_id", "datatype":"[xsd:ID]"}]},
- {"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}]},
+ {"subject_identifiers":["[doc:list-item-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding-bottom]", "value":"5px"}, {"type":"si:[gdl:margin-bottom]", "value":"5px"}]},
+ {"subject_identifiers":["[doc:list-item-3]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_3_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding-bottom]", "value":"5px"}]},
+ {"subject_identifiers":["[doc:list-item-2]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_item_2_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:padding]", "value":"5px"}, {"type":"si:[gdl:margin-top]", "value":"5px"}]},
{"subject_identifiers":["[gdl:List-Box]"]},
- {"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}]},
- {"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}]},
- {"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}]},
+ {"subject_identifiers":["[doc:text-1]"], "instance_of":["si:[gdl:Text]"], "occurrences":[{"type":"si:[gdl:id]", "value":"text_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:readonly]", "value":"false", "datatype":"[xsd:boolean]"}]},
+ {"subject_identifiers":["[doc:title-1]"], "instance_of":["si:[gdl:Title]"], "occurrences":[{"type":"si:[gdl:id]", "value":"title_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:text-decoration]", "value":"underline"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}]},
+ {"subject_identifiers":["[doc:reference-1]"], "instance_of":["si:[gdl:Reference]"], "occurrences":[{"type":"si:[gdl:id]", "value":"reference_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin-left]", "value":"200px"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}]},
{"subject_identifiers":["[doc:list-box-1]"], "instance_of":["si:[gdl:List-Box]"], "occurrences":[{"type":"si:[gdl:id]", "value":"list_box_1_id", "datatype":"[xsd:ID]"}]},
{"subject_identifiers":["[gdl:Value]"], "instance_of":["si:[tmcl:topic-type]"]},
{"subject_identifiers":["[doc:pos-of-title-1]"], "instance_of":["si:[gdl:Position]"]},
@@ -64,7 +72,7 @@
{"subject_identifiers":["[doc:nth-elem-3]"], "instance_of":["si:[gdl:Nth-Element]"], "occurrences":[{"type":"si:[gdl:nth-value]", "value":"8"}]},
{"subject_identifiers":["[gdl:TM-Instance-Value]"]},
{"subject_identifiers":["[gdl:TM-Multiple-Type-Value]"]},
- {"subject_identifiers":["[doc:person-list]"], "instance_of":["si:[gdl:List]"], "occurrences":[{"type":"si:[gdl:id]", "value":"person_list_1_id", "datatype":"[xsd:ID]"}]},
+ {"subject_identifiers":["[doc:person-list]"], "instance_of":["si:[gdl:List]"], "occurrences":[{"type":"si:[gdl:id]", "value":"person_list_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:margin]", "value":"50px"}, {"type":"si:[gdl:background-color]", "value":"#ccc"}]},
{"subject_identifiers":["[gdl:tm-binding]"], "instance_of":["si:[tmcl:association-type]"]},
{"subject_identifiers":["[gdl:id]"], "instance_of":["si:[tmcl:occurrence-type]"]},
{"subject_identifiers":["[gdl:topic-view-binding]"], "instance_of":["si:[tmcl:association-type]"]},
1
0

[isidorus-cvs] r630 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets: src/us/isidor/gdl/anaToMia/Widgets/base src/us/isidor/gdl/anaToMia/Widgets/text src/us/isidor/gdl/anaToMia/Widgets/view war/gdl_widgets
by lgiessmann@common-lisp.net 15 Jul '11
by lgiessmann@common-lisp.net 15 Jul '11
15 Jul '11
Author: lgiessmann
Date: Fri Jul 15 08:12:14 2011
New Revision: 630
Log:
gdl-frontend: Widgets: fixed a bug when setting a GdlView's style properties
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlVisibleObject.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1397,7 +1397,7 @@
// sets the background-color style property of this element by using the GWT DOM class
- public void setBackgroundColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
+ public void setBackgroundColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null) this.setCssProperty(widget, styleClass, "backgroundColor", value.getCssValue());
}
@@ -1425,7 +1425,7 @@
// sets a given css property and css value of this element's sub element
protected void setCssProperty(Widget elem, String styleClass, String cssProperty, String cssValue)throws InvalidGdlSchemaException, ExecutionException{
if(cssValue == null || cssProperty == null) return;
-
+
if(styleClass == null){
DOM.setStyleAttribute(elem.getElement(), cssProperty, cssValue);
} else if(styleClass.equals(GdlPsis.Scope.gdlActive)){
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Fri Jul 15 08:12:14 2011 (r630)
@@ -2,7 +2,6 @@
import java.util.ArrayList;
-
import us.isidor.gdl.anaToMia.TmEngine.jtmsBasedEngine.JtmsTmEngine;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.environment.TopicIdentifierTypes;
@@ -10,9 +9,7 @@
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Window;
-import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.RootPanel;
@@ -34,8 +31,6 @@
requestedTopicsToCreate.add(new Pair<String, TopicIdentifierTypes>("http://psi.test.org/gdl-test/Poet", TopicIdentifierTypes.SubjectIdentifier));
requestedTopicsToCreate.add(new Pair<String, TopicIdentifierTypes>("http://psi.test.org/gdl-test/Musician", TopicIdentifierTypes.SubjectIdentifier));
gdlPanel = new GdlPanel(null, requestedTopicsToCreate);
- gdlPanel.setPixelSize(450, 450);
- DOM.setStyleAttribute(gdlPanel.getElement(), "backgroundColor", "yellow");
mainPanel.add(gdlPanel);
gdlPanel.setTmEngine(new JtmsTmEngine());
gdlPanel.setLoadSchemaCallback(new LoadSchemaCallback());
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlListBox.java Fri Jul 15 08:12:14 2011 (r630)
@@ -30,7 +30,7 @@
public GdlListBox(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a ListBox element for each TM-elem
- this.createNewListBox();
+ this.createNewListBox().addItem("List-Box");
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 15 08:12:14 2011 (r630)
@@ -39,7 +39,7 @@
public GdlReference(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a Reference element for each TM-elem
- this.createReference();
+ this.createReference().setText("Reference");
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlText.java Fri Jul 15 08:12:14 2011 (r630)
@@ -47,7 +47,7 @@
public GdlText(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a text element for each TM-elem
- this.createNewTextArea(); // TODO: remove only for debugging
+ this.createNewTextArea().setText("Text"); // TODO: remove only for debugging
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Fri Jul 15 08:12:14 2011 (r630)
@@ -61,12 +61,12 @@
public GdlTitle(Topic tmRepresentative) throws InvalidGdlSchemaException, ExecutionException{
super(tmRepresentative);
// TODO: create a Title element for each TM-elem
- this.createTitle();
+ this.createTitle().setText("Title");
}
// sets the list Element to either ol or ul depending on the gdl:ordered property
- public void createTitle() throws InvalidGdlSchemaException, ExecutionException {
+ public TitleWidget createTitle() throws InvalidGdlSchemaException, ExecutionException {
// this object is able to own only one sub-element
TitleWidget title = new TitleWidget(this.getTitleOrder());
ActiveStyleHandler asHandler = new ActiveStyleHandler(this);
@@ -83,6 +83,7 @@
title.addBlurHandler(fsHandler);
super.addToContainerPanel(title);
this.setGdlStyle(title);
+ return title;
}
// returns a PositiveNumUnitValue instance that represents the text font-size of this element.
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlCreatorAssociationView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1,39 +1,12 @@
package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
-
-import com.google.gwt.dom.client.Style.Float;
-import com.google.gwt.dom.client.Style.Overflow;
-import com.google.gwt.event.dom.client.BlurEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.DomEvent;
-import com.google.gwt.event.dom.client.FocusEvent;
-import com.google.gwt.event.dom.client.MouseDownEvent;
-import com.google.gwt.event.dom.client.MouseOutEvent;
-import com.google.gwt.event.dom.client.MouseOverEvent;
-import com.google.gwt.event.dom.client.MouseUpEvent;
-import com.google.gwt.user.client.ui.Widget;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
-import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
-import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ContentOrientationValue;
-import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlCreatorAssociationView extends GdlAssociationView {
@@ -43,19 +16,6 @@
// TODO Auto-generated constructor stub
}
- @Override
- public String getViewName() {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public Topic getTmRepresentative() {
- // TODO Auto-generated method stub
- return null;
- }
- // TODO: implement
-
@Override
public boolean validate() {
@@ -70,355 +30,6 @@
}
@Override
- public void registerButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void deregisterButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMargin(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMarginTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMarginRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMarginBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMarginLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderTopColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderRightColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderBottomColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderLeftColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderTopStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderRightStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setPadding(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setPaddingTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setPaddingRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setPaddingBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setPaddingLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMinWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMaxWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMinHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMaxHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setCursor(Widget widget, CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setBackgroundColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onHoverStart(MouseOverEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onHoverEnd(MouseOutEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onFocusStart(FocusEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onFocusEnd(BlurEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onActiveStart(MouseDownEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onActiveEnd(MouseUpEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
public ArrayList<String> getStringValue() {
// TODO Auto-generated method stub
return null;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultCreatorTopicView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1,34 +1,12 @@
package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
-
-import com.google.gwt.event.dom.client.BlurEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.DomEvent;
-import com.google.gwt.event.dom.client.FocusEvent;
-import com.google.gwt.event.dom.client.MouseDownEvent;
-import com.google.gwt.event.dom.client.MouseOutEvent;
-import com.google.gwt.event.dom.client.MouseOverEvent;
-import com.google.gwt.event.dom.client.MouseUpEvent;
-import com.google.gwt.user.client.ui.Widget;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
-import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
-import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ContentOrientationValue;
-import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlDefaultCreatorTopicView extends GdlDefaultTopicView{
@@ -39,438 +17,31 @@
// TODO Auto-generated constructor stub
}
-
+
@Override
- public String getViewName() {
+ public ArrayList<String> getStringValue() {
// TODO Auto-generated method stub
return null;
}
@Override
- public Topic getTmRepresentative() {
+ public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
// TODO Auto-generated method stub
return null;
}
-
-
+
+
@Override
public boolean validate() {
// TODO Auto-generated method stub
return false;
}
+
@Override
public TopicMap getContent() {
// TODO Auto-generated method stub
return null;
}
-
- @Override
- public void registerButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void deregisterButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
-
-
- @Override
- public void setMargin(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPadding(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setCursor(Widget widget, CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBackgroundColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverStart(MouseOverEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverEnd(MouseOutEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusStart(FocusEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusEnd(BlurEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveStart(MouseDownEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveEnd(MouseUpEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public ArrayList<String> getStringValue() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
- public ArrayList<Pair<TopicMapsTypes, Object>> getTmValue() {
- // TODO Auto-generated method stub
- return null;
- }
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlDefaultEditorTopicView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1,14 +1,9 @@
package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
-
-import com.google.gwt.event.dom.client.ClickHandler;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
@@ -23,20 +18,6 @@
@Override
- public String getViewName() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
- public Topic getTmRepresentative() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
public boolean validate() {
// TODO Auto-generated method stub
return false;
@@ -48,12 +29,6 @@
return null;
}
- @Override
- public void registerButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
@Override
public ArrayList<String> getStringValue() {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlEditorAssociationView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1,38 +1,12 @@
package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
-
-import com.google.gwt.dom.client.Style.Float;
-import com.google.gwt.dom.client.Style.Overflow;
-import com.google.gwt.event.dom.client.BlurEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.DomEvent;
-import com.google.gwt.event.dom.client.FocusEvent;
-import com.google.gwt.event.dom.client.MouseDownEvent;
-import com.google.gwt.event.dom.client.MouseOutEvent;
-import com.google.gwt.event.dom.client.MouseOverEvent;
-import com.google.gwt.event.dom.client.MouseUpEvent;
-import com.google.gwt.user.client.ui.Widget;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Association;
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
-import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
-import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlEditorAssociationView extends GdlAssociationView {
@@ -51,13 +25,6 @@
@Override
- public Topic getTmRepresentative() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
public boolean validate() {
// TODO Auto-generated method stub
return false;
@@ -68,399 +35,7 @@
// TODO Auto-generated method stub
return null;
}
-
- @Override
- public void registerButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void deregisterButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void setMargin(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPadding(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setCursor(Widget widget, CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBackgroundColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverStart(MouseOverEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverEnd(MouseOutEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusStart(FocusEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusEnd(BlurEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveStart(MouseDownEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveEnd(MouseUpEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
+
@Override
public ArrayList<String> getStringValue() {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialCreatorTopicView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1,37 +1,12 @@
package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
-
-import com.google.gwt.dom.client.Style.Float;
-import com.google.gwt.dom.client.Style.Overflow;
-import com.google.gwt.event.dom.client.BlurEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.DomEvent;
-import com.google.gwt.event.dom.client.FocusEvent;
-import com.google.gwt.event.dom.client.MouseDownEvent;
-import com.google.gwt.event.dom.client.MouseOutEvent;
-import com.google.gwt.event.dom.client.MouseOverEvent;
-import com.google.gwt.event.dom.client.MouseUpEvent;
-import com.google.gwt.user.client.ui.Widget;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
-import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
-import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlSpecialCreatorTopicView extends GdlSpecialTopicView{
// TODO: implement
@@ -43,21 +18,6 @@
@Override
- public String getViewName() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
- public Topic getTmRepresentative() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
-
- @Override
public boolean validate() {
// TODO Auto-generated method stub
return false;
@@ -69,401 +29,6 @@
return null;
}
- @Override
- public void registerButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void deregisterButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
-
-
-
- @Override
- public void setMargin(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPadding(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setCursor(Widget widget, CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBackgroundColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverStart(MouseOverEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverEnd(MouseOutEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusStart(FocusEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusEnd(BlurEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveStart(MouseDownEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveEnd(MouseUpEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
@Override
public ArrayList<String> getStringValue() {
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlSpecialEditorTopicView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -1,37 +1,12 @@
package us.isidor.gdl.anaToMia.Widgets.view;
import java.util.ArrayList;
-
-import com.google.gwt.dom.client.Style.Float;
-import com.google.gwt.dom.client.Style.Overflow;
-import com.google.gwt.event.dom.client.BlurEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.dom.client.DomEvent;
-import com.google.gwt.event.dom.client.FocusEvent;
-import com.google.gwt.event.dom.client.MouseDownEvent;
-import com.google.gwt.event.dom.client.MouseOutEvent;
-import com.google.gwt.event.dom.client.MouseOverEvent;
-import com.google.gwt.event.dom.client.MouseUpEvent;
-import com.google.gwt.user.client.ui.Widget;
-
-import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Construct;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.Topic;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMap;
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
-import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
-import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
-import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
-import us.isidor.gdl.anaToMia.Widgets.environment.HoverStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.InvalidGdlSchemaException;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
-import us.isidor.gdl.anaToMia.Widgets.value.AbsoluteNumValue;
-import us.isidor.gdl.anaToMia.Widgets.value.AutoNumUnitValue;
-import us.isidor.gdl.anaToMia.Widgets.value.BorderStyleValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ClearValue;
-import us.isidor.gdl.anaToMia.Widgets.value.ColorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.CursorValue;
-import us.isidor.gdl.anaToMia.Widgets.value.NumUnitValue;
public class GdlSpecialEditorTopicView extends GdlSpecialTopicView{
@@ -44,20 +19,6 @@
}
- @Override
- public String getViewName() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- @Override
- public Topic getTmRepresentative() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
@Override
public boolean validate() {
@@ -71,400 +32,6 @@
return null;
}
- @Override
- public void registerButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void deregisterButtonCallback(ClickHandler handler, String id) {
- // TODO Auto-generated method stub
-
- }
-
-
-
-
- @Override
- public void setMargin(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMarginLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftStyle(Widget widget, BorderStyleValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRightWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderLeftWidth(Widget widget, AbsoluteNumValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomRightRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderBottomLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBorderTopLeftRadius(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPadding(Widget widget, NumUnitValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingTop(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingRight(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingBottom(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setPaddingLeft(Widget widget, NumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxWidth(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMinHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setMaxHeight(Widget widget, AutoNumUnitValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setCursor(Widget widget, CursorValue value, String styleClass)
- throws InvalidGdlSchemaException, ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void setBackgroundColor(Widget widget, ColorValue value,
- String styleClass) throws InvalidGdlSchemaException,
- ExecutionException {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverStart(MouseOverEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onHoverEnd(MouseOutEvent event, HoverStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusStart(FocusEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onFocusEnd(BlurEvent event, FocusStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveStart(MouseDownEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
-
-
- @Override
- public void onActiveEnd(MouseUpEvent event, ActiveStyleHandler handler) {
- // TODO Auto-generated method stub
-
- }
@Override
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/view/GdlView.java Fri Jul 15 08:12:14 2011 (r630)
@@ -94,7 +94,7 @@
this.setZindex(this.getZindex());
this.setFloat(this.getFloat());
this.setClear(this.getClear());
- super.setGdlStyle(this);
+ this.setGdlStyle(this.mainPanel);
}
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Fri Jul 15 04:29:35 2011 (r629)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/war/gdl_widgets/test.gdl.jtm Fri Jul 15 08:12:14 2011 (r630)
@@ -28,6 +28,10 @@
{"subject_identifiers":["[gdl:Position]"]},
{"subject_identifiers":["[gdl:position]"], "instance_of":["si:[tmcl:association-type]"]},
{"subject_identifiers":["[gdl:nth-element]"], "instance_of":["si:[tmcl:role-type]"]},
+ {"subject_identifiers":["[gdl:background-color]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:width]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[gdl:height]"], "instance_of":["si:[tmcl:occurrence-type]"]},
+ {"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}, {"type":"si:[gdl:background-color]", "value":"blue"}, {"type":"si:[gdl:width]", "value":"500px"}, {"type":"si:[gdl:height]", "value":"600px"}]},
{"subject_identifiers":["[gdl:View]"]},
{"subject_identifiers":["[gdl:Text]"]},
{"subject_identifiers":["[gdl:Title]"]},
@@ -78,7 +82,6 @@
{"subject_identifiers":["[gdl:Default-Creator-Topic-View]"]},
{"subject_identifiers":["[gdl:Default-Editor-Topic-View]"]},
{"subject_identifiers":["[gdl:Special-Creator-Topic-View]"]},
- {"subject_identifiers":["[doc:default-creator-topic-view-1]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 1", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_1_id", "datatype":"[xsd:ID]"}]},
{"subject_identifiers":["[doc:default-creator-topic-view-2]"], "instance_of":["si:[gdl:Default-Creator-Topic-View]"], "names":[{"value": "Def. Creator View 2", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_creator_topic_view_2_id", "datatype":"[xsd:ID]"}]},
{"subject_identifiers":["[doc:default-editor-topic-view]"], "instance_of":["si:[gdl:Default-Editor-Topic-View]"], "names":[{"value": "Def. Editor View", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"default_editor_topic_view_id", "datatype":"[xsd:ID]"}]},
{"subject_identifiers":["[doc:special-creator-topic-view]"], "instance_of":["si:[gdl:Special-Creator-Topic-View]"], "names":[{"value": "Spec. Creator View", "type":"si:[gdl:view-name]"}], "occurrences":[{"type":"si:[gdl:id]", "value":"special_creator_topic_view_id", "datatype":"[xsd:ID]"}]},
1
0

[isidorus-cvs] r629 - branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text
by lgiessmann@common-lisp.net 15 Jul '11
by lgiessmann@common-lisp.net 15 Jul '11
15 Jul '11
Author: lgiessmann
Date: Fri Jul 15 04:29:35 2011
New Revision: 629
Log:
gdl-frontend: Widgets: changed the type of the TitleWidget class's inner elements to com.google.gwt.user.client.Element, so the method Dm.setStyleAttribute(...) can be used
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Fri Jul 15 04:21:34 2011 (r628)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlTitle.java Fri Jul 15 04:29:35 2011 (r629)
@@ -6,7 +6,6 @@
import us.isidor.gdl.anaToMia.TopicMaps.TopicMapsModel.TopicMapsTypes;
import us.isidor.gdl.anaToMia.Widgets.base.GdlPsis;
import us.isidor.gdl.anaToMia.Widgets.base.IGdlHasValue;
-import us.isidor.gdl.anaToMia.Widgets.base.Utils;
import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
@@ -22,7 +21,6 @@
import us.isidor.gdl.anaToMia.Widgets.value.TextAlignValue;
import us.isidor.gdl.anaToMia.Widgets.value.TextDecorationValue;
-import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style.FontStyle;
import com.google.gwt.event.dom.client.BlurEvent;
import com.google.gwt.event.dom.client.BlurHandler;
@@ -44,6 +42,7 @@
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
@@ -151,7 +150,7 @@
public void setDirection(Widget widget, DirectionValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "direction", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "direction", value.getCssValue());
}
this.addStyleToStore(styleClass, "direction", value.getCssValue());
}
@@ -163,9 +162,9 @@
public void setTextAlign(Widget widget, TextAlignValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "text-align", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "textAlign", value.getCssValue());
}
- this.addStyleToStore(styleClass, "text-align", value.getCssValue());
+ this.addStyleToStore(styleClass, "textAlign", value.getCssValue());
}
}
@@ -175,9 +174,9 @@
public void setLineHeight(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "line-height", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "lineHeight", value.getCssValue());
}
- this.addStyleToStore(styleClass, "line-height", value.getCssValue());
+ this.addStyleToStore(styleClass, "lineHeight", value.getCssValue());
}
}
@@ -187,9 +186,9 @@
public void setTextDecoration(Widget widget, TextDecorationValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "text-decoration", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "textDecoration", value.getCssValue());
}
- this.addStyleToStore(styleClass, "text-decoration", value.getCssValue());
+ this.addStyleToStore(styleClass, "textDecoration", value.getCssValue());
}
}
@@ -199,7 +198,7 @@
public void setColor(Widget widget, ColorValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "color", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "color", value.getCssValue());
}
this.addStyleToStore(styleClass, "color", value.getCssValue());
}
@@ -211,9 +210,9 @@
public void setFontFamily(Widget widget, String value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "font-family", value);
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "fontFamily", value);
}
- this.addStyleToStore(styleClass, "font-family", value);
+ this.addStyleToStore(styleClass, "fontFamily", value);
}
}
@@ -223,9 +222,9 @@
public void setFontStyle(Widget widget, FontStyle value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "font-style", value.getCssName());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "fontStyle", value.getCssName());
}
- this.addStyleToStore(styleClass, "font-style", value.getCssName());
+ this.addStyleToStore(styleClass, "fontStyle", value.getCssName());
}
}
@@ -235,9 +234,9 @@
public void setFontSize(Widget widget, PositiveNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "font-size", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "fontSize", value.getCssValue());
}
- this.addStyleToStore(styleClass, "font-size", value.getCssValue());
+ this.addStyleToStore(styleClass, "fontSize", value.getCssValue());
}
}
@@ -247,9 +246,9 @@
public void setFontWeight(Widget widget, FontWeightValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "font-weight", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "fontWeight", value.getCssValue());
}
- this.addStyleToStore(styleClass, "font-weight", value.getCssValue());
+ this.addStyleToStore(styleClass, "fontWeight", value.getCssValue());
}
}
@@ -259,9 +258,9 @@
public void setLetterSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "letter-spacing", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "letterSpacing", value.getCssValue());
}
- this.addStyleToStore(styleClass, "letter-spacing", value.getCssValue());
+ this.addStyleToStore(styleClass, "letterSpacing", value.getCssValue());
}
}
@@ -270,9 +269,9 @@
public void setWordSpacing(Widget widget, NormalNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "word-spacing", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "wordSpacing", value.getCssValue());
}
- this.addStyleToStore(styleClass, "word-spacing", value.getCssValue());
+ this.addStyleToStore(styleClass, "wordSpacing", value.getCssValue());
}
}
@@ -281,7 +280,7 @@
public void setWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "width", value.getCssValue()); // TODO: fix
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "width", value.getCssValue()); // TODO: fix
}
this.addStyleToStore(styleClass, "width", value.getCssValue());
super.setCssProperty(widget, styleClass, "width", value.getCssValue());
@@ -293,9 +292,9 @@
public void setMinWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "min-width", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "minWidth", value.getCssValue());
}
- this.addStyleToStore(styleClass, "min-width", value.getCssValue());
+ this.addStyleToStore(styleClass, "minWidth", value.getCssValue());
super.setCssProperty(widget, styleClass, "minWidth", value.getCssValue());
}
}
@@ -305,9 +304,9 @@
public void setMaxWidth(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "max-width", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "maxWidth", value.getCssValue());
}
- this.addStyleToStore(styleClass, "max-width", value.getCssValue());
+ this.addStyleToStore(styleClass, "maxWidth", value.getCssValue());
super.setCssProperty(widget, styleClass, "maxWidth", value.getCssValue());
}
}
@@ -317,7 +316,7 @@
public void setHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "height", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "height", value.getCssValue());
}
this.addStyleToStore(styleClass, "height", value.getCssValue());
super.setCssProperty(widget, styleClass, "height", value.getCssValue());
@@ -329,9 +328,9 @@
public void setMinHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "min-height", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "minHeight", value.getCssValue());
}
- this.addStyleToStore(styleClass, "min-height", value.getCssValue());
+ this.addStyleToStore(styleClass, "minHeight", value.getCssValue());
super.setCssProperty(widget, styleClass, "minHeight", value.getCssValue());
}
}
@@ -341,9 +340,9 @@
public void setMaxHeight(Widget widget, AutoNumUnitValue value, String styleClass) throws InvalidGdlSchemaException, ExecutionException {
if(value != null && widget.getClass().equals(TitleWidget.class)) {
if(styleClass == null){
- Utils.replaceStyleProperty(((TitleWidget)widget).getTitleElement(), "max-height", value.getCssValue());
+ DOM.setStyleAttribute(((TitleWidget)widget).getTitleElement(), "maxHeight", value.getCssValue());
}
- this.addStyleToStore(styleClass, "max-height", value.getCssValue());
+ this.addStyleToStore(styleClass, "maxHeight", value.getCssValue());
super.setCssProperty(widget, styleClass, "maxHeight", value.getCssValue());
}
}
@@ -356,7 +355,7 @@
GdlTitle.super.onHoverStart(event, handler);
if(source.getClass().equals(TitleWidget.class)){
for (Pair<String, String> pair : this.titleHoverCssNamesAndStyles) {
- Utils.replaceStyleProperty(((TitleWidget)source).titleElement, pair.getFirst(), pair.getSecond());
+ DOM.setStyleAttribute(((TitleWidget)source).titleElement, pair.getFirst(), pair.getSecond());
}
}
}
@@ -368,7 +367,7 @@
GdlTitle.super.onHoverStart(widget);
if(widget.getClass().equals(TitleWidget.class)){
for (Pair<String, String> pair : this.titleHoverCssNamesAndStyles) {
- Utils.replaceStyleProperty(((TitleWidget)widget).titleElement, pair.getFirst(), pair.getSecond());
+ DOM.setStyleAttribute(((TitleWidget)widget).titleElement, pair.getFirst(), pair.getSecond());
}
}
}
@@ -379,7 +378,7 @@
GdlTitle.super.onFocusStart(widget);
if(widget.getClass().equals(TitleWidget.class)){
for (Pair<String, String> pair : this.titleFocusCssNamesAndStyles) {
- Utils.replaceStyleProperty(((TitleWidget)widget).titleElement, pair.getFirst(), pair.getSecond());
+ DOM.setStyleAttribute(((TitleWidget)widget).titleElement, pair.getFirst(), pair.getSecond());
}
}
}
@@ -391,7 +390,7 @@
GdlTitle.super.onFocusStart(event, handler);
if(source.getClass().equals(TitleWidget.class)){
for (Pair<String, String> pair : this.titleFocusCssNamesAndStyles) {
- Utils.replaceStyleProperty(((TitleWidget)source).titleElement, pair.getFirst(), pair.getSecond());
+ DOM.setStyleAttribute(((TitleWidget)source).titleElement, pair.getFirst(), pair.getSecond());
}
}
}
@@ -402,7 +401,7 @@
GdlTitle.super.onActiveStart(widget);
if(widget.getClass().equals(TitleWidget.class)){
for (Pair<String, String> pair : this.titleActiveCssNamesAndStyles) {
- Utils.replaceStyleProperty(((TitleWidget)widget).titleElement, pair.getFirst(), pair.getSecond());
+ DOM.setStyleAttribute(((TitleWidget)widget).titleElement, pair.getFirst(), pair.getSecond());
}
}
}
@@ -414,7 +413,7 @@
GdlTitle.super.onActiveStart(event, handler);
if(source.getClass().equals(TitleWidget.class)){
for (Pair<String, String> pair : this.titleActiveCssNamesAndStyles) {
- Utils.replaceStyleProperty(((TitleWidget)source).titleElement, pair.getFirst(), pair.getSecond());
+ DOM.setStyleAttribute(((TitleWidget)source).titleElement, pair.getFirst(), pair.getSecond());
}
}
}
@@ -485,7 +484,7 @@
default: throw new ExecutionException("The title order of a GDL Title element must be 1, 2, 3 or 4");
}
this.basePanel.getElement().insertFirst(this.titleElement);
- Utils.replaceStyleProperty(this.titleElement, "margin", "0px");
+ DOM.setStyleAttribute(this.titleElement, "margin", "0px");
}
1
0

[isidorus-cvs] r628 - branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container
by lgiessmann@common-lisp.net 15 Jul '11
by lgiessmann@common-lisp.net 15 Jul '11
15 Jul '11
Author: lgiessmann
Date: Fri Jul 15 04:21:34 2011
New Revision: 628
Log:
gdl-frontend: Widgets: changed the type of the Listwidget element's inner element to com.google.gwt.user.client.Element, so the method Dm.setStyleAttribute(...) can be used
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Fri Jul 15 04:10:50 2011 (r627)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Fri Jul 15 04:21:34 2011 (r628)
@@ -1,8 +1,8 @@
package us.isidor.gdl.anaToMia.Widgets.container;
import java.util.ArrayList;
-import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
@@ -32,7 +32,6 @@
import us.isidor.gdl.anaToMia.Widgets.base.GdlVisibleObject;
import us.isidor.gdl.anaToMia.Widgets.base.IGdlContainer;
import us.isidor.gdl.anaToMia.Widgets.base.TmHelper;
-import us.isidor.gdl.anaToMia.Widgets.base.Utils;
import us.isidor.gdl.anaToMia.Widgets.environment.ActiveStyleHandler;
import us.isidor.gdl.anaToMia.Widgets.environment.ExecutionException;
import us.isidor.gdl.anaToMia.Widgets.environment.FocusStyleHandler;
@@ -160,13 +159,13 @@
// sets the css property list-style-type
public void setListStyleType(ListWidget widget, ListStyleTypeValue value) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) Utils.replaceStyleProperty(widget.getListElement(), "list-style-type", value.getCssValue());
+ if(value != null) DOM.setStyleAttribute(widget.getListElement(), "listStyleType", value.getCssValue());
}
// sets the css property list-style-position
public void setListStylePositionValue(ListWidget widget, ListStylePositionValue value) throws InvalidGdlSchemaException, ExecutionException {
- if(value != null) Utils.replaceStyleProperty(widget.getListElement(), "list-style-position", value.getCssValue());
+ if(value != null) DOM.setStyleAttribute(widget.getListElement(), "listStylePosition", value.getCssValue());
}
1
0

[isidorus-cvs] r627 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base container
by lgiessmann@common-lisp.net 15 Jul '11
by lgiessmann@common-lisp.net 15 Jul '11
15 Jul '11
Author: lgiessmann
Date: Fri Jul 15 04:10:50 2011
New Revision: 627
Log:
gdl-frontend: Widgets: changed the overflow style of the inner elements of GdlList and GdlUnit to visible; changed the default property of GdlPosition, so the default position style is set ot static, if no one was set by the user
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java Fri Jul 15 03:50:29 2011 (r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/GdlPosition.java Fri Jul 15 04:10:50 2011 (r627)
@@ -115,6 +115,7 @@
if(widget == null) return;
if(this.getPositionStyle() != null) DOM.setStyleAttribute(widget.getElement(), "position", this.getPositionStyle().getCssValue());
+ else DOM.setStyleAttribute(widget.getElement(), "position", "static");
if(this.getTop() != null) DOM.setStyleAttribute(widget.getElement(), "top", this.getTop().getCssValue());
if(this.getRight() != null) DOM.setStyleAttribute(widget.getElement(), "right", this.getRight().getCssValue());
if(this.getBottom() != null) DOM.setStyleAttribute(widget.getElement(), "bottom", this.getBottom().getCssValue());
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Fri Jul 15 03:50:29 2011 (r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Fri Jul 15 04:10:50 2011 (r627)
@@ -12,6 +12,7 @@
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.RootPanel;
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Fri Jul 15 03:50:29 2011 (r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlList.java Fri Jul 15 04:10:50 2011 (r627)
@@ -213,6 +213,7 @@
public ListWidget(){
initWidget(this.basePanel);
+ DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
this.listElement = DOM.createElement("ul");
this.basePanel.getElement().insertFirst(this.listElement);
}
@@ -220,6 +221,7 @@
public ListWidget(boolean ordered){
initWidget(this.basePanel);
+ DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
if(ordered) this.listElement = DOM.createElement("ol");
else this.listElement = DOM.createElement("ul");
this.basePanel.getElement().insertFirst(this.listElement);
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Fri Jul 15 03:50:29 2011 (r626)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/container/GdlUnit.java Fri Jul 15 04:10:50 2011 (r627)
@@ -1303,6 +1303,7 @@
if(tmRepresentative == null) throw new ExecutionException("tmRepresentative must be set");
this.tmRepresentative = tmRepresentative;
initWidget(this.basePanel);
+ DOM.setStyleAttribute(this.basePanel.getElement(), "overflow", "visible");
this.fieldset.appendChild(this.legend);
this.basePanel.getElement().appendChild(this.fieldset);
DOM.setStyleAttribute(this.legend, "float", "left");
1
0