The version of Apache log4j used by SoundHelix.

[[ 🗃 ^aEp6o apache-log4j ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aEp6o

SSH: git clone USERNAME@vervis.peers.community:aEp6o

Branches

Tags

PRE_UGLI_MOVE :: src / java / org / apache / log4j / chainsaw /

CommonActions.java

package org.apache.log4j.chainsaw;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.Action;

import org.apache.log4j.chainsaw.help.HelpManager;


/**
 * @author psmith
 *
 */
class CommonActions
{
    private static CommonActions instance = null;
    private static Action SHOW_RELEASE_NOTE; 
    
    
    private void initActions() {
        SHOW_RELEASE_NOTE = new AbstractAction("Release Notes") {

            public void actionPerformed(ActionEvent e)
            {
                HelpManager.getInstance().setHelpURL(ChainsawConstants.RELEASE_NOTES_URL);
                
            }};
    }
    
    static synchronized CommonActions getInstance() {
        if(instance==null) {
            instance = new CommonActions();
        }
        return instance;
    }
    
    /**
     * 
     */
    private CommonActions()
    {
        initActions();
    }

    /**
     * @return
     */
    public Action getShowReleaseNotes()
    {
        return SHOW_RELEASE_NOTE;
    }

}

[See repo JSON]