mydm-cvs Mailing List for My Document Manager
Status: Pre-Alpha
Brought to you by:
vkdasari
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(17) |
Nov
(70) |
Dec
(41) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(65) |
Mar
(54) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(2) |
From: Vijay <vkd...@us...> - 2004-12-16 01:51:37
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/utilities In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32712/src/java/org/mydm/utilities Modified Files: DateUtilities.java Log Message: replace is replaced with replaceAll Index: DateUtilities.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/utilities/DateUtilities.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DateUtilities.java 8 Mar 2004 18:38:39 -0000 1.3 --- DateUtilities.java 16 Dec 2004 01:51:29 -0000 1.4 *************** *** 44,48 **** */ public static int getDateAsNumber(String date){ ! date = date.replace("-", "").trim(); int dateNumber = 0; if(!date.equals("")){ --- 44,48 ---- */ public static int getDateAsNumber(String date){ ! date = date.replaceAll("-", "").trim(); int dateNumber = 0; if(!date.equals("")){ |
From: Vijay <vkd...@us...> - 2004-12-16 01:51:20
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32640/src/java/org/mydm/db Modified Files: DBUtil.java Log Message: replace is replaced with replaceAll Index: DBUtil.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/db/DBUtil.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DBUtil.java 28 Feb 2004 21:40:57 -0000 1.2 --- DBUtil.java 16 Dec 2004 01:51:10 -0000 1.3 *************** *** 66,70 **** */ public static String sqlEscape(String str){ ! return str.replace("'", "''"); } } --- 66,70 ---- */ public static String sqlEscape(String str){ ! return str.replaceAll("'", "''"); } } |
From: Vijay <vkd...@us...> - 2004-11-02 03:58:16
|
Update of /cvsroot/mydm/MyDM In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4674 Added Files: .classpath Log Message: eclipse project config --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry excluding="java/|test/|test/java/" kind="src" path="src"/> <classpathentry kind="src" path="src/test/java"/> <classpathentry kind="src" path="src/java"/> <classpathentry excluding="java/" kind="src" path="src/test"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="lib/java/hsqldb.jar"/> <classpathentry kind="lib" path="lib/java/jdom.jar"/> <classpathentry kind="lib" path="lib/java/jh.jar"/> <classpathentry kind="lib" path="lib/java/jsearch.jar"/> <classpathentry kind="lib" path="lib/java/MyDMHelp.jar"/> <classpathentry kind="output" path="bin"/> </classpath> |
From: Vijay <vkd...@us...> - 2004-11-02 03:58:03
|
Update of /cvsroot/mydm/MyDM In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4605 Added Files: .project Log Message: eclipse project config --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>MyDM</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> |
From: Vijay <vkd...@us...> - 2004-03-16 15:59:25
|
Update of /cvsroot/mydm/MyDM/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32427/conf Modified Files: metadata.xml Log Message: Added searchable elements Index: metadata.xml =================================================================== RCS file: /cvsroot/mydm/MyDM/conf/metadata.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** metadata.xml 4 Mar 2004 21:43:40 -0000 1.4 --- metadata.xml 16 Mar 2004 15:50:05 -0000 1.5 *************** *** 51,56 **** <ele name="title" dbelename="title" ! valuetype="string"> <desc>Title of an Object.</desc> --- 51,58 ---- <ele name="title" + label="Title" dbelename="title" ! valuetype="string" ! searchable = "true"> <desc>Title of an Object.</desc> *************** *** 60,65 **** <ele name="publisher" dbelename="publisher" ! valuetype="string"> <desc>Publisher of the Object.</desc> --- 62,69 ---- <ele name="publisher" + label="Publisher" dbelename="publisher" ! valuetype="string" ! searchable = "true"> <desc>Publisher of the Object.</desc> *************** *** 69,74 **** <ele name="date_pub" dbelename="date_pub" ! valuetype="date"> <desc>Publication Date</desc> --- 73,80 ---- <ele name="date_pub" + label="Publication Date" dbelename="date_pub" ! valuetype="date" ! searchable = "true"> <desc>Publication Date</desc> *************** *** 78,83 **** <ele name="language" dbelename="language" ! valuetype="string"> <desc>Language in which the document is written.</desc> --- 84,91 ---- <ele name="language" + label="Language" dbelename="language" ! valuetype="string" ! searchable = "false"> <desc>Language in which the document is written.</desc> *************** *** 86,92 **** <ele ! name="abstract" dbelename="abstract" ! valuetype="string"> <desc>Abstract of the Information in the document.</desc> --- 94,102 ---- <ele ! name="abstract" ! label="Abstract" dbelename="abstract" ! valuetype="string" ! searchable = "true"> <desc>Abstract of the Information in the document.</desc> *************** *** 96,101 **** <ele name="title_journal" dbelename="title_journal" ! valuetype="string"> <desc>Title of the Journal in which the document is Published.</desc> --- 106,113 ---- <ele name="title_journal" + label="Journal Title" dbelename="title_journal" ! valuetype="string" ! searchable = "true"> <desc>Title of the Journal in which the document is Published.</desc> *************** *** 104,110 **** <ele ! name="abbrev_journal" dbelename="abbrev_journal" ! valuetype="string"> <desc>Abbreviation of the Journal Title in which the document is Published.</desc> --- 116,124 ---- <ele ! name="abbrev_journal" ! label="Journal abbreviation" dbelename="abbrev_journal" ! valuetype="string" ! searchable = "true"> <desc>Abbreviation of the Journal Title in which the document is Published.</desc> *************** *** 114,119 **** <ele name="volume" dbelename="volume" ! valuetype="string"> <desc>Volume of the Journal.</desc> --- 128,135 ---- <ele name="volume" + label="Volume" dbelename="volume" ! valuetype="string" ! searchable = "true"> <desc>Volume of the Journal.</desc> *************** *** 123,128 **** <ele name="issue" dbelename="issue" ! valuetype="string"> <desc>Issue</desc> --- 139,146 ---- <ele name="issue" + label="Issue" dbelename="issue" ! valuetype="string" ! searchable = "true"> <desc>Issue</desc> *************** *** 132,137 **** <ele name="spage" dbelename="spage" ! valuetype="string"> <desc>Start Page.</desc> --- 150,157 ---- <ele name="spage" + label="Start page" dbelename="spage" ! valuetype="string" ! searchable = "true"> <desc>Start Page.</desc> *************** *** 141,146 **** <ele name="epage" dbelename="epage" ! valuetype="string"> <desc>End Page.</desc> --- 161,168 ---- <ele name="epage" + label="End page" dbelename="epage" ! valuetype="string" ! searchable = "true"> <desc>End Page.</desc> *************** *** 150,155 **** <ele name="title_book" dbelename="title_book" ! valuetype="string"> <desc>Book Title.</desc> --- 172,179 ---- <ele name="title_book" + label="Book Title" dbelename="title_book" ! valuetype="string" ! searchable = "true"> <desc>Book Title.</desc> *************** *** 158,164 **** <ele ! name="editor_book" dbelename="editor_book" ! valuetype="string"> <desc>Book Editor.</desc> --- 182,190 ---- <ele ! name="editor_book" ! label="Book editor" dbelename="editor_book" ! valuetype="string" ! searchable = "true"> <desc>Book Editor.</desc> *************** *** 168,173 **** <ele name="series_book" dbelename="series_book" ! valuetype="string"> <desc>Book Series.</desc> --- 194,201 ---- <ele name="series_book" + label="Book series" dbelename="series_book" ! valuetype="string" ! searchable = "true"> <desc>Book Series.</desc> *************** *** 177,182 **** <ele name="date_conference" dbelename="date_conference" ! valuetype="string"> <desc>Conference Date</desc> --- 205,212 ---- <ele name="date_conference" + label="Conference Date" dbelename="date_conference" ! valuetype="string" ! searchable = "true"> <desc>Conference Date</desc> *************** *** 185,191 **** <ele ! name="place_conference" dbelename="place_conference" ! valuetype="string"> <desc>Place of Conference.</desc> --- 215,223 ---- <ele ! name="place_conference" ! label="Place of Conference" dbelename="place_conference" ! valuetype="string" ! searchable = "true"> <desc>Place of Conference.</desc> *************** *** 195,200 **** <ele name="external_affiliation" dbelename="external_affiliation" ! valuetype="string"> <desc>External Affiliation</desc> --- 227,234 ---- <ele name="external_affiliation" + label="Affiliations" dbelename="external_affiliation" ! valuetype="string" ! searchable = "true"> <desc>External Affiliation</desc> *************** *** 203,209 **** <ele ! name="free_keywords" dbelename="free_keywords" ! valuetype="string"> <desc>Free Keywords</desc> --- 237,245 ---- <ele ! name="free_keywords" ! label="Free Keywords" dbelename="free_keywords" ! valuetype="string" ! searchable = "true"> <desc>Free Keywords</desc> *************** *** 213,218 **** <ele name="address_publisher" dbelename="address_publisher" ! valuetype="string"> <desc>Publisher Address</desc> --- 249,256 ---- <ele name="address_publisher" + label="Publisher Address" dbelename="address_publisher" ! valuetype="string" ! searchable = "true"> <desc>Publisher Address</desc> |
From: Vijay <vkd...@us...> - 2004-03-16 15:58:56
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32312/src/java/org/mydm/core Modified Files: MetaData.java Log Message: Added searchable elements Index: MetaData.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/MetaData.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** MetaData.java 4 Mar 2004 21:39:59 -0000 1.13 --- MetaData.java 16 Mar 2004 15:49:35 -0000 1.14 *************** *** 52,55 **** --- 52,61 ---- private static HashMap allelehash = new HashMap(); + /** Contains all metadata elements to their general labels */ + private static HashMap alleleToLabel = new HashMap(); + + /** Contains all metadata elements which are searchable to their label */ + private static HashMap alleleToSearchable = new HashMap(); + /** Hashmap of all metadata elements to their value types */ private static HashMap allelevalueType = new HashMap(); *************** *** 104,107 **** --- 110,123 ---- child.getAttributeValue("dbelename")); + // push the name and the label of all elements + alleleToLabel.put(child.getAttributeValue("name"), + child.getAttributeValue("label")); + + // push to searchable elements if the searchable flag is true + if(child.getAttributeValue("searchable").equals("true")){ + alleleToSearchable.put(child.getAttributeValue("name"), + child.getAttributeValue("label")); + } + // Push the element name to its valuetype map allelevalueType.put(child.getAttributeValue("name"), *************** *** 311,314 **** --- 327,364 ---- /** + * Gets back the HashMap of Metdata elements to their labels. + * <p> + * Mapping <br/> + * elementname => element label + * + * @return alleleToLabel + */ + public static HashMap getAllEleToLabel(){ + return alleleToLabel; + } + + /** + * Gets back the label of the given element + * + * @param hele metadata element + * @return label of the metadata element + */ + public static String getLabelOfElement(String hele){ + return alleleToLabel.get(hele).toString(); + } + + /** + * Gets back the HashMap of all searchable elements. + * <p> + * Mapping <br/> + * elementname => element label + * + * @return alleleToSearchable + */ + public static HashMap getAllSearchableElements(){ + return alleleToSearchable; + } + + /** * Gets back the HashMap of Metadata elements to their value types. * <p> |
From: Vijay <vkd...@us...> - 2004-03-16 13:40:46
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30519/src/java/org/mydm/db Modified Files: DBTable.java Log Message: Added mysearches table which will store the searches Index: DBTable.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/db/DBTable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DBTable.java 27 Feb 2004 22:26:48 -0000 1.1 --- DBTable.java 16 Mar 2004 13:31:26 -0000 1.2 *************** *** 72,75 **** --- 72,81 ---- /** + * Saved Searches table + */ + public static final DBTable MYSEARCHES = + new DBTable("mysearches"); + + /** * Provides with the List of All Tables */ *************** *** 80,84 **** DOCS_FULLMD, FILES, ! IDENTIFIERS }; --- 86,91 ---- DOCS_FULLMD, FILES, ! IDENTIFIERS, ! MYSEARCHES }; |
From: Vijay <vkd...@us...> - 2004-03-16 13:36:23
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/db/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29634/src/java/org/mydm/db/admin Modified Files: CreateDBStructure.java Log Message: Added mysearches table which will store the searches Index: CreateDBStructure.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/db/admin/CreateDBStructure.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** CreateDBStructure.java 4 Mar 2004 21:47:50 -0000 1.8 --- CreateDBStructure.java 16 Mar 2004 13:27:05 -0000 1.9 *************** *** 103,106 **** --- 103,117 ---- sqls.add("CREATE TABLE docs_fullmd (" + "doc_ref INTEGER," + "collection_ref INTEGER," + "md VARCHAR," + "ts TIMESTAMP" + ")"); + // Table to hold the Saved Searches + sqls.add("DROP TABLE mysearches"); + sqls.add("CREATE TABLE mysearches (" + + "id INTEGER GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), " + + "name VARCHAR," + + "searchstring VARCHAR," + + "description VARCHAR," + + "datecreated TIMESTAMP," + + "ts TIMESTAMP" + + ")"); + try { stmt = con.createStatement(); |
From: <vkd...@us...> - 2004-03-15 17:22:19
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14455/src/java/org/mydm/ui Modified Files: CollectionPane.java Log Message: reverted back the changes Index: CollectionPane.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/CollectionPane.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CollectionPane.java 14 Mar 2004 18:18:47 -0000 1.6 --- CollectionPane.java 15 Mar 2004 17:13:06 -0000 1.7 *************** *** 35,40 **** import java.util.logging.Logger; - import javax.swing.ImageIcon; - import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDesktopPane; --- 35,38 ---- *************** *** 76,80 **** private TableSorter ctmSorter; ! private JPanel crContainerPane, navigPane; private JSplitPane completePane; private JTable listTable; --- 74,78 ---- private TableSorter ctmSorter; ! private JPanel crContainerPane; private JSplitPane completePane; private JTable listTable; *************** *** 83,90 **** // Navigation Information private JLabel navLabel; ! private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES); - private final JButton stopSearch = new JButton(new ImageIcon("graphics/tbicons/general/Stop16.gif")); private final JComboBox ftOption = new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"}); --- 81,87 ---- // Navigation Information private JLabel navLabel; ! private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES); private final JComboBox ftOption = new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"}); *************** *** 173,177 **** ftOption.setEnabled(true); sortBy.setEnabled(true); - stopSearch.setEnabled(false); } --- 170,173 ---- *************** *** 195,199 **** // Navigational Panel ! navigPane = new JPanel(); navigPane.add(new JLabel("Sort by")); navigPane.add(sortBy); --- 191,196 ---- // Navigational Panel ! JPanel navigPane = new JPanel(); ! navigPane.add(new JLabel("Sort by")); navigPane.add(sortBy); *************** *** 211,215 **** navigPane.add(new JLabel("Found : ")); navigPane.add(navLabel); - navigPane.add(stopSearch); // Document List Panel --- 208,211 ---- *************** *** 347,352 **** EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem()); } ! int cnt = 0; for(int i=0; i<eDocs.size(); i++){ // If the Action is FTOption if(whichAction.equals("ftoption")){ --- 343,349 ---- EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem()); } ! for(int i=0; i<eDocs.size(); i++){ + // If the Action is FTOption if(whichAction.equals("ftoption")){ |
From: <vkd...@us...> - 2004-03-15 17:20:41
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14154/src/java/org/mydm/core Modified Files: ECollection.java Log Message: reverted back the changes to collection name Index: ECollection.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/ECollection.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ECollection.java 14 Mar 2004 18:15:59 -0000 1.5 --- ECollection.java 15 Mar 2004 17:11:31 -0000 1.6 *************** *** 25,28 **** --- 25,29 ---- import java.util.logging.Logger; + /** * Basic ECollection Object. ECollection is a container for the EDocument *************** *** 145,151 **** */ public String toString(){ - if (colname.length()>16){ - colname = colname.substring(0,16)+"..."; - } return colname; } --- 146,149 ---- |
From: <vkd...@us...> - 2004-03-15 17:11:15
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11348/src/java/org/mydm/main Modified Files: FDocMan.java Log Message: reverted back the Quick search Labelling Index: FDocMan.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/main/FDocMan.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** FDocMan.java 11 Mar 2004 20:49:12 -0000 1.17 --- FDocMan.java 15 Mar 2004 17:02:06 -0000 1.18 *************** *** 525,530 **** toolBar.addSeparator(); ! quickSLabel = new JLabel("Search"); ! quickS = new JTextField(5); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); --- 525,530 ---- toolBar.addSeparator(); ! quickSLabel = new JLabel("Quick search"); ! quickS = new JTextField(10); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); |
From: <ka...@us...> - 2004-03-14 18:27:50
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19781 Modified Files: CollectionPane.java Log Message: stop button by found: label Index: CollectionPane.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/CollectionPane.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CollectionPane.java 24 Feb 2004 21:20:02 -0000 1.5 --- CollectionPane.java 14 Mar 2004 18:18:47 -0000 1.6 *************** *** 35,38 **** --- 35,40 ---- import java.util.logging.Logger; + import javax.swing.ImageIcon; + import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDesktopPane; *************** *** 74,78 **** private TableSorter ctmSorter; ! private JPanel crContainerPane; private JSplitPane completePane; private JTable listTable; --- 76,80 ---- private TableSorter ctmSorter; ! private JPanel crContainerPane, navigPane; private JSplitPane completePane; private JTable listTable; *************** *** 81,87 **** // Navigation Information private JLabel navLabel; ! private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES); private final JComboBox ftOption = new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"}); --- 83,90 ---- // Navigation Information private JLabel navLabel; ! private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES); + private final JButton stopSearch = new JButton(new ImageIcon("graphics/tbicons/general/Stop16.gif")); private final JComboBox ftOption = new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"}); *************** *** 170,173 **** --- 173,177 ---- ftOption.setEnabled(true); sortBy.setEnabled(true); + stopSearch.setEnabled(false); } *************** *** 191,196 **** // Navigational Panel ! JPanel navigPane = new JPanel(); ! navigPane.add(new JLabel("Sort by")); navigPane.add(sortBy); --- 195,199 ---- // Navigational Panel ! navigPane = new JPanel(); navigPane.add(new JLabel("Sort by")); navigPane.add(sortBy); *************** *** 208,211 **** --- 211,215 ---- navigPane.add(new JLabel("Found : ")); navigPane.add(navLabel); + navigPane.add(stopSearch); // Document List Panel *************** *** 343,349 **** EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem()); } ! for(int i=0; i<eDocs.size(); i++){ - // If the Action is FTOption if(whichAction.equals("ftoption")){ --- 347,352 ---- EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem()); } ! int cnt = 0; for(int i=0; i<eDocs.size(); i++){ // If the Action is FTOption if(whichAction.equals("ftoption")){ |
From: <ka...@us...> - 2004-03-14 18:26:40
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19545 Modified Files: SearchFrame.java Log Message: - pop up message if not found docs for search - close tab first with right mouse button Index: SearchFrame.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/SearchFrame.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SearchFrame.java 6 Mar 2004 16:59:49 -0000 1.9 --- SearchFrame.java 14 Mar 2004 18:17:41 -0000 1.10 *************** *** 29,32 **** --- 29,34 ---- import java.awt.event.ActionEvent; import java.awt.event.ActionListener; + import java.awt.event.MouseAdapter; + import java.awt.event.MouseEvent; import java.sql.SQLException; import java.sql.ResultSet; *************** *** 102,105 **** --- 104,114 ---- // Split Complete Pane tabbedResult = new JTabbedPane(); + tabbedResult.addMouseListener(new MouseAdapter() { + public void mouseClicked(MouseEvent e){ + if(e.getButton() == MouseEvent.BUTTON3){ + tabbedResult.remove(tabbedResult.getSelectedIndex()); + } + } + }); JSplitPane completePane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, tabbedPane, tabbedResult); *************** *** 343,346 **** --- 352,362 ---- } } + if (cnt==0){ + JOptionPane.showMessageDialog(collPan2, + "No documents for your selected criteria", "MyDM message", + JOptionPane.INFORMATION_MESSAGE); + return; + } + collPan2.searchFinished(); /* if (resultExist){ tabbedResult.addTab("Result "+(tabbedResult.getTabCount()+1),collPan2); *************** *** 359,361 **** --- 375,384 ---- adderThread.start(); } + /** + * Mouse action in Tab search reult panet + * Close tab after left mouse click + * + */ + private void leftMouseTab(){ + } } \ No newline at end of file |
From: <ka...@us...> - 2004-03-14 18:24:59
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19176 Modified Files: ECollection.java Log Message: cut coll name if is lenght as 16 character Index: ECollection.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/ECollection.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ECollection.java 27 Feb 2004 22:25:39 -0000 1.4 --- ECollection.java 14 Mar 2004 18:15:59 -0000 1.5 *************** *** 25,29 **** import java.util.logging.Logger; - /** * Basic ECollection Object. ECollection is a container for the EDocument --- 25,28 ---- *************** *** 146,149 **** --- 145,151 ---- */ public String toString(){ + if (colname.length()>16){ + colname = colname.substring(0,16)+"..."; + } return colname; } |
From: <ka...@us...> - 2004-03-11 21:16:12
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25706 Modified Files: FDocMan.java Log Message: Reduce search field length and label from quick search ->search Index: FDocMan.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/main/FDocMan.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** FDocMan.java 8 Mar 2004 18:32:23 -0000 1.16 --- FDocMan.java 11 Mar 2004 20:49:12 -0000 1.17 *************** *** 525,530 **** toolBar.addSeparator(); ! quickSLabel = new JLabel("Quick search"); ! quickS = new JTextField(10); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); --- 525,530 ---- toolBar.addSeparator(); ! quickSLabel = new JLabel("Search"); ! quickS = new JTextField(5); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); |
From: <vkd...@us...> - 2004-03-08 19:03:09
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/utilities In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18632/src/java/org/mydm/utilities Modified Files: DateUtilities.java Log Message: Corrected the Data Handling method Index: DateUtilities.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/utilities/DateUtilities.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DateUtilities.java 28 Feb 2004 21:40:05 -0000 1.2 --- DateUtilities.java 8 Mar 2004 18:38:39 -0000 1.3 *************** *** 44,48 **** */ public static int getDateAsNumber(String date){ ! return Integer.parseInt(date.replace("-", "").trim()); } --- 44,53 ---- */ public static int getDateAsNumber(String date){ ! date = date.replace("-", "").trim(); ! int dateNumber = 0; ! if(!date.equals("")){ ! dateNumber = Integer.parseInt(date); ! } ! return dateNumber; } |
From: <vkd...@us...> - 2004-03-08 18:56:53
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17344/src/java/org/mydm/main Modified Files: FDocMan.java Log Message: Corrected the Bug with DocIDListener Index: FDocMan.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/main/FDocMan.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** FDocMan.java 8 Mar 2004 18:13:13 -0000 1.15 --- FDocMan.java 8 Mar 2004 18:32:23 -0000 1.16 *************** *** 519,523 **** doDocIdSearch.setBorder(new SoftBevelBorder(BevelBorder.RAISED)); doDocIdSearch.addActionListener( ! new DocIDListener(docIdSearch.getText())); toolBar.add(docIdLabelSearch); toolBar.add(docIdSearch); --- 519,523 ---- doDocIdSearch.setBorder(new SoftBevelBorder(BevelBorder.RAISED)); doDocIdSearch.addActionListener( ! new DocIDListener(docIdSearch)); toolBar.add(docIdLabelSearch); toolBar.add(docIdSearch); |
From: <vkd...@us...> - 2004-03-08 18:56:52
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17344/src/java/org/mydm/ui Modified Files: DocIDListener.java Log Message: Corrected the Bug with DocIDListener Index: DocIDListener.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/DocIDListener.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DocIDListener.java 28 Feb 2004 15:14:39 -0000 1.1 --- DocIDListener.java 8 Mar 2004 18:32:23 -0000 1.2 *************** *** 29,32 **** --- 29,33 ---- import javax.swing.JDesktopPane; import javax.swing.JOptionPane; + import javax.swing.JTextField; import org.mydm.core.EDocument; *************** *** 43,47 **** public class DocIDListener implements ActionListener{ ! private final String id; /** --- 44,48 ---- public class DocIDListener implements ActionListener{ ! private JTextField jtext; /** *************** *** 49,54 **** * */ ! public DocIDListener(String id){ ! this.id = id; } --- 50,55 ---- * */ ! public DocIDListener(JTextField jtext){ ! this.jtext = jtext; } *************** *** 57,60 **** --- 58,62 ---- */ public void actionPerformed(ActionEvent e) { + String id = jtext.getText(); int qdid; JDesktopPane desktop = FDocMan.getInstance().getDesktopPane(); |
From: <vkd...@us...> - 2004-03-08 18:37:41
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13171/src/java/org/mydm/main Modified Files: FDocMan.java Log Message: retrieved back the old version(1.13) Index: FDocMan.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/main/FDocMan.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** FDocMan.java 6 Mar 2004 17:00:45 -0000 1.14 --- FDocMan.java 8 Mar 2004 18:13:13 -0000 1.15 *************** *** 148,155 **** JMenuBar menuBar = new JMenuBar(); JToolBar toolBar = new JToolBar(); - JToolBar toolBarBottom = new JToolBar(); getContentPane().add(toolBar, BorderLayout.NORTH); - getContentPane().add(toolBarBottom, BorderLayout.SOUTH); --- 148,153 ---- *************** *** 429,432 **** --- 427,431 ---- colchoose = new JComboBox(mycols); + lab1 = new JLabel("Collections"); colListener = new ColListListener(); *************** *** 434,438 **** toolBar.setLayout(new FlowLayout(FlowLayout.LEADING)); ! toolBarBottom.setLayout(new FlowLayout(FlowLayout.LEADING)); newRecAction.putValue(Action.SMALL_ICON, new ImageIcon("graphics/tbicons/general/New16.gif")); JButton newRecBut = toolBar.add(newRecAction); --- 433,437 ---- toolBar.setLayout(new FlowLayout(FlowLayout.LEADING)); ! newRecAction.putValue(Action.SMALL_ICON, new ImageIcon("graphics/tbicons/general/New16.gif")); JButton newRecBut = toolBar.add(newRecAction); *************** *** 527,531 **** quickSLabel = new JLabel("Quick search"); ! quickS = new JTextField(15); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); --- 526,530 ---- quickSLabel = new JLabel("Quick search"); ! quickS = new JTextField(10); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); *************** *** 545,552 **** ! toolBarBottom.add(quickSLabel); ! toolBarBottom.add(quickS); ! toolBarBottom.add(doQuickS); ! toolBarBottom.addSeparator(); toolBar.add(lab1); --- 544,551 ---- ! toolBar.add(quickSLabel); ! toolBar.add(quickS); ! toolBar.add(doQuickS); ! toolBar.addSeparator(); toolBar.add(lab1); |
From: <ka...@us...> - 2004-03-06 17:23:40
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25325 Modified Files: FDocMan.java Log Message: Check VJ for proposal Search bottom Index: FDocMan.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/main/FDocMan.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** FDocMan.java 28 Feb 2004 15:16:10 -0000 1.13 --- FDocMan.java 6 Mar 2004 17:00:45 -0000 1.14 *************** *** 148,153 **** --- 148,155 ---- JMenuBar menuBar = new JMenuBar(); JToolBar toolBar = new JToolBar(); + JToolBar toolBarBottom = new JToolBar(); getContentPane().add(toolBar, BorderLayout.NORTH); + getContentPane().add(toolBarBottom, BorderLayout.SOUTH); *************** *** 427,431 **** colchoose = new JComboBox(mycols); - lab1 = new JLabel("Collections"); colListener = new ColListListener(); --- 429,432 ---- *************** *** 433,437 **** toolBar.setLayout(new FlowLayout(FlowLayout.LEADING)); ! newRecAction.putValue(Action.SMALL_ICON, new ImageIcon("graphics/tbicons/general/New16.gif")); JButton newRecBut = toolBar.add(newRecAction); --- 434,438 ---- toolBar.setLayout(new FlowLayout(FlowLayout.LEADING)); ! toolBarBottom.setLayout(new FlowLayout(FlowLayout.LEADING)); newRecAction.putValue(Action.SMALL_ICON, new ImageIcon("graphics/tbicons/general/New16.gif")); JButton newRecBut = toolBar.add(newRecAction); *************** *** 526,530 **** quickSLabel = new JLabel("Quick search"); ! quickS = new JTextField(10); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); --- 527,531 ---- quickSLabel = new JLabel("Quick search"); ! quickS = new JTextField(15); doQuickS = new JButton(new ImageIcon("graphics/myicons/go.gif")); doQuickS.setPreferredSize(new Dimension(20, 20)); *************** *** 544,551 **** ! toolBar.add(quickSLabel); ! toolBar.add(quickS); ! toolBar.add(doQuickS); ! toolBar.addSeparator(); toolBar.add(lab1); --- 545,552 ---- ! toolBarBottom.add(quickSLabel); ! toolBarBottom.add(quickS); ! toolBarBottom.add(doQuickS); ! toolBarBottom.addSeparator(); toolBar.add(lab1); |
From: <ka...@us...> - 2004-03-06 17:22:42
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25125 Modified Files: SearchFrame.java Log Message: Revising text fields, search lists dynamic Index: SearchFrame.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/SearchFrame.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SearchFrame.java 14 Feb 2004 20:49:18 -0000 1.8 --- SearchFrame.java 6 Mar 2004 16:59:49 -0000 1.9 *************** *** 128,133 **** remButtonQ.addActionListener(this); ! ssField = new JTextField(20); ! JLabel label = new JLabel("Search for:"); --- 128,132 ---- remButtonQ.addActionListener(this); ! ssField = new JTextField(15); JLabel label = new JLabel("Search for:"); *************** *** 177,181 **** advancePanel.add(titleLab); ! advanTitle = new JTextField(15); gc.gridx = 1; gc.gridy = 1; --- 176,180 ---- advancePanel.add(titleLab); ! advanTitle = new JTextField(12); gc.gridx = 1; gc.gridy = 1; *************** *** 191,195 **** advancePanel.add(abstrLab); ! advanAbstr = new JTextField(15); gc.gridx = 1; gc.gridy = 2; --- 190,194 ---- advancePanel.add(abstrLab); ! advanAbstr = new JTextField(12); gc.gridx = 1; gc.gridy = 2; *************** *** 203,207 **** advancePanel.add(authLab); ! advAuth = new JTextField(15); gc.gridx = 1; gc.gridy = 3; --- 202,206 ---- advancePanel.add(authLab); ! advAuth = new JTextField(12); gc.gridx = 1; gc.gridy = 3; *************** *** 326,329 **** --- 325,329 ---- JLabel resDescr = new JLabel("Test"); boolean resultExist = false; + int cnt = 0; while(rs.next()){ SearchResFoundEvent srf = new SRFoundEventImpl(); *************** *** 335,345 **** collPan2.addResult(srf); resultExist = true; } ! if (resultExist){ tabbedResult.addTab("Result "+(tabbedResult.getTabCount()+1),collPan2); if (tabbedResult.getTabCount()> 1){ tabbedResult.setSelectedIndex(tabbedResult.getTabCount()-1); } ! } stmt.close(); stmt.close(); --- 335,352 ---- collPan2.addResult(srf); resultExist = true; + cnt++; + if (cnt==1){ + tabbedResult.addTab("Result "+(tabbedResult.getTabCount()+1),collPan2); + if (tabbedResult.getTabCount()> 1){ + tabbedResult.setSelectedIndex(tabbedResult.getTabCount()-1); + } + } } ! /* if (resultExist){ tabbedResult.addTab("Result "+(tabbedResult.getTabCount()+1),collPan2); if (tabbedResult.getTabCount()> 1){ tabbedResult.setSelectedIndex(tabbedResult.getTabCount()-1); } ! }*/ stmt.close(); stmt.close(); |
From: <vkd...@us...> - 2004-03-04 22:11:30
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24273/src/java/org/mydm/core Modified Files: LayoutGen.java Log Message: refactoring due to the changed to Metadata Class. (Metadata Class's constructor is made private and all methods are made static) Index: LayoutGen.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/LayoutGen.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** LayoutGen.java 8 Feb 2004 17:13:20 -0000 1.5 --- LayoutGen.java 4 Mar 2004 21:50:01 -0000 1.6 *************** *** 3,6 **** --- 3,7 ---- * Created on Apr 11, 2003 10:03:30 PM * LayoutGen.java + * $Id$ * * Copyright (C) 2003 Vijaya K Dasari *************** *** 41,45 **** public class LayoutGen { ! private final String genname; private final SAXBuilder builder; --- 42,46 ---- public class LayoutGen { ! private final int genid; private final SAXBuilder builder; *************** *** 53,57 **** private HashMap eleToLabel; - private MetaData metadata; private static final Logger log = Logger.getLogger("org.mydm.core.LayoutGen"); --- 54,57 ---- *************** *** 62,68 **** * @param gen genre name. */ ! public LayoutGen(String gen){ ! genname = gen; // stepIdToLabelHash --- 62,68 ---- * @param gen genre name. */ ! public LayoutGen(int gen){ ! genid = gen; // stepIdToLabelHash *************** *** 84,89 **** // Get eleToLabel from Metadata Class ! metadata = MetaData.getInstance(); ! eleToLabel = metadata.getGenreEleHash(genname); Element genres = root.getChild("genres"); --- 84,88 ---- // Get eleToLabel from Metadata Class ! eleToLabel = MetaData.getGenreEleHash(genid); Element genres = root.getChild("genres"); *************** *** 93,97 **** while(iterator.hasNext()){ Element gene = (Element) iterator.next(); ! if(gene.getAttributeValue("name").equals(genname)){ //got through the Genre. genlay = gene.getChild("genlay"); --- 92,96 ---- while(iterator.hasNext()){ Element gene = (Element) iterator.next(); ! if(Integer.parseInt(gene.getAttributeValue("id"))==genid){ //got through the Genre. genlay = gene.getChild("genlay"); |
From: <vkd...@us...> - 2004-03-04 22:11:03
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24209/src/java/org/mydm/core Modified Files: EDocumentFactory.java Log Message: refactoring due to the changed to Metadata Class. (Metadata Class's constructor is made private and all methods are made static) Index: EDocumentFactory.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/EDocumentFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** EDocumentFactory.java 3 Mar 2004 18:58:27 -0000 1.7 --- EDocumentFactory.java 4 Mar 2004 21:49:33 -0000 1.8 *************** *** 38,42 **** public class EDocumentFactory { - private static MetaData md = MetaData.getInstance(); private static final ConnectionPool CP = ConnectionPool.getInstance(); private static Logger log = Logger.getLogger("org.mydm.core.EDocumentFactory"); --- 38,41 ---- *************** *** 57,68 **** } // Get the metadata elements for this genre ! String[] genele = md.getGenreEleAry(rs.getString("type")); // Get the mapping of metadata elements to db elements ! HashMap ETD = md.getAllEleHash(); // set basic information ! edoc.setId(Integer.parseInt(rs.getString("id"))); ! edoc.setCollectionID(Integer.parseInt(rs.getString("collection_ref"))); edoc.setGenreName(rs.getString("type")); --- 56,68 ---- } // Get the metadata elements for this genre ! String[] genele = MetaData.getGenreEleAry(rs.getInt("genre_id")); // Get the mapping of metadata elements to db elements ! HashMap ETD = MetaData.getAllEleHash(); // set basic information ! edoc.setId(rs.getInt("id")); ! edoc.setGenid(rs.getInt("genre_id")); ! edoc.setCollectionID(rs.getInt("collection_ref")); edoc.setGenreName(rs.getString("type")); |
From: <vkd...@us...> - 2004-03-04 22:10:50
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24151/src/java/org/mydm/core Modified Files: EDocument.java Log Message: Refactoring for the Change in Genres model Genres are identified with ID's rather than names Index: EDocument.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/EDocument.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EDocument.java 3 Mar 2004 18:58:27 -0000 1.5 --- EDocument.java 4 Mar 2004 21:49:20 -0000 1.6 *************** *** 61,65 **** private HashMap MDHASH = new HashMap(); private static HashMap MDTODBELE; ! private String genre = null; // Collection ID --- 61,65 ---- private HashMap MDHASH = new HashMap(); private static HashMap MDTODBELE; ! private String genrename; // Collection ID *************** *** 69,74 **** private int id; ! // Instance of the MD ! private static final MetaData md = MetaData.getInstance(); // Array of Author Objects --- 69,74 ---- private int id; ! // Genre ID ! private int genid; // Array of Author Objects *************** *** 104,108 **** */ private void init() { ! MDTODBELE = md.getAllEleHash(); Iterator i = MDTODBELE.entrySet().iterator(); while(i.hasNext()){ --- 104,108 ---- */ private void init() { ! MDTODBELE = MetaData.getAllEleHash(); Iterator i = MDTODBELE.entrySet().iterator(); while(i.hasNext()){ *************** *** 119,123 **** */ public String getGenreName() { ! return genre; } --- 119,123 ---- */ public String getGenreName() { ! return genrename; } *************** *** 128,132 **** */ public void setGenreName(String gen){ ! genre = gen; } --- 128,132 ---- */ public void setGenreName(String gen){ ! genrename = gen; } *************** *** 176,180 **** elevalue = MDHASH.get(ele).toString(); }catch(Exception e){ ! log.warning(ele); } return elevalue; --- 176,181 ---- elevalue = MDHASH.get(ele).toString(); }catch(Exception e){ ! // TODO -- Check this with the elements which are not there ! //log.warning(ele); } return elevalue; *************** *** 418,420 **** --- 419,436 ---- } + /** + * Gets the Genre ID + * @return Returns the genid. + */ + public int getGenid() { + return genid; + } + + /** + * Sets the Genre ID + * @param genid The genid to set. + */ + public void setGenid(int genid) { + this.genid = genid; + } } \ No newline at end of file |
From: <vkd...@us...> - 2004-03-04 22:10:37
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24096/src/java/org/mydm/core Modified Files: EDocTOXML.java Log Message: Refactoring for the Change in Genres model Genres are identified with ID's rather than names Index: EDocTOXML.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/core/EDocTOXML.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EDocTOXML.java 3 Mar 2004 18:58:27 -0000 1.5 --- EDocTOXML.java 4 Mar 2004 21:49:08 -0000 1.6 *************** *** 37,41 **** private final EDocument edoc; - private final MetaData md = MetaData.getInstance(); private final HashMap MDTODBELE; private static Logger log = Logger.getLogger("org.mydm.core.EDocTOXML"); --- 37,40 ---- *************** *** 48,52 **** public EDocTOXML(EDocument edoc){ this.edoc = edoc; ! MDTODBELE = md.getAllEleHash(); } --- 47,51 ---- public EDocTOXML(EDocument edoc){ this.edoc = edoc; ! MDTODBELE = MetaData.getAllEleHash(); } |