• R/O
  • SSH
  • HTTPS

dbviewer: コミット


コミットメタ情報

リビジョン251 (tree)
日時2012-07-09 11:39:44
作者makopoppo

ログメッセージ

Trimming unused imports

変更サマリ

差分

--- DBViewer/branches/2.0.0/src/zigen/plugin/db/core/SQLInvokerForBind.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/core/SQLInvokerForBind.java (revision 251)
@@ -10,9 +10,7 @@
1010 import java.sql.ResultSet;
1111 import java.sql.ResultSetMetaData;
1212 import java.sql.SQLException;
13-import java.sql.Statement;
1413 import java.util.ArrayList;
15-import java.util.Iterator;
1614 import java.util.List;
1715
1816 import zigen.plugin.db.DbPlugin;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/core/TableInfo.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/core/TableInfo.java (revision 251)
@@ -5,7 +5,6 @@
55 */
66 package zigen.plugin.db.core;
77
8-import java.sql.Date;
98 import java.sql.Timestamp;
109
1110 public class TableInfo {
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/RemoveDBAction.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/RemoveDBAction.java (revision 251)
@@ -16,7 +16,6 @@
1616
1717 import zigen.plugin.db.DbPlugin;
1818 import zigen.plugin.db.IStatusChangeListener;
19-import zigen.plugin.db.ITableSerializeManager;
2019 import zigen.plugin.db.core.DBConfigManager;
2120 import zigen.plugin.db.ui.internal.Bookmark;
2221 import zigen.plugin.db.ui.internal.BookmarkFolder;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/CloseDBAction.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/CloseDBAction.java (revision 251)
@@ -12,7 +12,6 @@
1212 import org.eclipse.jface.action.Action;
1313 import org.eclipse.jface.viewers.IStructuredSelection;
1414 import org.eclipse.jface.viewers.TreeViewer;
15-import org.eclipse.swt.SWT;
1615 import org.eclipse.ui.IEditorInput;
1716 import org.eclipse.ui.IEditorReference;
1817
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/AbstractExecuteSQLAction.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/AbstractExecuteSQLAction.java (revision 251)
@@ -19,7 +19,6 @@
1919 import zigen.plugin.db.core.IDBConfig;
2020 import zigen.plugin.db.core.SQLUtil;
2121 import zigen.plugin.db.core.Transaction;
22-import zigen.plugin.db.core.rule.AbstractStatementFactory;
2322 import zigen.plugin.db.parser.util.CurrentSql;
2423 import zigen.plugin.db.preference.SQLEditorPreferencePage;
2524 import zigen.plugin.db.ui.editors.exceptions.NoBindingDataException;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/ExecuteCurrentSQLAction.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/ExecuteCurrentSQLAction.java (revision 251)
@@ -5,17 +5,9 @@
55 */
66 package zigen.plugin.db.ui.actions;
77
8-import java.util.Iterator;
9-import java.util.List;
10-
11-import org.eclipse.jface.text.Document;
12-import org.eclipse.text.edits.MultiTextEdit;
13-import org.eclipse.text.edits.ReplaceEdit;
14-
158 import zigen.plugin.db.DbPlugin;
169 import zigen.plugin.db.core.IDBConfig;
1710 import zigen.plugin.db.ui.editors.exceptions.NoBindingDataException;
18-import zigen.plugin.db.ui.views.BindingData;
1911 import zigen.plugin.db.ui.views.internal.SQLSourceViewer;
2012
2113 public class ExecuteCurrentSQLAction extends AbstractExecuteSQLAction {
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/ExecuteSQLAction.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/ExecuteSQLAction.java (revision 251)
@@ -5,17 +5,9 @@
55 */
66 package zigen.plugin.db.ui.actions;
77
8-import java.util.Iterator;
9-import java.util.List;
10-
11-import org.eclipse.jface.text.Document;
12-import org.eclipse.text.edits.MultiTextEdit;
13-import org.eclipse.text.edits.ReplaceEdit;
14-
158 import zigen.plugin.db.DbPlugin;
169 import zigen.plugin.db.core.IDBConfig;
1710 import zigen.plugin.db.ui.editors.exceptions.NoBindingDataException;
18-import zigen.plugin.db.ui.views.BindingData;
1911 import zigen.plugin.db.ui.views.internal.SQLSourceViewer;
2012
2113 public class ExecuteSQLAction extends AbstractExecuteSQLAction implements Runnable {
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/ExecuteSelectedSQLAction.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/actions/ExecuteSelectedSQLAction.java (revision 251)
@@ -5,18 +5,10 @@
55 */
66 package zigen.plugin.db.ui.actions;
77
8-import java.util.Iterator;
9-import java.util.List;
10-
11-import org.eclipse.jface.text.Document;
128 import org.eclipse.jface.text.TextSelection;
13-import org.eclipse.text.edits.MultiTextEdit;
14-import org.eclipse.text.edits.ReplaceEdit;
15-
169 import zigen.plugin.db.DbPlugin;
1710 import zigen.plugin.db.core.IDBConfig;
1811 import zigen.plugin.db.ui.editors.exceptions.NoBindingDataException;
19-import zigen.plugin.db.ui.views.BindingData;
2012 import zigen.plugin.db.ui.views.internal.SQLSourceViewer;
2113
2214 public class ExecuteSelectedSQLAction extends AbstractExecuteSQLAction {
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/bookmark/BookmarkDialog.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/bookmark/BookmarkDialog.java (revision 251)
@@ -26,8 +26,6 @@
2626 import org.eclipse.swt.widgets.Control;
2727 import org.eclipse.swt.widgets.Label;
2828 import org.eclipse.swt.widgets.Shell;
29-import org.eclipse.swt.widgets.TreeItem;
30-
3129 import zigen.plugin.db.DbPlugin;
3230 import zigen.plugin.db.ui.actions.RegistBookmarkFolderAction;
3331 import zigen.plugin.db.ui.actions.RemoveBookmarkAction;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/internal/ContentAssistTable.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/internal/ContentAssistTable.java (revision 251)
@@ -6,7 +6,6 @@
66 package zigen.plugin.db.ui.internal;
77
88 import java.sql.Connection;
9-import java.sql.Date;
109 import java.sql.Timestamp;
1110 import java.util.ArrayList;
1211 import java.util.List;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/jobs/AbstractLoadColumnJob.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/jobs/AbstractLoadColumnJob.java (revision 251)
@@ -22,7 +22,6 @@
2222 import zigen.plugin.db.core.TableFKColumn;
2323 import zigen.plugin.db.core.TableIDXColumn;
2424 import zigen.plugin.db.core.TablePKColumn;
25-import zigen.plugin.db.core.TimeWatcher;
2625 import zigen.plugin.db.core.rule.DefaultColumnSearcherFactory;
2726 import zigen.plugin.db.core.rule.DefaultConstraintSearcherFactory;
2827 import zigen.plugin.db.core.rule.IColumnSearcherFactory;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/jobs/DisconnectDBJob.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/jobs/DisconnectDBJob.java (revision 251)
@@ -11,8 +11,6 @@
1111 import org.eclipse.core.runtime.IStatus;
1212 import org.eclipse.core.runtime.Status;
1313 import org.eclipse.jface.viewers.TreeViewer;
14-import org.eclipse.swt.SWT;
15-
1614 import zigen.plugin.db.core.ConnectionManager;
1715 import zigen.plugin.db.core.DBType;
1816 import zigen.plugin.db.core.IDBConfig;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/jobs/RecordCountForSqlEditorJob.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/jobs/RecordCountForSqlEditorJob.java (revision 251)
@@ -9,9 +9,6 @@
99 import org.eclipse.core.runtime.IStatus;
1010 import org.eclipse.core.runtime.Status;
1111 import org.eclipse.swt.widgets.Display;
12-import org.eclipse.ui.IEditorPart;
13-import org.eclipse.ui.IWorkbenchPage;
14-import org.eclipse.ui.ide.IDE;
1512
1613 import zigen.plugin.db.DbPlugin;
1714 import zigen.plugin.db.DbPluginConstant;
@@ -21,8 +18,6 @@
2118 import zigen.plugin.db.core.rule.ISQLCreatorFactory;
2219 import zigen.plugin.db.preference.PreferencePage;
2320 import zigen.plugin.db.ui.actions.ConfirmConnectDBAction;
24-import zigen.plugin.db.ui.editors.QueryViewEditor2;
25-import zigen.plugin.db.ui.editors.QueryViewEditorInput;
2621 import zigen.plugin.db.ui.editors.sql.SqlEditor2;
2722
2823 public class RecordCountForSqlEditorJob extends AbstractJob {
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingData.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingData.java (revision 251)
@@ -5,10 +5,7 @@
55
66 import zigen.plugin.db.core.IDBConfig;
77 import zigen.plugin.db.parser.util.ASTUtil2;
8-import zigen.plugin.db.ui.contentassist.ContentAssistUtil;
98 import zigen.plugin.db.ui.contentassist.ContentInfo;
10-import zigen.plugin.db.ui.contentassist.SQLProposalCreator2;
11-import zigen.plugin.db.ui.contentassist.processor.Messages;
129 import zigen.plugin.db.ui.internal.Column;
1310 import zigen.sql.parser.INode;
1411 import zigen.sql.parser.ISqlParser;
@@ -15,9 +12,7 @@
1512 import zigen.sql.parser.ast.ASTBind;
1613 import zigen.sql.parser.ast.ASTColumn;
1714 import zigen.sql.parser.ast.ASTFrom;
18-import zigen.sql.parser.ast.ASTOperator;
1915 import zigen.sql.parser.ast.ASTParentheses;
20-import zigen.sql.parser.ast.ASTSelect;
2116 import zigen.sql.parser.ast.ASTSelectStatement;
2217 import zigen.sql.parser.ast.ASTTable;
2318
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/SQLExecuteView.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/SQLExecuteView.java (revision 251)
@@ -72,7 +72,6 @@
7272 import org.eclipse.swt.layout.FormAttachment;
7373 import org.eclipse.swt.layout.FormData;
7474 import org.eclipse.swt.layout.FormLayout;
75-import org.eclipse.swt.widgets.Button;
7675 import org.eclipse.swt.widgets.Composite;
7776 import org.eclipse.swt.widgets.Menu;
7877 import org.eclipse.swt.widgets.Widget;
@@ -90,8 +89,6 @@
9089 import org.eclipse.ui.texteditor.IWorkbenchActionDefinitionIds;
9190 import org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel;
9291
93-import com.sun.org.apache.xpath.internal.FoundIndex;
94-
9592 import zigen.plugin.db.DbPlugin;
9693 import zigen.plugin.db.DbPluginConstant;
9794 import zigen.plugin.db.IStatusChangeListener;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingParamArea.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingParamArea.java (revision 251)
@@ -22,19 +22,10 @@
2222 import org.eclipse.swt.widgets.Item;
2323 import org.eclipse.swt.widgets.Table;
2424 import org.eclipse.swt.widgets.TableColumn;
25-import org.eclipse.ui.IActionBars;
26-
2725 import zigen.plugin.db.DbPlugin;
2826 import zigen.plugin.db.IStatusChangeListener;
2927 import zigen.plugin.db.ImageCacher;
3028 import zigen.plugin.db.core.IDBConfig;
31-import zigen.plugin.db.core.TableElement;
32-import zigen.plugin.db.ui.editors.CellModifier;
33-import zigen.plugin.db.ui.editors.event.TableKeyAdapter;
34-import zigen.plugin.db.ui.editors.event.TableKeyEventHandler;
35-import zigen.plugin.db.ui.editors.internal.CellEditorType;
36-import zigen.plugin.db.ui.editors.internal.ColumnFilterInfo;
37-import zigen.plugin.db.ui.editors.internal.FileCellEditor;
3829 import zigen.sql.parser.INode;
3930 import zigen.sql.parser.ast.ASTBind;
4031 import zigen.sql.parser.ast.ASTRoot;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/internal/SQLOutlineLabelProvider.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/internal/SQLOutlineLabelProvider.java (revision 251)
@@ -10,7 +10,6 @@
1010 import org.eclipse.swt.graphics.Image;
1111
1212 import zigen.plugin.db.DbPlugin;
13-import zigen.plugin.db.ImageCacher;
1413 import zigen.plugin.db.ui.views.TreeLabelProvider;
1514 import zigen.sql.parser.ASTVisitorToString;
1615 import zigen.sql.parser.Node;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/internal/SQLOutinePage.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/internal/SQLOutinePage.java (revision 251)
@@ -31,11 +31,9 @@
3131 import org.eclipse.jface.viewers.ISelection;
3232 import org.eclipse.jface.viewers.IStructuredSelection;
3333 import org.eclipse.jface.viewers.ITreeContentProvider;
34-import org.eclipse.jface.viewers.LabelProvider;
3534 import org.eclipse.jface.viewers.StructuredSelection;
3635 import org.eclipse.jface.viewers.TreeViewer;
3736 import org.eclipse.jface.viewers.Viewer;
38-import org.eclipse.swt.graphics.Image;
3937 import org.eclipse.swt.widgets.Composite;
4038 import org.eclipse.swt.widgets.Menu;
4139 import org.eclipse.ui.ISelectionListener;
@@ -46,7 +44,6 @@
4644
4745 import zigen.plugin.db.DbPlugin;
4846 import zigen.plugin.db.DbPluginConstant;
49-import zigen.plugin.db.ImageCacher;
5047 import zigen.plugin.db.core.StringUtil;
5148 import zigen.plugin.db.core.TimeWatcher;
5249 import zigen.plugin.db.parser.util.CurrentSql;
@@ -55,9 +52,7 @@
5552 import zigen.plugin.db.ui.jobs.AbstractJob;
5653 import zigen.plugin.db.ui.jobs.UpdateSQLFoldingJob;
5754 import zigen.plugin.db.ui.views.DecoratingTreeLabelProvider;
58-import zigen.plugin.db.ui.views.TreeLabelProvider;
5955 import zigen.sql.parser.ASTVisitor2;
60-import zigen.sql.parser.ASTVisitorToString;
6156 import zigen.sql.parser.INode;
6257 import zigen.sql.parser.ISqlParser;
6358 import zigen.sql.parser.Node;
@@ -70,8 +65,6 @@
7065 import zigen.sql.parser.ast.ASTParentheses;
7166 import zigen.sql.parser.ast.ASTRoot;
7267 import zigen.sql.parser.ast.ASTSelectStatement;
73-import zigen.sql.parser.ast.ASTTable;
74-import zigen.sql.parser.ast.ASTValue;
7568 import zigen.sql.parser.exception.ParserException;
7669
7770 public class SQLOutinePage extends ContentOutlinePage implements ISelectionListener {
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/internal/SQLToolBar.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/internal/SQLToolBar.java (revision 251)
@@ -12,8 +12,6 @@
1212 import org.eclipse.swt.SWT;
1313 import org.eclipse.swt.events.ControlEvent;
1414 import org.eclipse.swt.events.ControlListener;
15-import org.eclipse.swt.events.FocusAdapter;
16-import org.eclipse.swt.events.FocusEvent;
1715 import org.eclipse.swt.events.SelectionAdapter;
1816 import org.eclipse.swt.events.SelectionEvent;
1917 import org.eclipse.swt.layout.FormAttachment;
@@ -23,8 +21,6 @@
2321 import org.eclipse.swt.widgets.Composite;
2422 import org.eclipse.swt.widgets.Control;
2523 import org.eclipse.swt.widgets.CoolBar;
26-import org.eclipse.ui.IActionBars;
27-
2824 import zigen.plugin.db.DbPlugin;
2925 import zigen.plugin.db.IStatusChangeListener;
3026 import zigen.plugin.db.PluginSettingsManager;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingTableKeyEventHandler.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingTableKeyEventHandler.java (revision 251)
@@ -11,11 +11,7 @@
1111 import org.eclipse.swt.widgets.Table;
1212
1313 import zigen.plugin.db.DbPlugin;
14-import zigen.plugin.db.core.IDBConfig;
1514 import zigen.plugin.db.core.TableElement;
16-import zigen.plugin.db.core.rule.AbstractValidatorFactory;
17-import zigen.plugin.db.core.rule.IValidatorFactory;
18-import zigen.plugin.db.ui.editors.TextCellEditor;
1915
2016 public class BindingTableKeyEventHandler {
2117 protected TableViewer viewer;
--- DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingTableKeyAdapter.java (revision 250)
+++ DBViewer/branches/2.0.0/src/zigen/plugin/db/ui/views/BindingTableKeyAdapter.java (revision 251)
@@ -10,12 +10,10 @@
1010 import org.eclipse.swt.events.KeyListener;
1111 import org.eclipse.swt.events.TraverseEvent;
1212 import org.eclipse.swt.events.TraverseListener;
13-import org.eclipse.swt.widgets.Button;
1413 import org.eclipse.swt.widgets.Table;
1514 import org.eclipse.swt.widgets.Text;
1615
1716 import zigen.plugin.db.DbPlugin;
18-import zigen.plugin.db.core.TableElement;
1917
2018 public class BindingTableKeyAdapter implements KeyListener, TraverseListener {
2119
旧リポジトリブラウザで表示