|
From: <de...@us...> - 2009-10-15 18:30:31
|
Revision: 5281
http://fudaa.svn.sourceforge.net/fudaa/?rev=5281&view=rev
Author: deniger
Date: 2009-10-15 18:30:21 +0000 (Thu, 15 Oct 2009)
Log Message:
-----------
Modified Paths:
--------------
trunk/business/dodico-corba/pom.xml
trunk/business/fudaa-common-corba/pom.xml
Removed Paths:
-------------
trunk/business/fudaa-common-corba/src/main/java/org/fudaa/fudaa/commun/projet/FudaaProjetInformationPanel.java
Property Changed:
----------------
trunk/business/dodico-h2d/
trunk/business/dodico-h2d/core/
trunk/business/dodico-h2d/io/
Modified: trunk/business/dodico-corba/pom.xml
===================================================================
--- trunk/business/dodico-corba/pom.xml 2009-10-15 18:22:55 UTC (rev 5280)
+++ trunk/business/dodico-corba/pom.xml 2009-10-15 18:30:21 UTC (rev 5281)
@@ -7,8 +7,8 @@
</properties>
<parent>
<groupId>org.fudaa.pom</groupId>
- <artifactId>business</artifactId>
- <version>0.2</version>
+ <artifactId>business-pom</artifactId>
+ <version>0.3</version>
</parent>
<groupId>org.fudaa.business</groupId>
<artifactId>dodico-corba</artifactId>
Property changes on: trunk/business/dodico-h2d
___________________________________________________________________
Added: svn:ignore
+ .project
target
Property changes on: trunk/business/dodico-h2d/core
___________________________________________________________________
Added: svn:ignore
+ target
.classpath
.project
Property changes on: trunk/business/dodico-h2d/io
___________________________________________________________________
Added: svn:ignore
+ .classpath
.project
target
Modified: trunk/business/fudaa-common-corba/pom.xml
===================================================================
--- trunk/business/fudaa-common-corba/pom.xml 2009-10-15 18:22:55 UTC (rev 5280)
+++ trunk/business/fudaa-common-corba/pom.xml 2009-10-15 18:30:21 UTC (rev 5281)
@@ -7,8 +7,8 @@
</properties>
<parent>
<groupId>org.fudaa.pom</groupId>
- <artifactId>business</artifactId>
- <version>0.2</version>
+ <artifactId>business-pom</artifactId>
+ <version>0.3</version>
</parent>
<groupId>org.fudaa.business</groupId>
<artifactId>fudaa-common-corba</artifactId>
Deleted: trunk/business/fudaa-common-corba/src/main/java/org/fudaa/fudaa/commun/projet/FudaaProjetInformationPanel.java
===================================================================
--- trunk/business/fudaa-common-corba/src/main/java/org/fudaa/fudaa/commun/projet/FudaaProjetInformationPanel.java 2009-10-15 18:22:55 UTC (rev 5280)
+++ trunk/business/fudaa-common-corba/src/main/java/org/fudaa/fudaa/commun/projet/FudaaProjetInformationPanel.java 2009-10-15 18:30:21 UTC (rev 5281)
@@ -1,101 +0,0 @@
-/*
- * @file FudaaProjetInformationPanel.java
- * @creation 23 mars 2004
- * @modification $Date: 2006-10-19 13:55:16 $
- * @license GNU General Public License 2
- * @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne
- * @mail fud...@li...
- */
-package org.fudaa.fudaa.commun.projet;
-
-import java.awt.Frame;
-
-import com.memoire.bu.BuBorderLayout;
-import com.memoire.bu.BuGridLayout;
-import com.memoire.bu.BuInformationsDocument;
-import com.memoire.bu.BuPanel;
-import com.memoire.bu.BuScrollPane;
-import com.memoire.bu.BuTextArea;
-import com.memoire.bu.BuTextField;
-
-import org.fudaa.ctulu.gui.CtuluDialogPanel;
-
-import org.fudaa.fudaa.commun.FudaaLib;
-
-/**
- * @author Fred Deniger
- * @version $Id: FudaaProjetInformationPanel.java,v 1.7 2006-10-19 13:55:16 deniger Exp $
- */
-public class FudaaProjetInformationPanel extends CtuluDialogPanel {
-
- BuInformationsDocument d_;
- BuTextField author_;
- BuTextField date_;
- BuTextArea com_;
-
- /**
- * @param _d les infos non nulles
- */
- public FudaaProjetInformationPanel(final BuInformationsDocument _d) {
- super();
- d_ = _d;
- addEmptyBorder(10);
- final BuPanel pn = new BuPanel();
- pn.setLayout(new BuGridLayout(2, 5, 5));
- author_ = addLabelStringText(pn, FudaaLib.getS("Auteur"));
- author_.setText(d_.author);
- date_ = addLabelStringText(pn, FudaaLib.getS("Date"));
- date_.setText(d_.date);
- setLayout(new BuBorderLayout(10, 10));
- add(pn, BuBorderLayout.CENTER);
- com_ = new BuTextArea();
- com_.setText(d_.comment);
- add(new BuScrollPane(com_), BuBorderLayout.SOUTH);
- }
-
- /**
- * @return les nouvelles info sur le doc si modifie. null sinon
- */
- public BuInformationsDocument getModifyDoc(){
- boolean change = false;
- if (!d_.author.equals(author_.getText().trim())) {
- change = true;
- }
- else if (!d_.date.equals(date_.getText().trim())) {
- change = true;
- }
- else if (!d_.comment.equals(com_.getText().trim())) {
- change = true;
- }
- if (change) {
- final BuInformationsDocument r = new BuInformationsDocument();
- r.author = author_.getText().trim();
- r.date = date_.getText().trim();
- r.comment = com_.getText().trim();
- return r;
- }
- return null;
- }
-
- /**
- * @param _f la fenetre
- * @param _init le document init
- * @return le doc modifie ou nul si pas de modif
- */
- public static BuInformationsDocument editInfoDoc(final Frame _f,final BuInformationsDocument _init){
- BuInformationsDocument init = _init;
- if (init == null) {
- init = new BuInformationsDocument();
- }
- final FudaaProjetInformationPanel pn = new FudaaProjetInformationPanel(init);
- if (CtuluDialogPanel.isOkResponse(pn.afficheModale(_f))) {
- final BuInformationsDocument d = pn.getModifyDoc();
- if (d != null) {
- return d;
- } else if (_init == null) {
- return init;
- }
- }
- return null;
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|