CloneSet449


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25220.951class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12596
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionObjectTreePropertiesPanel.java
22587
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionSQLPropertiesPanel.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
96
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionObjectTreePropertiesPanel.java

/**
 * Initialize this panel with the "New Session" settings.
 *
 * @param       app     Application API.
 */
public void initialize(IApplication app) {
  _props = _app.getSquirrelPreferences().getSessionProperties();
  _myPanel.loadData(_props);
}

public void initialize(IApplication app, ISession session) throws IllegalArgumentException {
  if (session == null) {
    throw new IllegalArgumentException("Null ISession passed");
  }
  _props = session.getProperties();
  _myPanel.loadData(_props);
}

public Component getPanelComponent() {
  return _scrolledMyPanel;
}

public String getTitle() {
  return ObjectTreepropsPanel.i18n.OBJECT_TREE;
}


First
Previous
Clone Instance
2
Line Count
25
Source Line
87
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionSQLPropertiesPanel.java

public void initialize(IApplication app) {
  _props = _app.getSquirrelPreferences().getSessionProperties();
  _myPanel.loadData(_props);
}

public void initialize(IApplication app, ISession session) throws IllegalArgumentException {
  if (session == null) {
    throw new IllegalArgumentException("Null ISession passed");
  }
  _props = session.getProperties();
  _myPanel.loadData(_props);
}

public Component getPanelComponent() {
  return _scrolledMyPanel;
}

public String getTitle() {
  return s_stringMgr.getString("SessionSQLPropertiesPanel.sql");
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Initialize this panel with the "New Session" settings.
         *
         * @param       app     Application API.
         */
public void initialize(IApplication app) {
  _props = _app.getSquirrelPreferences().getSessionProperties();
  _myPanel.loadData(_props);
}

public void initialize(IApplication app, ISession session) throws IllegalArgumentException {
  if (session == null) {
    throw new IllegalArgumentException("Null ISession passed");
  }
  _props = session.getProperties();
  _myPanel.loadData(_props);
}

public Component getPanelComponent() {
  return _scrolledMyPanel;
}

public String getTitle() {
  return [[#variable1ce30260]] [[#variable1ce30240]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ce30260]]
ObjectTreepropsPanel.i18n 
12[[#1ce30260]]
s_stringMgr 
21[[#1ce30240]]
.OBJECT_TREE 
22[[#1ce30240]]
.getString("SessionSQLPropertiesPanel.sql")