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 EcoreEditPlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final EcoreEditPlugin INSTANCE = new EcoreEditPlugin(); /** * 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 EcoreEditPlugin() { 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 EclipsePlugin { /** * Creates an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ 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/ecore/provider/EcoreEditPlugin.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 EcoreEditPlugin extends EMFPlugin
2
{
2
{
3
  /**
3
  /**
4
   * Keep track of the singleton.
4
   * Keep track of the singleton.
5
   * <!-- begin-user-doc -->
5
   * <!-- begin-user-doc -->
6
   * <!-- end-user-doc -->
6
   * <!-- end-user-doc -->
7
   * @generated
7
   * @generated
8
   */
8
   */
9
  public static final EcoreEditorPlugin INSTANCE = new EcoreEditorPlugin();
9
  public static final EcoreEditPlugin INSTANCE = new EcoreEditPlugin();
10
  /**
10
  /**
11
   * Keep track of the singleton.
11
   * Keep track of the singleton.
12
   * <!-- begin-user-doc -->
12
   * <!-- begin-user-doc -->
13
   * <!-- end-user-doc -->
13
   * <!-- end-user-doc -->
14
   * @generated
14
   * @generated
15
   */
15
   */
16
  private static Implementation plugin;
16
  private static Implementation plugin;
17
  /**
17
  /**
18
   * Create the instance.
18
   * Create the instance.
19
   * <!-- begin-user-doc -->
19
   * <!-- begin-user-doc -->
20
   * <!-- end-user-doc -->
20
   * <!-- end-user-doc -->
21
   * @generated
21
   * @generated
22
   */
22
   */
23
  public EcoreEditorPlugin()
23
  public EcoreEditPlugin()
24
  {
24
  {
25
    super
25
    super
26
      (new ResourceLocator [] 
26
      (new ResourceLocator [] 
27
      {
27
       {
28
      });
28
       });
29
  }
29
  }
30
  /**
30
  /**
31
   * Returns the singleton instance of the Eclipse plugin.
31
   * Returns the singleton instance of the Eclipse plugin.
32
   * <!-- begin-user-doc -->
32
   * <!-- begin-user-doc -->
33
   * <!-- end-user-doc -->
33
   * <!-- end-user-doc -->
34
   * @return the singleton instance.
34
   * @return the singleton instance.
35
   * @generated
35
   * @generated
36
   */
36
   */
37
  @Override
37
  @Override
38
  public ResourceLocator getPluginResourceLocator()
38
  public ResourceLocator getPluginResourceLocator()
39
  {
39
  {
40
    return plugin;
40
    return plugin;
41
  }
41
  }
42
  /**
42
  /**
43
   * Returns the singleton instance of the Eclipse plugin.
43
   * Returns the singleton instance of the Eclipse plugin.
44
   * <!-- begin-user-doc -->
44
   * <!-- begin-user-doc -->
45
   * <!-- end-user-doc -->
45
   * <!-- end-user-doc -->
46
   * @return the singleton instance.
46
   * @return the singleton instance.
47
   * @generated
47
   * @generated
48
   */
48
   */
49
  public static Implementation getPlugin()
49
  public static Implementation getPlugin()
50
  {
50
  {
51
    return plugin;
51
    return plugin;
52
  }
52
  }
53
  /**
53
  /**
54
   * The actual implementation of the Eclipse <b>Plugin</b>.
54
   * The actual implementation of the Eclipse <b>Plugin</b>.
55
   * <!-- begin-user-doc -->
55
   * <!-- begin-user-doc -->
56
   * <!-- end-user-doc -->
56
   * <!-- end-user-doc -->
57
   * @generated
57
   * @generated
58
   */
58
   */
59
  public static class Implementation extends EclipseUIPlugin
59
  public static class Implementation extends EclipsePlugin
60
  {
60
  {
61
    /**
61
    /**
62
     * Creates an instance.
62
     * Creates an instance.
63
     * <!-- begin-user-doc -->
63
     * <!-- begin-user-doc -->
64
     * <!-- end-user-doc -->
64
     * <!-- end-user-doc -->
65
     * @generated
65
     * @generated
66
     */
66
     */
67
    public Implementation()
67
    public Implementation()
68
    {
68
    {
69
      super();
69
      super();
70
  
71
      // Remember the static instance.
70
      // Remember the static instance.
72
      //
71
      //
73
      plugin = this;
72
      plugin = this;
74
    
73
    
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