Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 458ae7461c96b7dec253a2c027330f139f7b80b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
 * Copyright (c) 2011-2013, 2015, 2016 Eike Stepper (Berlin, Germany) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Eike Stepper - initial API and implementation
 *    Christian W. Damus (CEA LIST) - bug 418452
 */
package org.eclipse.emf.cdo.internal.common;

import org.eclipse.emf.cdo.common.CDOCommonRepository;

import org.eclipse.net4j.util.properties.DefaultPropertyTester;
import org.eclipse.net4j.util.properties.IProperties;

/**
 * @author Eike Stepper
 */
public class RepositoryProperties extends AbstractRepositoryProperties<CDOCommonRepository>
{
  public static final IProperties<CDOCommonRepository> INSTANCE = new RepositoryProperties();

  private RepositoryProperties()
  {
    super(CDOCommonRepository.class);
  }

  @Override
  protected CDOCommonRepository getRepository(CDOCommonRepository receiver)
  {
    return receiver;
  }

  public static void main(String[] args)
  {
    new Tester().dumpContributionMarkup();
  }

  /**
   * @author Eike Stepper
   */
  public static final class Tester extends DefaultPropertyTester<CDOCommonRepository>
  {
    public static final String NAMESPACE = "org.eclipse.emf.cdo.repository";

    public Tester()
    {
      super(NAMESPACE, INSTANCE);
    }
  }
}

Back to the top