1 | public class DummyPlugin implements IPlugin {↵ | | 1 | public class DummyPlugin implements IPlugin {↵
|
|
2 | public String getChangeLogFileName() { return null; }↵ | | 2 | public String getChangeLogFileName() { return null; }↵
|
3 | public String getContributors() { return null; }↵ | | 3 | public String getContributors() { return null; }↵
|
|
4 | /* (non-Javadoc)↵ | | 4 | /* (non-Javadoc)↵
|
5 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getExternalService()↵ | | 5 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getExternalService()↵
|
6 | */↵ | | 6 | */↵
|
7 | public Object getExternalService() {↵ | | 7 | public Object getExternalService() {↵
|
8 | // TODO Auto-generated method stub↵ | | 8 | // TODO Auto-generated method stub↵
|
9 | return null;↵ | | 9 | return null;↵
|
10 | }↵ | | 10 | }↵
|
|
11 | /* (non-Javadoc)↵ | | 11 | /* (non-Javadoc)↵
|
12 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getGlobalPreferencePanels()↵ | | 12 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getGlobalPreferencePanels()↵
|
13 | */↵ | | 13 | */↵
|
14 | public IGlobalPreferencesPanel[] getGlobalPreferencePanels() {↵ | | 14 | public IGlobalPreferencesPanel[] getGlobalPreferencePanels() {↵
|
15 | // TODO Auto-generated method stub↵ | | 15 | // TODO Auto-generated method stub↵
|
16 | return null;↵ | | 16 | return null;↵
|
17 | }↵ | | 17 | }↵
|
|
18 | /* (non-Javadoc)↵ | | 18 | /* (non-Javadoc)↵
|
19 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getHelpFileName()↵ | | 19 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getHelpFileName()↵
|
20 | */↵ | | 20 | */↵
|
21 | public String getHelpFileName() {↵ | | 21 | public String getHelpFileName() {↵
|
22 | // TODO Auto-generated method stub↵ | | 22 | // TODO Auto-generated method stub↵
|
23 | return null;↵ | | 23 | return null;↵
|
24 | }↵ | | 24 | }↵
|
|
25 | /* (non-Javadoc)↵ | | 25 | /* (non-Javadoc)↵
|
26 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getLicenceFileName()↵ | | 26 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getLicenceFileName()↵
|
27 | */↵ | | 27 | */↵
|
28 | public String getLicenceFileName() {↵ | | 28 | public String getLicenceFileName() {↵
|
29 | // TODO Auto-generated method stub↵ | | 29 | // TODO Auto-generated method stub↵
|
30 | return null;↵ | | 30 | return null;↵
|
31 | }↵ | | 31 | }↵
|
|
32 | /* (non-Javadoc)↵ | | 32 | /* (non-Javadoc)↵
|
33 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getNewSessionPropertiesPanels()↵ | | 33 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getNewSessionPropertiesPanels()↵
|
34 | */↵ | | 34 | */↵
|
35 | public INewSessionPropertiesPanel[] getNewSessionPropertiesPanels() {↵ | | 35 | public INewSessionPropertiesPanel[] getNewSessionPropertiesPanels() {↵
|
36 | // TODO Auto-generated method stub↵ | | 36 | // TODO Auto-generated method stub↵
|
37 | return null;↵ | | 37 | return null;↵
|
38 | }↵ | | 38 | }↵
|
|
39 | /* (non-Javadoc)↵ | | 39 | /* (non-Javadoc)↵
|
40 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getPluginAppSettingsFolder()↵ | | 40 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getPluginAppSettingsFolder()↵
|
41 | */↵ | | 41 | */↵
|
42 | public File getPluginAppSettingsFolder() throws IOException, IllegalStateException {↵ | | 42 | public File getPluginAppSettingsFolder() throws IOException, IllegalStateException {↵
|
43 | // TODO Auto-generated method stub↵ | | 43 | // TODO Auto-generated method stub↵
|
44 | String filename = System.getProperty(IJavaPropertyNames.USER_HOME)↵ | | 44 | String filename = System.getProperty(IJavaPropertyNames.USER_HOME)↵
|
45 | + File.separator + ".squirrel-sql" + File.separator + "plugins"↵ | | 45 | + File.separator + ".squirrel-sql" + File.separator + "plugins"↵
|
46 | + File.separator + "mssql" + File.separator;↵ | | 46 | + File.separator + "sqlscript" + File.separator;↵
|
47 | System.out.println("filename="+filename);↵ | | 47 | System.out.println("filename="+filename);↵
|
48 | return new File(filename); ↵ | | 48 | return new File(filename); ↵
|
49 | }↵ | | 49 | }↵
|
|
50 | /* (non-Javadoc)↵ | | 50 | /* (non-Javadoc)↵
|
51 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getPluginUserSettingsFolder()↵ | | 51 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getPluginUserSettingsFolder()↵
|
52 | */↵ | | 52 | */↵
|
53 | public File getPluginUserSettingsFolder() throws IllegalStateException, IOException {↵ | | 53 | public File getPluginUserSettingsFolder() throws IllegalStateException, IOException {↵
|
54 | // TODO Auto-generated method stub↵ | | 54 | // TODO Auto-generated method stub↵
|
55 | return null;↵ | | 55 | return null;↵
|
56 | }↵ | | 56 | }↵
|
|
57 | /* (non-Javadoc)↵ | | 57 | /* (non-Javadoc)↵
|
58 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getWebSite()↵ | | 58 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getWebSite()↵
|
59 | */↵ | | 59 | */↵
|
60 | public String getWebSite() {↵ | | 60 | public String getWebSite() {↵
|
61 | // TODO Auto-generated method stub↵ | | 61 | // TODO Auto-generated method stub↵
|
62 | return null;↵ | | 62 | return null;↵
|
63 | }↵ | | 63 | }↵
|
|
64 | /* (non-Javadoc)↵ | | 64 | /* (non-Javadoc)↵
|
65 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#initialize()↵ | | 65 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#initialize()↵
|
66 | */↵ | | 66 | */↵
|
67 | public void initialize() throws PluginException {↵ | | 67 | public void initialize() throws PluginException {↵
|
68 | // TODO Auto-generated method stub↵ | | 68 | // TODO Auto-generated method stub↵
|
69 | ↵ | | 69 | ↵
|
70 | }↵ | | 70 | }↵
|
|
71 | /* (non-Javadoc)↵ | | 71 | /* (non-Javadoc)↵
|
72 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#load(net.sourceforge.squirrel_sql.client.IApplication)↵ | | 72 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#load(net.sourceforge.squirrel_sql.client.IApplication)↵
|
73 | */↵ | | 73 | */↵
|
74 | public void load(IApplication app) throws PluginException {↵ | | 74 | public void load(IApplication app) throws PluginException {↵
|
75 | // TODO Auto-generated method stub↵ | | 75 | // TODO Auto-generated method stub↵
|
76 | ↵ | | 76 | ↵
|
77 | }↵ | | 77 | }↵
|
|
78 | /* (non-Javadoc)↵ | | 78 | /* (non-Javadoc)↵
|
79 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#unload()↵ | | 79 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#unload()↵
|
80 | */↵ | | 80 | */↵
|
81 | public void unload() {↵ | | 81 | public void unload() {↵
|
82 | // TODO Auto-generated method stub↵ | | 82 | // TODO Auto-generated method stub↵
|
83 | ↵ | | 83 | ↵
|
84 | }↵ | | 84 | }↵
|
|
85 | /* (non-Javadoc)↵ | | 85 | /* (non-Javadoc)↵
|
86 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getInternalName()↵ | | 86 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getInternalName()↵
|
87 | */↵ | | 87 | */↵
|
88 | public String getInternalName() {↵ | | 88 | public String getInternalName() {↵
|
89 | return "dbcopy";↵ | | 89 | return "dbcopy";↵
|
90 | }↵ | | 90 | }↵
|
|
91 | /* (non-Javadoc)↵ | | 91 | /* (non-Javadoc)↵
|
92 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getDescriptiveName()↵ | | 92 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getDescriptiveName()↵
|
93 | */↵ | | 93 | */↵
|
94 | public String getDescriptiveName() {↵ | | 94 | public String getDescriptiveName() {↵
|
95 | return "DBCopy Plugin";↵ | | 95 | return "DBCopy Plugin";↵
|
96 | }↵ | | 96 | }↵
|
|
97 | /* (non-Javadoc)↵ | | 97 | /* (non-Javadoc)↵
|
98 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getAuthor()↵ | | 98 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getAuthor()↵
|
99 | */↵ | | 99 | */↵
|
100 | public String getAuthor() {↵ | | 100 | public String getAuthor() {↵
|
101 | return "Rob Manning";↵ | | 101 | return "Rob Manning";↵
|
102 | }↵ | | 102 | }↵
|
|
103 | /* (non-Javadoc)↵ | | 103 | /* (non-Javadoc)↵
|
104 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getVersion()↵ | | 104 | * @see net.sourceforge.squirrel_sql.client.plugin.IPlugin#getVersion()↵
|
105 | */↵ | | 105 | */↵
|
106 | public String getVersion() {↵ | | 106 | public String getVersion() {↵
|
107 | return "0.13";↵ | | 107 | return "0.13";↵
|
108 | }↵ | | 108 | }↵
|
109 | public void aliasCopied(SQLAlias source, SQLAlias target) {↵ | | 109 | public void aliasCopied(SQLAlias source, SQLAlias target) {↵
|
110 | // TODO Auto-generated method stub↵ | | 110 | // TODO Auto-generated method stub↵
|
111 | ↵ | | 111 | ↵
|
112 | }↵ | | 112 | }↵
|
113 | public void aliasRemoved(SQLAlias alias) {↵ | | 113 | public void aliasRemoved(SQLAlias alias) {↵
|
114 | // TODO Auto-generated method stub↵ | | 114 | // TODO Auto-generated method stub↵
|
115 | ↵ | | 115 | ↵
|
116 | }↵ | | 116 | }↵
|
117 | public IAliasPropertiesPanelController[] getAliasPropertiesPanelControllers(SQLAlias alias) {↵ | | 117 | public IAliasPropertiesPanelController[] getAliasPropertiesPanelControllers(SQLAlias alias) {↵
|
118 | // TODO Auto-generated method stub↵ | | 118 | // TODO Auto-generated method stub↵
|
119 | return null | | 119 | return null
|