All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.squirrel_sql.client.mainframe.action.AliasPropertiesCommand Maven / Gradle / Ivy

Go to download

This is the jar that contains the main application classes which are very specific to SQuirreLSQL.

There is a newer version: 3.5.0
Show newest version
package net.sourceforge.squirrel_sql.client.mainframe.action;

import net.sourceforge.squirrel_sql.fw.sql.ISQLAlias;
import net.sourceforge.squirrel_sql.client.gui.db.aliasproperties.AliasPropertiesController;
import net.sourceforge.squirrel_sql.client.gui.db.SQLAlias;
import net.sourceforge.squirrel_sql.client.IApplication;

public class AliasPropertiesCommand
{
   private ISQLAlias _selectedAlias;
   private IApplication _app;

   public AliasPropertiesCommand(ISQLAlias selectedAlias, IApplication app)
   {
      _selectedAlias = selectedAlias;
      _app = app;
   }

   public void execute()
   {
      // Cast is not so nice, but framework doesn't meet new requirements.
      AliasPropertiesController.showAliasProperties(_app, (SQLAlias)_selectedAlias);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy