/** * Returns a reference to this class. * * @return the instance reference. */ public static Licences getInstance() { if (singleton == null) { singleton = new Licences(); } return singleton; }
/** * Constructs a library reference from a ProjectInfo object. * * @param project information about a project. */ public Library(final ProjectInfo project) { this(project.getName(), project.getVersion(), project.getLicenceName(), project.getInfo()); } }
/** * Mouse pressed event. * * @param e the event. */ public void mousePressed(final MouseEvent e) { maybeShowPopup(e); }
/** * Creates a new library panel for the specified project. * * @param projectInfo the project information. */ public LibraryPanel(final ProjectInfo projectInfo) { this(getLibraries(projectInfo)); }
public void actionPerformed(final ActionEvent e) { copySystemPropertiesToClipboard(); } });
/** * Returns the GPL (v2.1) text. * * @return the GPL licence text. */ public String getGPL() { return readStringResource("gpl-2.0.txt"); }
/** * Constructs a library reference from a ProjectInfo object. * * @param project information about a project. */ public Library(final ProjectInfo project) { this(project.getName(), project.getVersion(), project.getLicenceName(), project.getInfo()); } }
/** * Mouse released event. * * @param e the event. */ public void mouseReleased(final MouseEvent e) { maybeShowPopup(e); }
/** * Returns a reference to this class. * * @return the instance reference. */ public static Licences getInstance() { if (singleton == null) { singleton = new Licences(); } return singleton; }
/** * Creates a new library panel for the specified project. * * @param projectInfo the project information. */ public LibraryPanel(final ProjectInfo projectInfo) { this(getLibraries(projectInfo)); }
public void actionPerformed(final ActionEvent e) { copySystemPropertiesToClipboard(); } });
/** * Returns the LGPL (v2.1) text. * * @return the LGPL licence text. */ public String getLGPL() { return readStringResource("lgpl-2.1.txt"); }
/** * Constructs a library reference from a ProjectInfo object. * * @param project information about a project. */ public Library(final ProjectInfo project) { this(project.getName(), project.getVersion(), project.getLicenceName(), project.getInfo()); } }
/** * Mouse released event. * * @param e the event. */ public void mouseReleased(final MouseEvent e) { maybeShowPopup(e); }
/** * Returns a reference to the single instance of this class. In fact, * there is little point to having an instance of this class, but we're * leaving it that way for backwards compatibility until the JCommon * retirement. * * @return the instance reference. */ public static Licences getInstance() { if (singleton == null) { singleton = new Licences(); } return singleton; }
public LibraryPanel(final ProjectInfo projectInfo) { this(getLibraries(projectInfo)); }
public void actionPerformed(final ActionEvent e) { copySystemPropertiesToClipboard(); } });
/** * Mouse released event. * * @param e the event. */ public void mouseReleased(final MouseEvent e) { maybeShowPopup(e); }
/** * Mouse pressed event. * * @param e the event. */ public void mousePressed(final MouseEvent e) { maybeShowPopup(e); }
/** * Mouse pressed event. * * @param e the event. */ public void mousePressed(final MouseEvent e) { maybeShowPopup(e); }