CloneSet110


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
47420.985compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1471
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileAppendAction.java
2471
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileCloseAction.java
3471
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileNewAction.java
4291
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileOpenAction.java
Next
Last
Clone Instance
1
Line Count
47
Source Line
1
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileAppendAction.java

package net.sourceforge.squirrel_sql.client.session.action;

/*
 * Copyright (C) 2006 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
import net.sourceforge.squirrel_sql.client.IApplication;
import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
import java.awt.event.ActionEvent;

public class FileAppendAction extends SquirrelAction implements ISQLPanelAction {
  private ISQLPanelAPI _panel;

  public FileAppendAction(IApplication app) {
    super(app);
  }

  public void actionPerformed(ActionEvent e) {
    _panel.fileAppend();
  }

  public void setSQLPanel(ISQLPanelAPI panel) {
    _panel = panel;
    setEnabled(null != _panel);
  }
}




Next
Previous
Clone Instance
2
Line Count
47
Source Line
1
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileCloseAction.java

package net.sourceforge.squirrel_sql.client.session.action;

/*
 * Copyright (C) 2006 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
import net.sourceforge.squirrel_sql.client.IApplication;
import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
import java.awt.event.ActionEvent;

public class FileCloseAction extends SquirrelAction implements ISQLPanelAction {
  private ISQLPanelAPI _panel;

  public FileCloseAction(IApplication app) {
    super(app);
  }

  public void actionPerformed(ActionEvent e) {
    _panel.fileClose();
  }

  public void setSQLPanel(ISQLPanelAPI panel) {
    _panel = panel;
    setEnabled(null != _panel);
  }
}




Next
Previous
Clone Instance
3
Line Count
47
Source Line
1
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileNewAction.java

package net.sourceforge.squirrel_sql.client.session.action;

/*
 * Copyright (C) 2006 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
import net.sourceforge.squirrel_sql.client.IApplication;
import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
import java.awt.event.ActionEvent;

public class FileNewAction extends SquirrelAction implements ISQLPanelAction {
  private ISQLPanelAPI _panel;

  public FileNewAction(IApplication app) {
    super(app);
  }

  public void actionPerformed(ActionEvent e) {
    _panel.fileNew();
  }

  public void setSQLPanel(ISQLPanelAPI panel) {
    _panel = panel;
    setEnabled(null != _panel);
  }
}




First
Previous
Clone Instance
4
Line Count
29
Source Line
1
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FileOpenAction.java

package net.sourceforge.squirrel_sql.client.session.action;

import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
import net.sourceforge.squirrel_sql.client.IApplication;
import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
import java.awt.event.ActionEvent;

public class FileOpenAction extends SquirrelAction implements ISQLPanelAction {
  private ISQLPanelAPI _panel;

  public FileOpenAction(IApplication app) {
    super(app);
  }

  public void actionPerformed(ActionEvent e) {
    _panel.fileOpen();
  }

  public void setSQLPanel(ISQLPanelAPI panel) {
    _panel = panel;
    setEnabled(null != _panel);
  }
}




Clone AbstractionParameter Count: 2Parameter Bindings

package net.sourceforge.squirrel_sql.client.session.action;

/*
 * Copyright (C) 2006 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
import net.sourceforge.squirrel_sql.client.IApplication;
import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
import java.awt.event.ActionEvent;

public class [[#variable18e0c500]]extends SquirrelAction implements ISQLPanelAction {
  private ISQLPanelAPI _panel;

  public [[#variable18e0c500]](IApplication app) {
    super(app);
  }

  public void actionPerformed(ActionEvent e) {
    _panel. [[#variable18e0c4c0]]();
  }

  public void setSQLPanel(ISQLPanelAPI panel) {
    _panel = panel;
    setEnabled(null != _panel);
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e0c500]]
FileAppendAction 
12[[#18e0c500]]
FileCloseAction 
13[[#18e0c500]]
FileNewAction 
14[[#18e0c500]]
FileOpenAction 
21[[#18e0c4c0]]
fileAppend 
22[[#18e0c4c0]]
fileClose 
23[[#18e0c4c0]]
fileNew 
24[[#18e0c4c0]]
fileOpen