Remove Java useless depencies/import 51/12651/2
Bruno JOFRET [Tue, 24 Sep 2013 15:12:59 +0000 (17:12 +0200)]
Change-Id: Id3e4d15b58195e9366596f826fdacbf2aa06bca7

85 files changed:
scilab/modules/commons/src/java/org/scilab/modules/commons/ScilabGeneralPrefs.java
scilab/modules/commons/src/java/org/scilab/modules/commons/xml/XConfiguration.java
scilab/modules/console/src/java/org/scilab/modules/console/SciConsole.java
scilab/modules/console/src/java/org/scilab/modules/console/SciInputCommandView.java
scilab/modules/console/src/java/org/scilab/modules/console/SciOutputView.java
scilab/modules/core/src/java/org/scilab/modules/core/ConsoleTab.java
scilab/modules/core/src/java/org/scilab/modules/core/Scilab.java
scilab/modules/graph/src/java/org/scilab/modules/graph/ScilabComponent.java
scilab/modules/graph/src/java/org/scilab/modules/graph/actions/base/GraphActionManager.java
scilab/modules/graph/src/java/org/scilab/modules/graph/io/ScilabObjectCodec.java
scilab/modules/graph/src/java/org/scilab/modules/graph/shape/LatexTextShape.java
scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/graphicModel/GraphicModel.java
scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/utils/MenuBarBuilder.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/filechooser/SwingScilabExportFileChooser.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/helpbrowser/SwingScilabHelpBrowserViewer.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/slider/SwingScilabSlider.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/uidisplaytree/SwingScilabUiDisplayTree.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/waitbar/SwingScilabWaitBar.java
scilab/modules/gui/src/java/org/scilab/modules/gui/events/GlobalMouseEventWatcher.java
scilab/modules/gui/src/java/org/scilab/modules/gui/messagebox/ScilabMessageBox.java
scilab/modules/gui/src/java/org/scilab/modules/gui/messagebox/ScilabMessageBoxBridge.java
scilab/modules/gui/src/java/org/scilab/modules/gui/tree/ScilabDisplayTree.java
scilab/modules/gui/src/java/org/scilab/modules/gui/utils/BarUpdater.java
scilab/modules/gui/src/java/org/scilab/modules/gui/utils/ConfigManager.java
scilab/modules/gui/src/java/org/scilab/modules/gui/utils/ScilabPrintStream.java
scilab/modules/gui/src/java/org/scilab/modules/gui/utils/WebBrowser.java
scilab/modules/gui/src/java/org/scilab/modules/gui/utils/WindowsConfigurationManager.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/external/ExternalXMLHandler.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/external/HTMLSVGHandler.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/image/ImageConverter.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/scilab/HTMLScilabCodeHandler.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/scilab/HTMLWithStyleScilabCodeHandler.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/scilab/ScilabCodeServer.java
scilab/modules/helptools/src/java/org/scilab/modules/helptools/scilab/ScilabLexer.java
scilab/modules/history_manager/src/java/org/scilab/modules/history_manager/HistoryPrefs.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/axes/AxesDrawer.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/axes/ruler/AxesRulerDrawer.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/interaction/TwoPointsRubberBox.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/util/BufferAllocation.java
scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/util/TextObjectSpriteDrawer.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/G2DCanvasFactory.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/G2DDrawingTools.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/buffers/G2DIndicesBuffer.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/clipping/G2DClippingPlane.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/motor/DrawTools.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/motor/G2DStroke.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/motor/Motor3D.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/motor/Segment.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/motor/Triangle.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/texture/G2DTextureManager.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/texture/JoGLTextureManager.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/ruler/graduations/LinearGraduations.java
scilab/modules/types/src/java/org/scilab/modules/types/ScilabDouble.java
scilab/modules/types/src/java/org/scilab/modules/types/ScilabVariables.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/datatable/SwingEditvarTableModel.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/filebrowser/FileNode.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/filebrowser/ScilabFileBrowserComponent.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/filebrowser/ScilabFileBrowserModel.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/filebrowser/ScilabTreeTableModelAdapter.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/rowheader/HeaderRenderer.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/rowheader/RowHeader.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/rowheader/RowHeaderCellEditor.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/rowheader/RowHeaderRenderer.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variablebrowser/SwingScilabVariableBrowser.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variablebrowser/actions/DeleteAction.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variablebrowser/actions/ModifyAction.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variablebrowser/rowfilter/VariableBrowserRowDataFilter.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/SwingScilabVariableEditor.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/TableVariableEditor.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/VariableEditor.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/actions/ExportToCsvAction.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/actions/ExportToCsvFromSelectionAction.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/renderers/ScilabSparseRenderer.java
scilab/modules/ui_data/src/java/org/scilab/modules/ui_data/variableeditor/undo/CellsUndoableEdit.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/DiagramBackgroundAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/InitModelicaAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/XcosCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/Palette.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/PreLoadedElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteManagerMouseListener.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteTreeTransferHandler.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteBlockView.java

index 8c9a68a..2da76ca 100644 (file)
 package org.scilab.modules.commons;
 
 import java.awt.Font;
-import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 
 import org.w3c.dom.Document;
 
-import org.scilab.modules.commons.xml.ScilabXMLUtilities;
 import org.scilab.modules.commons.xml.XConfiguration;
 import org.scilab.modules.commons.xml.XConfigurationEvent;
 import org.scilab.modules.commons.xml.XConfigurationListener;
index 31f7f84..1c6c8f0 100644 (file)
@@ -57,7 +57,6 @@ import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
-import org.scilab.modules.commons.ScilabCommons;
 import org.scilab.modules.commons.ScilabConstants;
 import org.scilab.modules.commons.ScilabGeneralPrefs;
 import org.scilab.modules.commons.gui.ScilabKeyStroke;
index 0f3030f..57d775b 100644 (file)
@@ -17,25 +17,21 @@ import java.awt.Color;
 import java.awt.Cursor;
 import java.awt.Dimension;
 import java.awt.Font;
-import java.awt.Point;
 import java.awt.event.ComponentAdapter;
 import java.awt.event.ComponentEvent;
 import java.io.IOException;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
-import java.util.Iterator;
 import java.util.Map;
 import java.util.concurrent.Semaphore;
 
 import javax.swing.BoundedRangeModel;
 import javax.swing.DefaultBoundedRangeModel;
-import javax.swing.JLabel;
 import javax.swing.JPanel;
 import javax.swing.JScrollPane;
 import javax.swing.JEditorPane;
 import javax.swing.JTextPane;
-import javax.swing.JViewport;
 import javax.swing.SwingUtilities;
 import javax.swing.text.BadLocationException;
 import javax.swing.text.Document;
index 4acbcba..c801cee 100644 (file)
@@ -43,7 +43,6 @@ import javax.swing.event.CaretListener;
 import javax.swing.event.DocumentEvent;
 import javax.swing.event.DocumentListener;
 import javax.swing.text.BadLocationException;
-import javax.swing.text.DefaultCaret;
 import javax.swing.text.Element;
 import javax.swing.text.PlainView;
 import javax.swing.text.StyledEditorKit;
index 7263c9c..c79afed 100644 (file)
@@ -13,7 +13,6 @@
 package org.scilab.modules.console;
 
 import java.awt.Container;
-import java.awt.Dimension;
 import java.awt.Toolkit;
 import java.awt.datatransfer.Clipboard;
 import java.awt.datatransfer.DataFlavor;
@@ -32,8 +31,6 @@ import java.util.concurrent.BlockingQueue;
 
 import javax.swing.BorderFactory;
 import javax.swing.JEditorPane;
-import javax.swing.JPanel;
-import javax.swing.JScrollPane;
 import javax.swing.JTextPane;
 import javax.swing.SwingUtilities;
 import javax.swing.text.BadLocationException;
index d3a8a22..bb90ad0 100644 (file)
@@ -20,7 +20,6 @@ import javax.swing.JTextArea;
 
 import org.scilab.modules.commons.ScilabCommonsUtils;
 import org.scilab.modules.commons.ScilabConstants;
-import org.scilab.modules.graphic_objects.utils.MenuBarBuilder;
 import org.scilab.modules.gui.ScilabTermination;
 import org.scilab.modules.gui.bridge.CallScilabBridge;
 import org.scilab.modules.gui.bridge.tab.SwingScilabTab;
index 05c05db..bf483c0 100644 (file)
@@ -39,9 +39,6 @@ import org.scilab.modules.gui.bridge.tab.SwingScilabTab;
 import org.scilab.modules.gui.bridge.window.SwingScilabWindow;
 import org.scilab.modules.gui.console.ScilabConsole;
 import org.scilab.modules.gui.tabfactory.ScilabTabFactory;
-import org.scilab.modules.gui.textbox.ScilabTextBox;
-import org.scilab.modules.gui.textbox.TextBox;
-import org.scilab.modules.gui.toolbar.ToolBar;
 import org.scilab.modules.gui.utils.ClosingOperationsManager;
 import org.scilab.modules.gui.utils.ConfigManager;
 import org.scilab.modules.gui.utils.LookAndFeelManager;
index ab65b14..15447e9 100644 (file)
@@ -17,8 +17,6 @@ import java.awt.Dimension;
 import java.awt.Graphics;
 import java.awt.GraphicsEnvironment;
 
-import javax.swing.JScrollBar;
-
 import com.mxgraph.model.mxICell;
 import com.mxgraph.model.mxIGraphModel;
 import com.mxgraph.swing.mxGraphComponent;
index 3014eb3..a4b3c12 100644 (file)
@@ -14,8 +14,6 @@ package org.scilab.modules.graph.actions.base;
 
 import java.lang.reflect.InvocationTargetException;
 import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
index 6830fc3..9ddb839 100644 (file)
@@ -12,8 +12,6 @@
 
 package org.scilab.modules.graph.io;
 
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
 import java.util.HashSet;
 import java.util.Map;
 
@@ -22,7 +20,6 @@ import org.scilab.modules.types.ScilabDouble;
 import org.scilab.modules.types.ScilabInteger;
 import org.scilab.modules.types.ScilabList;
 import org.scilab.modules.types.ScilabString;
-import org.scilab.modules.types.ScilabType;
 import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
 
index a016fee..a4c495c 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.graph.shape;
 
 import java.awt.Color;
 import java.awt.Graphics2D;
-import java.awt.Rectangle;
 import java.awt.geom.AffineTransform;
 import java.util.Map;
 
index 0ac7407..9f6c88e 100644 (file)
@@ -22,7 +22,6 @@ import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProp
 import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_MNEMONIC__;
 import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_SEPARATOR__;
 import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UIMENU__;
-import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_VISIBLE__;
 
 import java.io.File;
 import java.io.IOException;
index 3e8223a..1c4df15 100644 (file)
@@ -18,7 +18,6 @@ import java.io.File;
 import java.util.ArrayList;
 
 import javax.swing.BorderFactory;
-import javax.swing.JComponent;
 import javax.swing.JFileChooser;
 import javax.swing.JOptionPane;
 import javax.swing.JPanel;
@@ -27,7 +26,6 @@ import javax.swing.border.TitledBorder;
 
 import org.scilab.modules.graphic_export.FileExporter;
 import org.scilab.modules.gui.tab.SimpleTab;
-import org.scilab.modules.gui.tab.Tab;
 import org.scilab.modules.gui.utils.ConfigManager;
 import org.scilab.modules.localization.Messages;
 import org.scilab.modules.renderer.JoGLView.DrawerVisitor;
index da3aab7..6cde6a9 100644 (file)
@@ -63,7 +63,6 @@ import org.scilab.modules.gui.console.ScilabConsole;
 import org.scilab.modules.gui.helpbrowser.ScilabHelpBrowser;
 import org.scilab.modules.gui.messagebox.ScilabModalDialog;
 import org.scilab.modules.gui.tab.SimpleTab;
-import org.scilab.modules.gui.tab.Tab;
 import org.scilab.modules.gui.utils.ConfigManager;
 import org.scilab.modules.gui.utils.WebBrowser;
 import org.scilab.modules.localization.Messages;
index 231faf5..b9d7e76 100644 (file)
@@ -21,7 +21,6 @@ import java.awt.event.AdjustmentEvent;
 import java.awt.event.AdjustmentListener;
 
 import javax.swing.JScrollBar;
-import javax.swing.SwingUtilities;
 
 import org.scilab.modules.graphic_objects.graphicController.GraphicController;
 import org.scilab.modules.gui.SwingViewWidget;
index e29140b..45c408a 100644 (file)
@@ -13,13 +13,9 @@ package org.scilab.modules.gui.bridge.uidisplaytree;
 
 import java.awt.Color;
 import java.awt.Font;
-import java.awt.Dimension;
 
 import javax.swing.JLabel;
 import javax.swing.JScrollPane;
-import javax.swing.SwingUtilities;
-
-import java.util.StringTokenizer;
 
 import org.scilab.modules.gui.events.callback.CommonCallBack;
 import org.scilab.modules.gui.uidisplaytree.SimpleUiDisplayTree;
@@ -32,9 +28,7 @@ import org.scilab.modules.gui.utils.ScilabAlignment;
 import org.scilab.modules.gui.utils.ScilabRelief;
 import org.scilab.modules.gui.utils.ScilabSwingUtilities;
 import org.scilab.modules.gui.utils.Size;
-import org.scilab.modules.gui.tree.ScilabTree;
 import org.scilab.modules.gui.bridge.tree.SwingScilabTree;
-import org.scilab.modules.gui.tree.Tree;
 import org.scilab.modules.gui.tree.ScilabDisplayTree;
 
 /**
index de218a1..d75415a 100644 (file)
@@ -15,7 +15,6 @@ package org.scilab.modules.gui.bridge.waitbar;
 import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_MESSAGE__;
 import static org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties.__GO_UI_VALUE__;
 
-import java.awt.Color;
 import java.awt.Component;
 import java.awt.Dimension;
 import java.awt.GridBagConstraints;
index fada424..f3153d5 100644 (file)
@@ -17,7 +17,6 @@ import java.awt.AWTEvent;
 import java.awt.event.AWTEventListener;
 import java.awt.event.MouseEvent;
 
-import org.scilab.modules.gui.utils.Debug;
 import org.scilab.modules.gui.utils.SciTranslator;
 
 /**
index 4ea3e90..e955e57 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.gui.messagebox;
 
 import org.scilab.modules.gui.bridge.ScilabBridge;
 import org.scilab.modules.gui.tab.SimpleTab;
-import org.scilab.modules.gui.tab.Tab;
 import org.scilab.modules.gui.uielement.ScilabUIElement;
 import org.scilab.modules.gui.utils.Position;
 import org.scilab.modules.gui.utils.Size;
index 8c6820c..de0ae27 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.gui.messagebox;
 
 import org.scilab.modules.gui.bridge.messagebox.SwingScilabMessageBox;
 import org.scilab.modules.gui.tab.SimpleTab;
-import org.scilab.modules.gui.tab.Tab;
 
 /**
  * Bridge dedicated to Scilab Message Boxes
index 615f9fd..67be39a 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.gui.tree;
 
 import java.util.StringTokenizer;
 import java.util.Hashtable;
-import org.scilab.modules.gui.bridge.uidisplaytree.SwingScilabUiDisplayTree;
 
 /**
  * Display a graphical tree
index c382739..f7d8948 100644 (file)
@@ -20,7 +20,6 @@ import java.beans.PropertyChangeListener;
 import org.flexdock.docking.props.DockablePropertySet;
 import org.flexdock.docking.props.PropertyChangeListenerFactory;
 import org.scilab.modules.commons.OS;
-import org.scilab.modules.commons.ScilabCommons;
 import org.scilab.modules.gui.bridge.tab.SwingScilabTab;
 import org.scilab.modules.gui.bridge.window.SwingScilabWindow;
 import org.scilab.modules.gui.menubar.MenuBar;
index 20179d8..43240b8 100644 (file)
@@ -14,31 +14,13 @@ package org.scilab.modules.gui.utils;
 
 import java.awt.Color;
 import java.awt.Font;
-import java.awt.Toolkit;
 import java.io.File;
-import java.io.IOException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerFactoryConfigurationError;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.scilab.modules.commons.ScilabCommons;
+
 import org.scilab.modules.commons.ScilabCommonsUtils;
 import org.scilab.modules.commons.ScilabConstants;
 import org.scilab.modules.commons.xml.ScilabXMLUtilities;
-import org.scilab.modules.commons.xml.ScilabDocumentBuilderFactory;
-import org.scilab.modules.commons.xml.ScilabTransformerFactory;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
 
 /**
  * Management of the Console configuration file
index 297cdd7..d9dbfe3 100644 (file)
@@ -17,7 +17,6 @@ import java.io.OutputStream;
 import java.io.PrintStream;
 
 import org.scilab.modules.gui.bridge.CallScilabBridge;
-import org.scilab.modules.gui.console.ScilabConsole;
 
 /**
  * @author Calixte DENIZET
index 44f2093..6dc9fb1 100644 (file)
@@ -13,9 +13,7 @@
 package org.scilab.modules.gui.utils;
 
 import java.awt.Desktop;
-import java.io.IOException;
 import java.net.URI;
-import java.net.URISyntaxException;
 import java.net.URL;
 import java.util.Set;
 
index 3e6b930..71dc665 100644 (file)
@@ -12,7 +12,6 @@
 
 package org.scilab.modules.gui.utils;
 
-import java.awt.Component;
 import java.awt.Dimension;
 import java.awt.GraphicsDevice;
 import java.awt.GraphicsEnvironment;
@@ -41,8 +40,6 @@ import org.flexdock.docking.activation.ActiveDockableTracker;
 import org.flexdock.docking.state.LayoutNode;
 import org.flexdock.perspective.persist.xml.LayoutNodeSerializer;
 import org.flexdock.perspective.persist.xml.PersistenceConstants;
-import org.flexdock.util.SwingUtility;
-import org.scilab.modules.commons.ScilabCommons;
 import org.scilab.modules.commons.ScilabCommonsUtils;
 import org.scilab.modules.commons.ScilabConstants;
 import org.scilab.modules.commons.xml.ScilabXMLUtilities;
@@ -55,8 +52,6 @@ import org.scilab.modules.gui.bridge.window.SwingScilabWindow;
 import org.scilab.modules.gui.console.ScilabConsole;
 import org.scilab.modules.gui.tab.Tab;
 import org.scilab.modules.gui.tabfactory.ScilabTabFactory;
-import org.scilab.modules.gui.window.ScilabWindow;
-import org.scilab.modules.gui.window.Window;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.NodeList;
index 427b365..ecb0b55 100644 (file)
@@ -20,7 +20,6 @@ import org.xml.sax.Attributes;
 import org.xml.sax.Locator;
 
 import org.scilab.modules.helptools.HTMLDocbookTagConverter;
-import org.scilab.modules.helptools.image.ImageConverter;
 
 /**
  * Handle the included SVG code
index 59bcf82..819f93f 100644 (file)
@@ -32,7 +32,6 @@ import javax.imageio.ImageIO;
 import javax.swing.Icon;
 
 import org.scilab.modules.commons.ScilabCommonsUtils;
-import org.scilab.modules.helptools.Converter;
 import org.scilab.modules.helptools.DocbookTagConverter;
 
 /**
index 7ded3ad..ba26683 100644 (file)
@@ -16,7 +16,6 @@ import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
-import java.util.Map;
 
 public class HTMLScilabCodeHandler extends AbstractScilabCodeHandler {
 
index bb5cfe8..860c72b 100644 (file)
@@ -16,7 +16,6 @@ import java.io.BufferedReader;
 import java.io.InputStreamReader;
 import java.io.IOException;
 import java.io.Reader;
-import java.io.BufferedWriter;
 import java.io.OutputStreamWriter;
 import java.io.Writer;
 import java.net.Socket;
index 811367c..83a4c6d 100644 (file)
@@ -4,13 +4,10 @@
 
 package org.scilab.modules.helptools.scilab;
 
-import java.util.Arrays;
 import java.util.Set;
-import java.util.Map;
 import java.util.HashSet;
 import java.util.List;
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.io.BufferedReader;
 import java.io.FileReader;
 import java.io.Reader;
index 97d1554..7699480 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.history_manager;
 
 import org.w3c.dom.Document;
 
-import org.scilab.modules.commons.xml.ScilabXMLUtilities;
 import org.scilab.modules.commons.xml.XConfiguration;
 import org.scilab.modules.commons.xml.XConfigurationEvent;
 import org.scilab.modules.commons.xml.XConfigurationListener;
index 0022d65..0b5d133 100644 (file)
@@ -2,7 +2,6 @@ package org.scilab.modules.renderer.JoGLView;
 
 import org.scilab.forge.scirenderer.DrawingTools;
 import org.scilab.forge.scirenderer.SciRendererException;
-import org.scilab.forge.scirenderer.data.AbstractDataProvider;
 import org.scilab.forge.scirenderer.shapes.appearance.Appearance;
 import org.scilab.forge.scirenderer.shapes.geometry.DefaultGeometry;
 import org.scilab.forge.scirenderer.shapes.geometry.Geometry;
index 320a157..3a34f47 100644 (file)
@@ -12,7 +12,6 @@
 package org.scilab.modules.renderer.JoGLView;
 
 import org.scilab.forge.scirenderer.Canvas;
-import org.scilab.forge.scirenderer.data.AbstractDataProvider;
 import org.scilab.forge.scirenderer.texture.AbstractTextureDataProvider;
 import org.scilab.forge.scirenderer.texture.Texture;
 import org.scilab.modules.graphic_objects.MainDataLoader;
index 3b9f59f..040dcf3 100644 (file)
@@ -12,7 +12,6 @@
 
 package org.scilab.modules.renderer.JoGLView.axes;
 
-import org.scilab.forge.scirenderer.Canvas;
 import org.scilab.forge.scirenderer.DrawingTools;
 import org.scilab.forge.scirenderer.SciRendererException;
 import org.scilab.forge.scirenderer.clipping.ClippingPlane;
index 612e495..23e9d3a 100644 (file)
@@ -38,7 +38,6 @@ import org.scilab.modules.renderer.JoGLView.axes.AxesDrawer;
 import org.scilab.modules.renderer.JoGLView.label.AxisLabelPositioner;
 import org.scilab.modules.renderer.JoGLView.util.ColorFactory;
 
-import java.awt.Color;
 import java.nio.FloatBuffer;
 import java.text.DecimalFormat;
 import java.util.Arrays;
index 90fb507..60e3a65 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.renderer.JoGLView.util;
 import com.jogamp.opengl.util.GLBuffers;
 
 import java.nio.ByteBuffer;
-import java.nio.ByteOrder;
 import java.nio.FloatBuffer;
 import java.nio.IntBuffer;
 
index cf69ec2..c407124 100644 (file)
@@ -19,7 +19,6 @@ import javax.swing.Icon;
 
 import org.scilab.forge.jlatexmath.TeXConstants;
 import org.scilab.forge.jlatexmath.TeXFormula;
-import org.scilab.forge.jlatexmath.TeXIcon;
 import org.scilab.forge.scirenderer.shapes.appearance.Appearance;
 import org.scilab.forge.scirenderer.shapes.appearance.Color;
 import org.scilab.forge.scirenderer.texture.TextEntity;
index 059303e..1d405fc 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.forge.scirenderer.implementation.g2d;
 import org.scilab.forge.scirenderer.DrawingTools;
 import org.scilab.forge.scirenderer.SciRendererException;
 import org.scilab.forge.scirenderer.buffers.ElementsBuffer;
-import org.scilab.forge.scirenderer.clipping.ClippingManager;
 import org.scilab.forge.scirenderer.lightning.LightManager;
 import org.scilab.forge.scirenderer.renderer.Renderer;
 import org.scilab.forge.scirenderer.shapes.appearance.Appearance;
@@ -28,7 +27,6 @@ import org.scilab.forge.scirenderer.tranformations.TransformationManagerListener
 import org.scilab.forge.scirenderer.tranformations.Vector3d;
 
 import org.scilab.forge.scirenderer.implementation.g2d.G2DCanvas;
-import org.scilab.forge.scirenderer.implementation.g2d.G2DCanvasFactory;
 import org.scilab.forge.scirenderer.implementation.g2d.clipping.G2DClippingManager;
 import org.scilab.forge.scirenderer.implementation.g2d.motor.Motor3D;
 
index 3140ba0..9504c29 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.forge.scirenderer.implementation.g2d.buffers;
 import org.scilab.forge.scirenderer.buffers.DataBuffer;
 import org.scilab.forge.scirenderer.buffers.IndicesBuffer;
 
-import java.nio.Buffer;
 import java.nio.IntBuffer;
 import java.util.Collection;
 
index c526549..134aa2f 100644 (file)
@@ -16,7 +16,6 @@ import org.scilab.forge.scirenderer.tranformations.Transformation;
 import org.scilab.forge.scirenderer.tranformations.TransformationFactory;
 import org.scilab.forge.scirenderer.tranformations.Vector4d;
 import org.scilab.forge.scirenderer.implementation.g2d.G2DDrawingTools;
-import org.scilab.forge.scirenderer.tranformations.Vector3d;
 
 /**
  * @author Pierre Lando
index 4cc8042..fb34c77 100644 (file)
@@ -27,7 +27,6 @@ import java.awt.geom.Path2D;
 import java.awt.geom.Rectangle2D;
 import java.awt.image.BufferedImage;
 import java.awt.image.DataBufferInt;
-import java.util.Arrays;
 
 import java.awt.geom.Point2D;
 import java.awt.MultipleGradientPaint;
index cbb1965..b107fd3 100644 (file)
@@ -12,9 +12,6 @@
 package org.scilab.forge.scirenderer.implementation.g2d.motor;
 
 import java.awt.BasicStroke;
-import java.awt.Stroke;
-import java.util.HashMap;
-import java.util.Map;
 
 import org.scilab.forge.scirenderer.shapes.appearance.Appearance;
 
index c403950..1f211d9 100644 (file)
@@ -15,7 +15,6 @@ import java.awt.Color;
 import java.awt.Dimension;
 import java.awt.Graphics2D;
 import java.awt.RenderingHints;
-import java.awt.Stroke;
 import java.awt.image.BufferedImage;
 import java.nio.FloatBuffer;
 import java.nio.IntBuffer;
index 8033500..45c4d40 100644 (file)
@@ -18,8 +18,6 @@ import java.awt.geom.Path2D;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
-import java.util.HashSet;
-import java.util.Set;
 
 import org.scilab.forge.scirenderer.tranformations.Vector3d;
 import org.scilab.forge.scirenderer.tranformations.Vector4d;
index e5bc01b..234d4c1 100644 (file)
@@ -22,8 +22,6 @@ import java.awt.geom.Path2D;
 import java.awt.image.BufferedImage;
 import java.util.ArrayList;
 import java.util.List;
-import java.util.Set;
-import java.util.TreeSet;
 
 import org.scilab.forge.scirenderer.texture.Texture;
 import org.scilab.forge.scirenderer.tranformations.Vector3d;
index 58fa8d9..2fb9251 100644 (file)
@@ -11,7 +11,6 @@
 
 package org.scilab.forge.scirenderer.implementation.g2d.texture;
 
-import org.scilab.forge.scirenderer.DrawingTools;
 import org.scilab.forge.scirenderer.SciRendererException;
 import org.scilab.forge.scirenderer.implementation.g2d.G2DCanvas;
 import org.scilab.forge.scirenderer.implementation.g2d.G2DDrawingTools;
index 6ef282c..d488326 100644 (file)
@@ -36,7 +36,6 @@ import javax.media.opengl.GLException;
 import javax.media.opengl.GLPbuffer;
 import javax.media.opengl.GLProfile;
 import javax.swing.SwingUtilities;
-import jogamp.opengl.GLContextImpl;
 
 /**
  * JoGL implementation of a Canvas.
index 1312bbb..3d14698 100644 (file)
 package org.scilab.forge.scirenderer.implementation.jogl.texture;
 
 import com.jogamp.opengl.util.texture.TextureIO;
-import com.jogamp.opengl.util.awt.TextureRenderer;
 import com.jogamp.opengl.util.texture.TextureCoords;
 
-import org.scilab.forge.scirenderer.DrawingTools;
 import org.scilab.forge.scirenderer.SciRendererException;
 import org.scilab.forge.scirenderer.buffers.ElementsBuffer;
 import org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas;
@@ -29,18 +27,14 @@ import org.scilab.forge.scirenderer.tranformations.Transformation;
 import org.scilab.forge.scirenderer.tranformations.TransformationManager;
 import org.scilab.forge.scirenderer.tranformations.Vector3d;
 
-import javax.media.opengl.GLContext;
 
 import javax.media.opengl.GL;
 import javax.media.opengl.GL2;
 import javax.media.opengl.GL2ES1;
 import javax.media.opengl.GL2GL3;
 import javax.media.opengl.GLProfile;
-import java.awt.AlphaComposite;
 import java.awt.Dimension;
-import java.awt.Graphics2D;
 import java.nio.ByteBuffer;
-import java.nio.ByteOrder;
 import java.nio.FloatBuffer;
 import java.util.Collection;
 import java.util.HashSet;
index 5a8d47e..6c77957 100644 (file)
@@ -17,7 +17,6 @@ package org.scilab.modules.types;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
-import java.util.Arrays;
 
 /**
  * This class provides a representation on the Scilab Double datatype<br>
index e743914..9e58ba3 100644 (file)
@@ -19,13 +19,10 @@ import java.nio.IntBuffer;
 import java.nio.LongBuffer;
 import java.nio.ShortBuffer;
 import java.util.ArrayList;
-import java.util.List;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Vector;
 
-import javax.swing.event.EventListenerList;
-
 /**
  * Class to handle the Scilab data retrievment and conversion to a ScilabType
  * object. All the functions sendFoo are used from C++ and should not be used on
index eaa17cb..852b72f 100644 (file)
 package org.scilab.modules.ui_data.datatable;
 
 import java.awt.Cursor;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.util.Arrays;
 import java.util.Vector;
 
-import javax.swing.JTable;
 import javax.swing.event.TableModelEvent;
 import javax.swing.table.DefaultTableModel;
 
index 3ab9fac..6079ed8 100644 (file)
@@ -13,8 +13,6 @@
 package org.scilab.modules.ui_data.filebrowser;
 
 import java.io.File;
-import java.io.FileFilter;
-import java.util.Arrays;
 import java.util.Comparator;
 import java.util.TreeSet;
 import java.util.regex.Pattern;
index 3f4d368..71a63ec 100644 (file)
@@ -15,7 +15,6 @@ package org.scilab.modules.ui_data.filebrowser;
 import javax.swing.table.AbstractTableModel;
 import javax.swing.JTree;
 import javax.swing.tree.TreePath;
-import javax.swing.event.EventListenerList;
 import javax.swing.event.TreeExpansionEvent;
 import javax.swing.event.TreeExpansionListener;
 
index 7813a32..163165e 100644 (file)
@@ -17,8 +17,6 @@ import java.awt.Component;
 import java.awt.Font;
 import java.awt.Graphics;
 import java.awt.Insets;
-import java.awt.event.MouseAdapter;
-import java.awt.event.MouseEvent;
 
 import javax.swing.BorderFactory;
 import javax.swing.JLabel;
index 594b1fd..57a68fa 100644 (file)
@@ -22,7 +22,6 @@ import java.awt.event.MouseAdapter;
 import java.awt.event.MouseEvent;
 import java.awt.event.MouseMotionAdapter;
 
-import javax.swing.BorderFactory;
 import javax.swing.JPanel;
 import javax.swing.JPopupMenu;
 import javax.swing.JTable;
index 345d703..f879d7f 100644 (file)
@@ -16,7 +16,6 @@ import java.awt.Color;
 import java.awt.Component;
 import java.awt.Font;
 
-import javax.swing.AbstractAction;
 import javax.swing.AbstractCellEditor;
 import javax.swing.BorderFactory;
 import javax.swing.JLabel;
index a0001eb..9a20481 100644 (file)
@@ -16,8 +16,6 @@ import java.awt.Color;
 import java.awt.Component;
 import java.awt.Font;
 import java.awt.Graphics;
-import java.awt.event.MouseAdapter;
-import java.awt.event.MouseEvent;
 
 import javax.swing.BorderFactory;
 import javax.swing.JLabel;
@@ -27,9 +25,6 @@ import javax.swing.UIManager;
 import javax.swing.table.JTableHeader;
 import javax.swing.table.TableCellRenderer;
 
-import org.scilab.modules.ui_data.rowheader.HeaderRenderer;
-import org.scilab.modules.ui_data.rowheader.RowHeader;
-
 /**
  * @author Calixte DENIZET
  */
index d9e570a..875b5fb 100644 (file)
@@ -17,19 +17,15 @@ import static org.scilab.modules.action_binding.highlevel.ScilabInterpreterManag
 
 import java.awt.Color;
 import java.awt.MouseInfo;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
 import java.awt.event.MouseEvent;
 import java.awt.event.MouseListener;
 
-import javax.swing.ActionMap;
 import javax.swing.SwingUtilities;
 
 import java.util.ArrayList;
 import java.util.HashSet;
 import java.util.List;
 
-import javax.swing.JMenu;
 import javax.swing.JScrollPane;
 import javax.swing.JTable;
 import javax.swing.ListSelectionModel;
@@ -43,7 +39,6 @@ import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement;
 import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement.InterpreterException;
 import org.scilab.modules.gui.bridge.tab.SwingScilabTab;
 import org.scilab.modules.gui.bridge.contextmenu.SwingScilabContextMenu;
-import org.scilab.modules.gui.bridge.menu.SwingScilabMenu;
 import org.scilab.modules.gui.contextmenu.ContextMenu;
 import org.scilab.modules.gui.contextmenu.ScilabContextMenu;
 import org.scilab.modules.gui.checkboxmenuitem.CheckBoxMenuItem;
index 035b17d..7bfe411 100644 (file)
 package org.scilab.modules.ui_data.variablebrowser.actions;
 
 import org.scilab.modules.ui_data.variablebrowser.SwingScilabVariableBrowser;
-import java.lang.reflect.InvocationTargetException;
-import java.awt.event.ActionEvent;
 import javax.swing.ImageIcon;
-import javax.swing.KeyStroke;
-import java.awt.event.ActionEvent;
-import java.awt.event.MouseEvent;
-import java.awt.event.ActionListener;
-import javax.swing.JTable;
 
 import org.scilab.modules.ui_data.utils.UiDataMessages;
 import org.scilab.modules.ui_data.BrowseVar;
index cfeea68..537ca31 100644 (file)
 package org.scilab.modules.ui_data.variablebrowser.actions;
 
 import org.scilab.modules.ui_data.variablebrowser.SwingScilabVariableBrowser;
-import java.lang.reflect.InvocationTargetException;
-import java.awt.event.ActionEvent;
 import javax.swing.ImageIcon;
-import javax.swing.KeyStroke;
-import java.awt.event.ActionEvent;
-import java.awt.event.MouseEvent;
-import java.awt.event.ActionListener;
-import javax.swing.JTable;
 
 import org.scilab.modules.ui_data.utils.UiDataMessages;
 import org.scilab.modules.ui_data.BrowseVar;
 
-import static org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement.asynchronousScilabExec;
-
-import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement.InterpreterException;
-
 import org.scilab.modules.gui.bridge.pushbutton.SwingScilabPushButton;
 import org.scilab.modules.gui.bridge.menuitem.SwingScilabMenuItem;
 import org.scilab.modules.gui.events.callback.CommonCallBack;
index 97298e0..5463f6c 100644 (file)
@@ -19,7 +19,6 @@ import javax.swing.JMenu;
 import javax.swing.JPopupMenu;
 import javax.swing.JScrollPane;
 import javax.swing.JTable;
-import javax.swing.ListSelectionModel;
 import javax.swing.SwingUtilities;
 import javax.swing.event.ChangeEvent;
 import javax.swing.event.ChangeListener;
@@ -37,8 +36,6 @@ import org.scilab.modules.gui.tab.SimpleTab;
 import org.scilab.modules.gui.textbox.TextBox;
 import org.scilab.modules.gui.toolbar.ScilabToolBar;
 import org.scilab.modules.gui.toolbar.ToolBar;
-import org.scilab.modules.gui.utils.ScilabSwingUtilities;
-import org.scilab.modules.gui.utils.UIElementMapper;
 import org.scilab.modules.gui.utils.WindowsConfigurationManager;
 import org.scilab.modules.ui_data.datatable.SwingEditvarTableModel;
 import org.scilab.modules.ui_data.rowheader.RowHeader;
index 899097b..93b478e 100644 (file)
@@ -38,14 +38,11 @@ import javax.swing.ListSelectionModel;
 import javax.swing.SwingUtilities;
 import javax.swing.event.ChangeEvent;
 import javax.swing.event.ListSelectionEvent;
-import javax.swing.event.ListSelectionListener;
 import javax.swing.event.TableModelEvent;
 import javax.swing.table.JTableHeader;
 import javax.swing.table.TableColumn;
 import javax.swing.table.TableCellEditor;
 
-import org.scilab.modules.gui.textbox.SimpleTextBox;
-import org.scilab.modules.gui.textbox.TextBox;
 import org.scilab.modules.ui_data.datatable.SwingEditvarTableModel;
 import org.scilab.modules.ui_data.rowheader.HeaderRenderer;
 import org.scilab.modules.ui_data.rowheader.RowHeader;
index b91b3b1..b89c56d 100644 (file)
@@ -20,11 +20,8 @@ import org.scilab.modules.gui.bridge.tab.SwingScilabTab;
 import org.scilab.modules.gui.events.callback.CommonCallBack;
 import org.scilab.modules.gui.menuitem.MenuItem;
 import org.scilab.modules.gui.menuitem.ScilabMenuItem;
-import org.scilab.modules.gui.utils.ScilabSwingUtilities;
 import org.scilab.modules.localization.Messages;
-import org.scilab.modules.ui_data.UI_data;
 import org.scilab.modules.ui_data.datatable.SwingEditvarTableModel;
-import org.scilab.modules.ui_data.utils.UiDataMessages;
 import org.scilab.modules.ui_data.variableeditor.SwingScilabVariableEditor;
 import org.scilab.modules.ui_data.variablebrowser.SwingScilabVariableBrowser;
 import org.scilab.modules.ui_data.BrowseVar;
index 77d2c8c..f52f823 100644 (file)
@@ -19,10 +19,7 @@ import org.scilab.modules.gui.bridge.menuitem.SwingScilabMenuItem;
 import org.scilab.modules.gui.events.callback.CommonCallBack;
 import org.scilab.modules.gui.menuitem.MenuItem;
 import org.scilab.modules.gui.menuitem.ScilabMenuItem;
-import org.scilab.modules.gui.utils.ScilabSwingUtilities;
-import org.scilab.modules.ui_data.UI_data;
 import org.scilab.modules.ui_data.datatable.SwingEditvarTableModel;
-import org.scilab.modules.ui_data.utils.UiDataMessages;
 import org.scilab.modules.ui_data.variableeditor.SwingScilabVariableEditor;
 
 /**
index 94f59c2..d4dfeec 100644 (file)
@@ -25,8 +25,6 @@ import org.scilab.modules.gui.menuitem.MenuItem;
 import org.scilab.modules.xcos.graph.XcosDiagram;
 import org.scilab.modules.xcos.utils.XcosMessages;
 
-import com.mxgraph.swing.mxGraphComponent;
-
 /**
  * Diagram background color changing
  */
index 5fc2737..5ecfdae 100644 (file)
@@ -21,7 +21,6 @@ import java.util.logging.Logger;
 import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement.InterpreterException;
 import org.scilab.modules.graph.ScilabComponent;
 import org.scilab.modules.graph.ScilabGraph;
-import org.scilab.modules.graph.actions.base.DefaultAction;
 import org.scilab.modules.gui.menuitem.MenuItem;
 import org.scilab.modules.gui.pushbutton.PushButton;
 import org.scilab.modules.xcos.graph.XcosDiagram;
index fde81a5..f7fd4d0 100644 (file)
@@ -15,7 +15,6 @@ package org.scilab.modules.xcos.io.codec;
 import org.scilab.modules.graph.io.ScilabObjectCodec;
 import org.scilab.modules.types.ScilabList;
 import org.w3c.dom.Document;
-import org.w3c.dom.Node;
 
 import com.mxgraph.io.mxCodec;
 import com.mxgraph.io.mxCodecRegistry;
index b6f7993..1cb4f8e 100644 (file)
 package org.scilab.modules.xcos.palette;
 
 import java.awt.GraphicsEnvironment;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
 import java.awt.image.BufferedImage;
 import java.io.File;
 import java.io.IOException;
 import java.lang.reflect.InvocationTargetException;
 import java.util.ArrayList;
-import java.util.Collections;
 import java.util.Deque;
 import java.util.LinkedList;
 import java.util.List;
@@ -29,16 +26,12 @@ import java.util.logging.Logger;
 
 import javax.imageio.ImageIO;
 import javax.swing.SwingUtilities;
-import javax.swing.tree.TreeNode;
 
-import org.apache.xmlgraphics.image.loader.impl.PreloaderBMP;
 import org.scilab.modules.graph.utils.ScilabExported;
 import org.scilab.modules.javasci.JavasciException;
 import org.scilab.modules.javasci.Scilab;
 import org.scilab.modules.localization.Messages;
 import org.scilab.modules.types.ScilabDouble;
-import org.scilab.modules.types.ScilabList;
-import org.scilab.modules.types.ScilabMList;
 import org.scilab.modules.types.ScilabTList;
 import org.scilab.modules.types.ScilabType;
 import org.scilab.modules.xcos.Xcos;
@@ -47,7 +40,6 @@ import org.scilab.modules.xcos.graph.XcosDiagram;
 import org.scilab.modules.xcos.io.scicos.ScicosFormatException;
 import org.scilab.modules.xcos.io.scicos.ScilabDirectHandler;
 import org.scilab.modules.xcos.palette.model.Category;
-import org.scilab.modules.xcos.palette.model.Custom;
 import org.scilab.modules.xcos.palette.model.PaletteBlock;
 import org.scilab.modules.xcos.palette.model.PaletteNode;
 import org.scilab.modules.xcos.palette.model.PreLoaded;
index a36a492..064191a 100644 (file)
@@ -15,15 +15,11 @@ package org.scilab.modules.xcos.palette;
 import static java.util.Arrays.asList;
 
 import java.io.File;
-import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.Map.Entry;
 
 import org.scilab.modules.action_binding.highlevel.ScilabInterpreterManagement;
-import org.scilab.modules.graph.utils.StyleMap;
-import org.scilab.modules.types.ScilabList;
-import org.scilab.modules.types.ScilabMList;
 import org.scilab.modules.types.ScilabString;
 import org.scilab.modules.types.ScilabTList;
 import org.scilab.modules.types.ScilabType;
@@ -38,8 +34,6 @@ import org.scilab.modules.xcos.palette.model.PaletteBlock;
 import org.scilab.modules.xcos.palette.model.PreLoaded;
 import org.scilab.modules.xcos.palette.model.VariablePath;
 
-import com.mxgraph.view.mxStylesheet;
-
 /**
  * Decode a palette into a {@link PreLoaded} palette.
  */
index 8e1f9fe..5f024d2 100644 (file)
@@ -28,8 +28,6 @@ import org.scilab.modules.gui.contextmenu.ScilabContextMenu;
 import org.scilab.modules.gui.events.callback.CommonCallBack;
 import org.scilab.modules.gui.menuitem.MenuItem;
 import org.scilab.modules.gui.menuitem.ScilabMenuItem;
-import org.scilab.modules.gui.messagebox.MessageBox;
-import org.scilab.modules.localization.Messages;
 import org.scilab.modules.xcos.palette.model.Category;
 import org.scilab.modules.xcos.palette.model.Palette;
 import org.scilab.modules.xcos.palette.model.PaletteNode;
index bf7be6c..9290c1b 100644 (file)
@@ -24,8 +24,6 @@ import java.util.logging.Logger;
 import javax.swing.JComponent;
 import javax.swing.JTree;
 import javax.swing.TransferHandler;
-import javax.swing.tree.DefaultTreeModel;
-import javax.swing.tree.TreeNode;
 import javax.swing.tree.TreePath;
 import javax.xml.bind.JAXBContext;
 import javax.xml.bind.JAXBException;
index 26b1bc5..7e5e965 100644 (file)
@@ -14,7 +14,6 @@ package org.scilab.modules.xcos.palette.view;
 
 import java.awt.Dimension;
 import java.awt.Font;
-import java.io.FileInputStream;
 
 import javax.swing.BorderFactory;
 import javax.swing.JLabel;