public final class EcoreEditorPlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final EcoreEditorPlugin INSTANCE = new EcoreEditorPlugin(); /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private static Implementation plugin; /** * Create the instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EcoreEditorPlugin() { super (new ResourceLocator [] { }); } /** * Returns the singleton instance of the Eclipse plugin. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the singleton instance. * @generated */ @Override public ResourceLocator getPluginResourceLocator() { return plugin; } /** * Returns the singleton instance of the Eclipse plugin. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the singleton instance. * @generated */ public static Implementation getPlugin() { return plugin; } /** * The actual implementation of the Eclipse <b>Plugin</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static class Implementation extends EclipseUIPlugin { /** * Creates an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Implementation() { super(); // Remember the static instance. // plugin = this;
public final class EMFEditUIPlugin extends EMFPlugin { /** * The singleton instance of the plugin. */ public static final EMFEditUIPlugin INSTANCE = new EMFEditUIPlugin(); /** * The one instance of this class. */ private static Implementation plugin; /** * Creates the singleton instance. */ private EMFEditUIPlugin() { super(new ResourceLocator[] {}); } /* * Javadoc copied from base class. */ @Override public ResourceLocator getPluginResourceLocator() { return plugin; } /** * Returns the singleton instance of the Eclipse plugin. * @return the singleton instance. */ public static Implementation getPlugin() { return plugin; } /** * The actual implementation of the Eclipse <b>Plugin</b>. */ public static class Implementation extends EclipseUIPlugin { /** * Creates an instance. */ public Implementation() { super(); // Remember the static instance. // plugin = this;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreEditorPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/EMFEditUIPlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public final class EcoreEditorPlugin extends EMFPlugin
1
public final class EMFEditUIPlugin extends EMFPlugin 
2
{
2
{
3
  /**
3
  /**
4
   * Keep track of the singleton.
4
   * 
5
   * <!-- begin-user-doc -->
6
   * <!-- end-user-doc -->
7
   * @generated
5
The singleton instance of the plugin.
8
   */
6
   */
9
  public static final EcoreEditorPlugin INSTANCE = new EcoreEditorPlugin();
7
  public static final EMFEditUIPlugin INSTANCE = new EMFEditUIPlugin();
10
  /**
8
  /**
11
   * Keep track of the singleton.
9
   * The one in
12
   * <!-- begin-user-doc -->
13
   * <!-- end-user-doc -->
14
   * @generated
10
stance of this class.
15
   */
11
   */
16
  private static Implementation plugin;
12
  private static Implementation plugin;
17
  /**
13
  /**
18
   * Create the instance.
14
   * Creates the 
19
   * <!-- begin-user-doc -->
20
   * <!-- end-user-doc -->
21
   * @generated
22
   */
23
  public Ecore
15
singleton instance.
16
   */
24
EditorPlugin()
17
  private EMFEditUIPlugin()
25
  {
18
  {
26
    super
19
    super
27
      (new ResourceLocator [] 
20
(new ResourceLocator[] 
28
      {
29
      });
21
{});
30
  }
22
  }
31
  /**
23
  /*
32
   * Returns the singleton instance of the Eclipse plugin.
24
   * 
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
35
   * @return the singleton instance.
36
   * @generated
25
Javadoc copied from base class.
37
   */
26
   */
38
  @Override
27
  @Override
39
  public ResourceLocator getPluginResourceLocator()
28
  public ResourceLocator getPluginResourceLocator()
40
  {
29
  {
41
    return plugin;
30
    return plugin;
42
  }
31
  }
43
  /**
32
  /**
44
   * Returns the singleton instance of the Eclipse plugin.
33
   * Returns the singleton instance of the Eclipse plugin.
45
   * <!-- begin-user-doc -->
46
   * <!-- end-user-doc -->
47
   * @return the singleton instance.
34
   * @return the singleton instance.
48
   * @generated
49
   */
35
   */
50
  public static Implementation getPlugin()
36
  public static Implementation getPlugin()
51
  {
37
  {
52
    return plugin;
38
    return plugin;
53
  }
39
  }
54
  /**
40
  /**
55
   * The actual implementation of the Eclipse <b>Plugin</b>.
41
   * The actual implementation of the Eclipse <b>Plugin</b>.
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @generated
59
   */
42
   */
60
  public static class Implementation extends EclipseUIPlugin
43
  public static class Implementation extends EclipseUIPlugin 
61
  {
44
  {
62
    /**
45
    /**
63
     * Creates an instance.
46
     * Creates an instance.
64
     * <!-- begin-user-doc -->
65
     * <!-- end-user-doc -->
66
     * @generated
67
     */
47
     */
68
    public Implementation()
48
    public Implementation()
69
    {
49
    {
70
      super();
50
      super();
71
  
72
      // Remember the static instance.
51
      // Remember the static instance.
73
      //
52
      //
74
      plugin = this;
53
      plugin = this;
75
    
54
    
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0