Skip to content
Snippets Groups Projects
Commit 6a80bd18 authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Minor refactoring before merge

parent d2cc30e4
No related branches found
No related tags found
No related merge requests found
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package cz.fidentis.analyst.gui;
/**
* Demo listener for testing.
*
* @author oslejsek
*/
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
import org.openide.awt.ActionRegistration;
import org.openide.util.NbBundle.Messages;
@ActionID(category = "Window",
id = "com.mycompany.mavenproject2.HelloWorldActionListener")
@ActionRegistration(displayName = "#CTL_HelloWorldActionListener")
@ActionReference(path = "Menu/Window", position = 0)
@Messages("CTL_HelloWorldActionListener=Hello World")
public final class HelloWorldActionListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
NotifyDescriptor d = new NotifyDescriptor.Message("hello...");
DialogDisplayer.getDefault().notify(d);
}
}
\ No newline at end of file
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package cz.fidentis.analyst.gui; package cz.fidentis.analyst.gui;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
...@@ -12,6 +7,13 @@ import org.openide.awt.ActionReference; ...@@ -12,6 +7,13 @@ import org.openide.awt.ActionReference;
import org.openide.awt.ActionRegistration; import org.openide.awt.ActionRegistration;
import org.openide.util.NbBundle.Messages; import org.openide.util.NbBundle.Messages;
/**
*
* @author Natalia Bebjakova
*
* Symmetry estimator.
*/
@ActionID( @ActionID(
category = "File", category = "File",
id = "cz.fidentis.analyst.gui.SymmetryEstimator" id = "cz.fidentis.analyst.gui.SymmetryEstimator"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment