Refine search
@ActionID(category = "CommonTestRunner", id = "org.netbeans.modules.gsf.testrunner.ui.ResultWindow.Rerun") @ActionRegistration(displayName = "#CTL_Rerun") @NbBundle.Messages("CTL_Rerun=Rerun All Tests") public static final class Rerun extends AbstractAction { @Override public void actionPerformed(ActionEvent e) { StatisticsPanel statisticsPanel = getStatisticsPanel(); if(statisticsPanel != null) { statisticsPanel.rerun(false); } } }
@ActionID(category="Profile", id="org.netbeans.modules.profiler.actions.ModifyProfilingAction") @ActionRegistration(displayName="#LBL_ModifyProfilingAction", iconBase="org/netbeans/modules/profiler/impl/icons/modifyProfiling.png", lazy=false) @ActionReference(path="Menu/Profile", position=600) public static ModifyProfilingAction getInstance() { return Singleton.INSTANCE; }
@ActionID(id = "org.netbeans.modules.profiler.actions.RunGCAction", category = "Profile") @ActionRegistration(displayName = "#LBL_RunGCAction", lazy=false) @ActionReference(path = "Menu/Profile", position = 1000, separatorAfter=1100) public static RunGCAction getInstance() { return Singleton.INSTANCE; }
@ActionID(category = "CommonTestRunner", id = "org.netbeans.modules.gsf.testrunner.ui.ResultWindow.RerunFailed") @ActionRegistration(displayName = "#CTL_RerunFailed") @NbBundle.Messages("CTL_RerunFailed=Rerun Failed Tests") public static final class RerunFailed extends AbstractAction { @Override public void actionPerformed(ActionEvent e) { StatisticsPanel statisticsPanel = getStatisticsPanel(); if(statisticsPanel != null) { statisticsPanel.rerun(true); } } }
@ActionID(id = "org.netbeans.modules.profiler.actions.AttachAction", category = "Profile") @ActionRegistration(iconInMenu = true, displayName = "#LBL_AttachMainProjectAction", lazy=false) @ActionReference(path = "Menu/Profile", position = 200) public static AttachAction getInstance() { return Singleton.INSTANCE; }
/** * * @author Eduardo Ramos */ @ActionID(id = "org.gephi.desktop.datalab.actions.ImportSpreadsheet", category = "File") @ActionRegistration(displayName = "#CTL_ImportSpreadsheet", iconInMenu = true) public class ImportSpreadsheet implements ActionListener { @Override public void actionPerformed(ActionEvent e) { DataLaboratoryHelper dlh = Lookup.getDefault().lookup(DataLaboratoryHelper.class); GeneralActionsManipulator m = dlh.getGeneralActionsManipulatorByName("ImportCSV"); if (m != null) { dlh.executeManipulator(m); } else { throw new UnsupportedOperationException(); } } }
@ActionID(id = "org.netbeans.modules.java.platform.ui.PlatformsCustomizerAction", category = "Tools") @ActionRegistration(iconInMenu = false, displayName = "#CTL_PlatformManager") @ActionReference(position = 300, name = "JavaPlatformsCustomizerAction", path = "Menu/Tools") public final class PlatformsCustomizerAction implements ActionListener { public void actionPerformed(ActionEvent e) { org.netbeans.api.java.platform.PlatformsCustomizer.showCustomizer(null); } }
/** * Action to select a field on the map * * @author Timon Veenstra */ @ActionRegistration(displayName = "#action.select_plot_in_map.name", iconBase = "eu/limetri/client/mapviewer/swing/jxmap/icons/map-go-icon.png") @ActionID(category = "TaskBar/Area", id = "eu.limetri.client.mapviewer.swing.util.SelectFieldInMapAction") @NbBundle.Messages("action.select_plot_in_map.name=Go to") public class SelectFieldInMapAction extends AbstractAction { private final Geographical geographical; public SelectFieldInMapAction(Geographical geographical) { super(Bundle.action_select_plot_in_map_name()); this.geographical = geographical; } /** * * @param e */ @Override public void actionPerformed(ActionEvent e) { GeoEvent.getProducer().triggerEvent(GeoEvent.REQUEST_FOCUS, geographical); } }
@ActionID(id = "org.netbeans.modules.profiler.actions.HeapDumpAction", category = "Profile") @ActionRegistration(displayName = "#HeapDumpAction_ActionName", lazy=false) @ActionReference(path = "Menu/Profile", position = 1300) public static HeapDumpAction getInstance() { return Singleton.INSTANCE; }
/** * * @author Victor */ @ActionID( category = "SonarQube", id = "qubexplorer.ui.SonarRunnerAction") @ActionRegistration( displayName = "#CTL_SonarRunnerAction") @NbBundle.Messages("CTL_SonarRunnerAction=Get Issues with Sonar Runner") public class SonarRunnerAction implements ActionListener { private final Project context; public SonarRunnerAction(Project context) { this.context = context; } @Override public void actionPerformed(ActionEvent ae) { String serverUrl = NbPreferences.forModule(SonarQubeOptionsPanel.class).get("address", "http://localhost:9000"); TaskExecutor.execute(new SonarRunnerTask(new ProjectContext(context, ConfigurationFactory.createDefaultConfiguration(context)), serverUrl)); } }
@ActionID(category="Profile", id="org.netbeans.modules.profiler.actions.TelemetryOverviewAction") @ActionRegistration(displayName="#LBL_TelemetryOverviewAction", iconBase="org/netbeans/modules/profiler/impl/icons/telemetryOverviewWindow.png") @ActionReference(path="Menu/Window/Profile", position=500) public static TelemetryOverviewAction getInstance() { return Singleton.INSTANCE; }
/** * Action to select a field on the map * * @author Timon Veenstra */ //TODO move to geoviewer api @ActionRegistration(displayName = "#action.select_plot_in_map.name", iconBase = "nl/cloudfarming/client/geoviewer/map-go-icon.png") @ActionID(category = "TaskBar/Area", id = "nl.cloudfarming.client.area.field.SelectFieldInMapAction") public class SelectFieldInMapAction implements ActionListener { private final Geographical geographical; public SelectFieldInMapAction(Geographical geographical) { this.geographical = geographical; } /** * * @param e */ @Override public void actionPerformed(ActionEvent e) { GeoEvent.getProducer().triggerEvent(GeoEvent.REQUEST_FOCUS, geographical); } }
@ActionID(id = "org.netbeans.modules.project.ant.VariablesCustomizerAction", category = "Tools") @ActionRegistration(iconInMenu = false, displayName = "#ACTION_NAME_Variables") @ActionReference(position = 475, name = "VariablesCustomizerAction", path = "Menu/Tools") public final class VariablesCustomizerAction implements ActionListener { public void actionPerformed(ActionEvent e) { VariablesPanel.showVariablesCustomizer(); } }
@ActionID( category = "SonarQube", id = "qubexplorer.ui.SonarDialogAction") @ActionRegistration( displayName = "#CTL_SonarDialogAction") @Messages("CTL_SonarDialogAction=Get Issues from Server") public final class ServerIssuesAction implements ActionListener { private final Project context; public ServerIssuesAction(Project context) { this.context = context; } @Override public void actionPerformed(ActionEvent ev) { SonarQubeProjectConfiguration configuration = ConfigurationFactory.createDefaultConfiguration(context); if (configuration != null) { final ProjectContext projectContext = new ProjectContext(context, configuration); final SonarQube sonarQube = SonarQubeFactory.createForDefaultServerUrl(); TaskExecutor.execute(new SummaryTask(sonarQube, projectContext, new SummaryOptions<>(Severity.getType(), Collections.emptyList()))); } } }
@ActionID(category = "Tools", id = "org.esa.snap.pixex.visat.PixelExtractionAction" ) @ActionRegistration(displayName = "#CTL_PixelExtractionAction_Text") @ActionReference(path = "Menu/Raster/Export", position = 0) @NbBundle.Messages({"CTL_PixelExtractionAction_Text=Extract Pixel Values"}) public class PixelExtractionAction extends AbstractSnapAction { public PixelExtractionAction() { putValue(SHORT_DESCRIPTION, "Extract pixel values given a list of geographical points from one or more data products."); putValue(HELP_ID, "pixelExtraction"); } @Override public void actionPerformed(ActionEvent e) { new PixelExtractionDialog(getAppContext(), "Pixel Extraction", getHelpId()).show(); } }
@Messages("LBL_TestProject_Action=Test") @ActionID(id = "org.netbeans.modules.groovy.support.GroovyProjectModule.test.project", category = "Groovy") @ActionRegistration(lazy = false, displayName = "#LBL_TestProject_Action") public static Action testProject() { return ProjectSensitiveActions.projectCommandAction( ActionProvider.COMMAND_TEST, LBL_TestProject_Action(), null); }
/** * Action which will load the shape filePicker * * @author Timon Veenstra */ @ActionID(id = "nl.cloudfarming.client.area.field.LoadShapeFileAction", category = "Tools") @ActionRegistration(iconInMenu = true, displayName = "nl.cloudfarming.client.area.field.Bundle#CTL_LoadShapeFileAction", iconBase = "nl/cloudfarming/client/area/field/map-add-icon.png") @ActionReference(path = "Menu/Tools", position = 50) public class LoadShapeFileAction implements ActionListener { @Override public void actionPerformed(ActionEvent e) { ShapeFilePicker filePicker = new ShapeFilePicker(); filePicker.show(); } }
/** * * @author Timon Veenstra */ @ActionID(id = "nl.cloudfarming.client.sensor.area.LinkActionListener", category = "Tools/Sensor") @ActionRegistration(iconInMenu = true, displayName = "#link.process.title", iconBase="nl/cloudfarming/client/sensor/linksensordata.png") @ActionReference(path = "Menu/Tools/Sensor", position = 60) public class LinkActionListener implements ActionListener{ private static final int POOL_SIZE = 1; @Override public void actionPerformed(ActionEvent e) { Thread processThread = new Thread(new LinkSensorTask(Executors.newFixedThreadPool(POOL_SIZE))); processThread.start(); } }
/** * * @author Rohan Ranade */ @ActionID(category="Edit", id="org.netbeans.modules.spring.beans.jumpto.type.GoToBean") @ActionRegistration(displayName="#TXT_GoToSpringBean") @ActionReference(path="Menu/GoTo", position=250) public class GoToBeanAction extends AbstractAction { public GoToBeanAction() { super(NbBundle.getMessage(GoToBeanAction.class, "TXT_GoToSpringBean")); putValue("PopupMenuText", NbBundle.getBundle(GoToBeanAction.class).getString("editor-popup-TXT_GoToSpringBean")); // NOI18N } @Override public void actionPerformed(ActionEvent e) { TypeDescriptor typeDescriptor = TypeBrowser.browse(NbBundle.getMessage(GoToBeanAction.class, "DLG_GoToSpringBean"), null, new SpringBeansTypeProvider()); if (typeDescriptor != null) { typeDescriptor.open(); } } }
/** * Invokes the Spectral Unmixing UI. * * @author Norman Fomferra */ @ActionID(category = "Processors", id = "org.esa.snap.unmixing.ui.SpectralUnmixingAction") @ActionRegistration(displayName = "#CTL_SpectralUnmixingAction_Text") @ActionReference(path = "Menu/Optical", position = 10) @NbBundle.Messages({ "CTL_SpectralUnmixingAction_Text=Spectral Unmixing" }) public class SpectralUnmixingAction extends AbstractSnapAction { private SpectralUnmixingDialog dialog; @Override public void actionPerformed(ActionEvent e) { if (dialog == null) { dialog = new SpectralUnmixingDialog(getAppContext()); } dialog.show(); } }