Update of /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/calque
In directory sc8-pr-cvs1:/tmp/cvs-serv6613/calque
Modified Files:
ZCalqueAffichageDonnees.java ZCalquePoint.java
ZEbliFilleCalques.java ZModelePoint.java
Log Message:
Corrections mineures
Index: ZCalqueAffichageDonnees.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/calque/ZCalqueAffichageDonnees.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ZCalqueAffichageDonnees.java 4 Jul 2003 14:32:48 -0000 1.2
--- ZCalqueAffichageDonnees.java 22 Aug 2003 15:55:31 -0000 1.3
***************
*** 47,51 ****
protected Color couleurSelection_ = null;
protected TraceIcone iconeSelection_ = null;
! protected TraceIcone iconeSelectionPartielle_ = null;
public ZCalqueAffichageDonnees()
--- 47,51 ----
protected Color couleurSelection_ = null;
protected TraceIcone iconeSelection_ = null;
! // protected TraceIcone iconeSelectionPartielle_ = null;
public ZCalqueAffichageDonnees()
***************
*** 58,65 ****
}
! public TraceIcone iconeSelectionPartielle()
! {
! return iconeSelectionPartielle_;
! }
/**
--- 58,65 ----
}
! // public TraceIcone iconeSelectionPartielle()
! // {
! // return iconeSelectionPartielle_;
! // }
/**
***************
*** 80,88 ****
}
! protected void initIconeSelectionPartielle()
! {
! if (iconeSelectionPartielle_ == null)
! iconeSelectionPartielle_ = new TraceIcone(TraceIcone.CARRE_PLEIN, 4);
! }
public EbliListeSelection modeleSelection()
--- 80,88 ----
}
! // protected void initIconeSelectionPartielle()
! // {
! // if (iconeSelectionPartielle_ == null)
! // iconeSelectionPartielle_ = new TraceIcone(TraceIcone.CARRE_PLEIN, 4);
! // }
public EbliListeSelection modeleSelection()
Index: ZCalquePoint.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/calque/ZCalquePoint.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ZCalquePoint.java 4 Jul 2003 14:32:48 -0000 1.2
--- ZCalquePoint.java 22 Aug 2003 15:55:31 -0000 1.3
***************
*** 14,18 ****
import javax.swing.Icon;
! import org.fudaa.ebli.commun.*;
import org.fudaa.ebli.geometrie.GrBoite;
import org.fudaa.ebli.geometrie.GrMorphisme;
--- 14,18 ----
import javax.swing.Icon;
! import org.fudaa.ebli.commun.EbliListeSelection;
import org.fudaa.ebli.geometrie.GrBoite;
import org.fudaa.ebli.geometrie.GrMorphisme;
***************
*** 21,24 ****
--- 21,26 ----
import org.fudaa.ebli.palette.BPaletteCouleur;
import org.fudaa.ebli.palette.BPaletteIcone;
+ import org.fudaa.ebli.trace.TraceIcone;
+ import org.fudaa.ebli.trace.TracePoint;
/**
***************
*** 42,52 ****
public ZCalquePoint()
{
! super();
}
public ZCalquePoint(ZModelePoint _modele)
{
! this();
modele(_modele);
}
--- 44,57 ----
public ZCalquePoint()
{
! this(null);
!
!
}
public ZCalquePoint(ZModelePoint _modele)
{
! super();
modele(_modele);
+ setIcone(new TraceIcone(TracePoint.POINT,1));
}
Index: ZEbliFilleCalques.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/calque/ZEbliFilleCalques.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ZEbliFilleCalques.java 4 Jul 2003 14:32:48 -0000 1.5
--- ZEbliFilleCalques.java 22 Aug 2003 15:55:31 -0000 1.6
***************
*** 108,114 ****
private BGroupeCalque cqAdmin_;
/** */
! private BCalquePositionnementInteraction cqDepVueI_;
/** */
! private BCalqueRepereInteraction cqZoomI_;
/** */
--- 108,114 ----
private BGroupeCalque cqAdmin_;
/** */
! protected BCalquePositionnementInteraction cqDepVueI_;
/** */
! protected BCalqueRepereInteraction cqZoomI_;
/** */
***************
*** 138,145 ****
protected JComponent[] specificTools_;
! private ArrayList specificToolsList_;
// private SpecificToolsManager specificToolsManager_;
private AbstractButton[] btSelection_;
! private ViewPreferences specificToolsPrefView_;
private AbstractButton[] enableButtons_;
--- 138,145 ----
protected JComponent[] specificTools_;
! protected ArrayList specificToolsList_;
// private SpecificToolsManager specificToolsManager_;
private AbstractButton[] btSelection_;
! protected ViewPreferences specificToolsPrefView_;
private AbstractButton[] enableButtons_;
***************
*** 205,210 ****
* @param _vc la vue calque associee
* @param _arbre l'arbre associe
- * @param _groupSelection si true ce groupe sera construit. idem pour les
- * autres
* @param _appli l'appli associee
* @param _id les informations eventuelles du document.
--- 205,208 ----
***************
*** 364,368 ****
}
! private String getPreferencesVisibleKey(JComponent _ab)
{
String pref = getPreferencesKey(_ab);
--- 362,366 ----
}
! protected String getPreferencesVisibleKey(JComponent _ab)
{
String pref = getPreferencesKey(_ab);
***************
*** 373,377 ****
}
! private boolean isPreferencesVisible(JComponent _ab)
{
String pref = getPreferencesVisibleKey(_ab);
--- 371,375 ----
}
! protected boolean isPreferencesVisible(JComponent _ab)
{
String pref = getPreferencesVisibleKey(_ab);
***************
*** 379,383 ****
}
! private void writePreferences()
{
EbliPreferences.EBLI.writeIniFile();
--- 377,381 ----
}
! protected void writePreferences()
{
EbliPreferences.EBLI.writeIniFile();
***************
*** 450,454 ****
}
! private void applyPreferences()
{
fireInternalFrameEvent(InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED);
--- 448,452 ----
}
! protected void applyPreferences()
{
fireInternalFrameEvent(InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED);
***************
*** 754,758 ****
}
! private void showViewPreferences()
{
if(EbliLib.DEBUG) System.out.println("ViewPreferences ok");
--- 752,756 ----
}
! protected void showViewPreferences()
{
if(EbliLib.DEBUG) System.out.println("ViewPreferences ok");
***************
*** 1173,1178 ****
/**
! * Renvoie les enableButtons : ce sont les boutons qui seront actives ou non avec le changement de calque.
! * La methode </code>getEnabledSpecificTools()</code> de <code>BCalque</code> est utilisee pour les determiner.
* Cette methode peut-être redefinie pour modifier les outils a activer ou non.
*
--- 1171,1178 ----
/**
! * Renvoie les enableButtons : ce sont les boutons qui seront actives ou non
! * avec le changement de calque.
! * La methode </code>getEnabledSpecificTools()</code> de <code>BCalque</code>
! * est utilisee pour les determiner.
* Cette methode peut-être redefinie pour modifier les outils a activer ou non.
*
***************
*** 1441,1445 ****
public void apply()
{
- System.out.println("apply");
savePref(model_.button_);
model_.button_.clear();
--- 1441,1444 ----
Index: ZModelePoint.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ebli/src/org/fudaa/ebli/calque/ZModelePoint.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ZModelePoint.java 30 Jan 2003 10:56:50 -0000 1.1
--- ZModelePoint.java 22 Aug 2003 15:55:31 -0000 1.2
***************
*** 21,32 ****
{
- /**
- * Instancie un point et le renvoie.
- *
- * @param _i
- * @return nouveau point
- */
- //GrPoint point(int _i);
-
/**
--- 21,24 ----
|