use of com.servoy.j2db.smart.plugins.ClientPluginManager in project servoy-client by Servoy.
the class J2DBClient method createPluginManager.
@Override
protected void createPluginManager() {
pluginManager = new ClientPluginManager(this);
pluginAccess = createClientPluginAccessProvider();
getScheduledExecutor().execute(new Runnable() {
public void run() {
if (isShutDown())
return;
getPluginManager().init();
((PluginManager) getPluginManager()).initClientPlugins(J2DBClient.this, (IClientPluginAccess) getPluginAccess());
((FoundSetManager) getFoundSetManager()).setColumnManangers(getPluginManager().getColumnValidatorManager(), getPluginManager().getColumnConverterManager(), getPluginManager().getUIConverterManager());
}
});
}
use of com.servoy.j2db.smart.plugins.ClientPluginManager in project servoy-client by Servoy.
the class J2DBClient method showAppPrefs.
/**
* Show the application dialog
*/
public void showAppPrefs() {
if (ap == null) {
// $NON-NLS-1$
blockGUI(Messages.getString("servoy.client.status.loading.preferencepanels"));
// show cursor / hide menu
SwingHelper.dispatchEvents(300);
try {
ap = new ApplicationPreferences(this);
// Load all default tabs
loadPreferecesPanels(ap);
// Load plugins tabs
((ClientPluginManager) pluginManager).addPreferenceTabs(ap);
ap.pack();
ap.setLocationRelativeTo(mainPanel);
} finally {
releaseGUI();
}
}
ap.setVisible(true);
}
Aggregations