Update of /cvsroot/squirrel-sql/sql12/test/mockobjects/net/sourceforge/squirrel_sql/client/session
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv1806/test/mockobjects/net/sourceforge/squirrel_sql/client/session
Modified Files:
MockSQLEntryPanel.java
Log Message:
RSyntax editor integration
Index: MockSQLEntryPanel.java
===================================================================
RCS file: /cvsroot/squirrel-sql/sql12/test/mockobjects/net/sourceforge/squirrel_sql/client/session/MockSQLEntryPanel.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MockSQLEntryPanel.java 26 Nov 2008 20:56:44 -0000 1.5
--- MockSQLEntryPanel.java 29 Nov 2009 21:17:54 -0000 1.6
***************
*** 4,11 ****
import java.awt.event.MouseListener;
! import javax.swing.Action;
! import javax.swing.JMenu;
! import javax.swing.JMenuItem;
! import javax.swing.JTextArea;
import javax.swing.event.CaretListener;
import javax.swing.event.UndoableEditListener;
--- 4,8 ----
import java.awt.event.MouseListener;
! import javax.swing.*;
import javax.swing.event.CaretListener;
import javax.swing.event.UndoableEditListener;
***************
*** 14,17 ****
--- 11,15 ----
import net.sourceforge.squirrel_sql.fw.id.IIdentifier;
+ import net.sourceforge.squirrel_sql.client.session.mainpanel.IUndoHandler;
public class MockSQLEntryPanel implements ISQLEntryPanel {
***************
*** 211,215 ****
}
! public void setUndoActions(Action undo, Action redo) {
--- 209,213 ----
}
! public void addRedoUndoActionsToSQLEntryAreaMenu(Action undo, Action redo) {
***************
*** 234,236 ****
--- 232,252 ----
}
+
+ @Override
+ public IUndoHandler createUndoHandler()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ @Override
+ public String getWordAtCursor()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ @Override
+ public JScrollPane createScrollPane(JTextComponent textComponent)
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
}
|