From: <de...@us...> - 2012-09-03 22:02:23
|
Revision: 7602 http://fudaa.svn.sourceforge.net/fudaa/?rev=7602&view=rev Author: deniger Date: 2012-09-03 22:02:17 +0000 (Mon, 03 Sep 2012) Log Message: ----------- Modified Paths: -------------- trunk/framework/ebli-1d/src/main/java/org/fudaa/ebli/courbe/EGGraphe.java trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurColorChooserBt.java trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurFont.java Added Paths: ----------- trunk/framework/ebli-1d/nbactions.xml Added: trunk/framework/ebli-1d/nbactions.xml =================================================================== --- trunk/framework/ebli-1d/nbactions.xml (rev 0) +++ trunk/framework/ebli-1d/nbactions.xml 2012-09-03 22:02:17 UTC (rev 7602) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<actions> + <action> + <actionName>CUSTOM-deploy</actionName> + <displayName>deploy</displayName> + <goals> + <goal>deploy</goal> + </goals> + </action> + </actions> Modified: trunk/framework/ebli-1d/src/main/java/org/fudaa/ebli/courbe/EGGraphe.java =================================================================== --- trunk/framework/ebli-1d/src/main/java/org/fudaa/ebli/courbe/EGGraphe.java 2012-09-03 12:44:21 UTC (rev 7601) +++ trunk/framework/ebli-1d/src/main/java/org/fudaa/ebli/courbe/EGGraphe.java 2012-09-03 22:02:17 UTC (rev 7602) @@ -64,8 +64,7 @@ public static final Font DEFAULT_FONT = new Font("SansSerif", Font.PLAIN, 10); /** - * Liste qui contient les parametres d'origines des titres, doit etre relanc\xE9 dans le cas ou l'on ajoute de nouveau - * une legende. + * Liste qui contient les parametres d'origines des titres, doit etre relanc\xE9 dans le cas ou l'on ajoute de nouveau une legende. */ HashMap<EGCourbe, String> listeTitlesOrigins_ = new HashMap<EGCourbe, String>(); @@ -728,11 +727,17 @@ public void structureChanged() { structureChanged(false); } + boolean restoring; public void structureChanged(final boolean _restore) { setXRangeIsModified(); if (autoRestore_ || _restore) { + if (restoring) { + return; + } + restoring = true; restore(); + restoring = false; } else { fullRepaint(); } @@ -932,7 +937,7 @@ final int height = (int) (transformer_.getHSansMarges() * factor / 2); /* * int width = (int) (factor getWidth() / 2); int height = (int) (factor getHeight() / 2); - */ setZoomOn(new Point(x + width, y + height), new Point(x - width, y - height)); + */ setZoomOn(new Point(x + width, y + height), new Point(x - width, y - height)); } Modified: trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurColorChooserBt.java =================================================================== --- trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurColorChooserBt.java 2012-09-03 12:44:21 UTC (rev 7601) +++ trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurColorChooserBt.java 2012-09-03 22:02:17 UTC (rev 7602) @@ -35,7 +35,6 @@ public class BSelecteurColorChooserBt extends BSelecteurAbstract implements ActionListener { TraceIconButton bt_; - boolean useInvisible_; protected class PopupButton extends CtuluButtonForPopup { @@ -62,9 +61,7 @@ public BSelecteurColorChooserBt(final boolean _invisible) { this(_invisible, BSelecteurColorChooser.DEFAULT_PROPERTY); } - BuPanel pn_; - private PopupButton popupButton; public BSelecteurColorChooserBt(final String _prop) { @@ -82,7 +79,6 @@ popupButton = new PopupButton(); pn_.add(popupButton); pn_.addPropertyChangeListener("enabled", new PropertyChangeListener() { - public void propertyChange(PropertyChangeEvent evt) { bt_.setEnabled(pn_.isEnabled()); popupButton.setEnabled(pn_.isEnabled()); @@ -109,6 +105,10 @@ CtuluLibSwing.setEnable(pn_, _b); } + public BuPanel getPanel() { + return pn_; + } + public JComponent[] getComponents() { return createComponents(pn_); } @@ -121,5 +121,4 @@ public BuPanel getPn() { return pn_; } - } Modified: trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurFont.java =================================================================== --- trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurFont.java 2012-09-03 12:44:21 UTC (rev 7601) +++ trunk/framework/ebli-common/src/main/java/org/fudaa/ebli/controle/BSelecteurFont.java 2012-09-03 22:02:17 UTC (rev 7602) @@ -44,7 +44,6 @@ d.setVisible(true); } - public BuButton bt_ = new BuButton(); public BSelecteurFont(final String _property) { @@ -63,11 +62,13 @@ if (f != null) { bt_.setFont(f); } + } + public BuButton getButton() { + return bt_; } public JComponent[] getComponents() { return super.createComponents(bt_); } - } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |