File: PixieInfo.java

package info (click to toggle)
libpixie-java 1%3A0.8.4-1
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k
  • size: 1,000 kB
  • ctags: 2,695
  • sloc: java: 11,136; xml: 114; makefile: 16
file content (52 lines) | stat: -rw-r--r-- 1,328 bytes parent folder | download
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
package org.jfree.pixie;

import java.util.Arrays;

import org.jfree.JCommon;
import org.jfree.ui.about.Contributor;
import org.jfree.ui.about.Licences;
import org.jfree.ui.about.ProjectInfo;

public class PixieInfo extends ProjectInfo
{
  private static PixieInfo singleton;

  /**
   * Returns the single instance of this class.
   *
   * @return The single instance of information about the JCommon library.
   */
  public static PixieInfo getInstance ()
  {
    if (singleton == null)
    {
      singleton = new PixieInfo();
    }
    return singleton;
  }

  /**
   * Creates a new instance. (Must be public so that we can instantiate
   * the library-info using Class.newInstance(..)).
   */
  public PixieInfo ()
  {
    setName("Pixie");
    setVersion("0.8.4");
    setInfo("Pixie is a viewer library for WindowsMetaFiles (WMF)");
    setCopyright
            ("(C)opyright 2000-2004, by Thomas Morgner, Object Refinery Limited and Contributors");

    setLicenceName("LGPL");
    setLicenceText(Licences.getInstance().getLGPL());

    setContributors(Arrays.asList(new Contributor[]
    {
      new Contributor("David Gilbert", "david.gilbert@object-refinery.com"),
      new Contributor("Thomas Morgner", "taqua@users.sourceforge.net"),
    }));

    addLibrary(JCommon.INFO);
    addDependency(JCommon.INFO);
  }
}