CloneSet377


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28320.959compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12716
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/themes/plugin/GtkLookAndFeelPlugin.java
22816
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/themes/plugin/MotifLookAndFeelPlugin.java
32816
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/themes/plugin/WindowsLookAndFeelPlugin.java
Next
Last
Clone Instance
1
Line Count
27
Source Line
16
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/themes/plugin/GtkLookAndFeelPlugin.java

//The contents of this file are subject to the Mozilla Public License Version 1.1
//(the "License"); you may not use this file except in compliance with the 
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003. 
//
//All Rights Reserved.
package org.columba.core.gui.themes.plugin;

import javax.swing.UIManager;

/**
 * @author frd
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class GtkLookAndFeelPlugin extends AbstractThemePlugin {
   /**
*
*/
  public GtkLookAndFeelPlugin() {
    super();
  }

   /* (non-Javadoc)
* @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()
*/
  public void setLookAndFeel() throws Exception {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
  }
}




Next
Previous
Clone Instance
2
Line Count
28
Source Line
16
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/themes/plugin/MotifLookAndFeelPlugin.java

//The contents of this file are subject to the Mozilla Public License Version 1.1
//(the "License"); you may not use this file except in compliance with the 
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003. 
//
//All Rights Reserved.
package org.columba.core.gui.themes.plugin;

import javax.swing.UIManager;

/**
 * @author frd
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class MotifLookAndFeelPlugin extends AbstractThemePlugin {
   /**
*
*/
  public MotifLookAndFeelPlugin() {
    super();
  }

   /* (non-Javadoc)
* @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()
*/
  public void setLookAndFeel() throws Exception {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
  }
}




First
Previous
Clone Instance
3
Line Count
28
Source Line
16
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/themes/plugin/WindowsLookAndFeelPlugin.java

//The contents of this file are subject to the Mozilla Public License Version 1.1
//(the "License"); you may not use this file except in compliance with the 
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003. 
//
//All Rights Reserved.
package org.columba.core.gui.themes.plugin;

import javax.swing.UIManager;

/**
 * @author frd
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class WindowsLookAndFeelPlugin extends AbstractThemePlugin {
   /**
*
*/
  public WindowsLookAndFeelPlugin() {
    super();
  }

   /* (non-Javadoc)
* @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()
*/
  public void setLookAndFeel() throws Exception {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
  }
}




Clone AbstractionParameter Count: 2Parameter Bindings

//The contents of this file are subject to the Mozilla Public License Version 1.1
//(the "License"); you may not use this file except in compliance with the 
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003. 
//
//All Rights Reserved.
package org.columba.core.gui.themes.plugin;

import javax.swing.UIManager;

/**
 * @author frd
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class [[#variable132ad480]]extends AbstractThemePlugin {
  /**
   *
   */
  public [[#variable132ad480]]() {
    super();
  }

  /* (non-Javadoc)
   * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()
   */
  public void setLookAndFeel() throws Exception {
    UIManager.setLookAndFeel( [[#variable1328e7e0]]);
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#132ad480]]
GtkLookAndFeelPlugin 
12[[#132ad480]]
MotifLookAndFeelPlugin 
13[[#132ad480]]
WindowsLookAndFeelPlugin 
21[[#1328e7e0]]
"com.sun.java.swing.plaf.gtk.GTKLookAndFeel" 
22[[#1328e7e0]]
"com.sun.java.swing.plaf.motif.MotifLookAndFeel" 
23[[#1328e7e0]]
"com.sun.java.swing.plaf.windows.WindowsLookAndFeel"