Refine search
@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; }
@ActionReferences({ @ActionReference( id=@ActionID(id="org.netbeans.modules.gsf.testrunner.TestMethodRunnerAction", category="CommonTestRunner"), position=860, path="Editors/text/x-php5/Popup") }) @ServiceProvider(service = TestMethodRunnerProvider.class, position = 100) public class PhpTestMethodRunnerProvider extends TestMethodRunnerProvider { @Override public boolean isTestClass(Node activatedNode) { return TestSingleMethodSupport.isTestClass(activatedNode); } @Override public boolean canHandle(Node activatedNode) { return TestSingleMethodSupport.canHandle(activatedNode); } @Override public SingleMethod getTestMethod(Document doc, int caret) { return TestSingleMethodSupport.getTestMethod(doc, caret); } }
@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; }
@ActionReferences({ @ActionReference( id=@ActionID(id="org.netbeans.modules.gsf.testrunner.TestMethodDebuggerAction", category="CommonTestRunner"), position=870, path="Editors/text/x-php5/Popup") }) @ServiceProvider(service = TestMethodDebuggerProvider.class, position = 100) public class PhpTestMethodDebuggerProvider extends TestMethodDebuggerProvider { @Override public boolean isTestClass(Node activatedNode) { return TestSingleMethodSupport.isTestClass(activatedNode); } @Override public boolean canHandle(Node activatedNode) { return TestSingleMethodSupport.canHandle(activatedNode); } @Override public SingleMethod getTestMethod(Document doc, int caret) { return TestSingleMethodSupport.getTestMethod(doc, caret); } }
@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); } }
@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; }
@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; }
@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(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; }
@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(); } }
@ActionID(id = "org.netbeans.modules.profiler.actions.TakeSnapshotAction", category = "Profile") @ActionRegistration(displayName = "#LBL_TakeSnapshotAction") @ActionReferences(value = { @ActionReference(path = "Shortcuts", name = "C-F2"), @ActionReference(path = "Menu/Profile", position = 1200)}) public static TakeSnapshotAction getInstance() { return Singleton.INSTANCE; }
@ActionID(category="Profile", id="org.netbeans.modules.profiler.actions.StopAction") @ActionRegistration(displayName="#LBL_StopAction") @ActionReferences({ @ActionReference(path="Menu/Profile", position=700, separatorAfter=800), @ActionReference(path="Shortcuts", name="S-F2") }) public static StopAction getInstance() { return Singleton.INSTANCE; }
@ActionID(category="Profile", id="org.netbeans.modules.profiler.actions.ResetResultsAction") @ActionRegistration(displayName="#LBL_ResetResultsAction", lazy=false) @ActionReferences({ @ActionReference(path="Menu/Profile", position=900), @ActionReference(path = "Shortcuts", name = "AS-F2") }) public static ResetResultsAction getInstance() { return Singleton.INSTANCE; }
/** * 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(); } }
@ActionID(category = "Time", id = "com.github.kayak.ui.time.StopAction") @ActionRegistration(iconBase = "com/github/kayak/ui/icons/media-playback-stop.png", displayName = "com.github.kayak.ui.time.Bundle#CTL_StopAction") @ActionReferences({ @ActionReference(path = "Toolbars/Time", position = 300), @ActionReference(path = "Menu/Time", position = 300) }) public final class StopAction implements ActionListener { @Override public void actionPerformed(ActionEvent e) { TimeSourceManager.getGlobalTimeSource().stop(); } }
@ActionID(category = "Time", id = "com.github.kayak.ui.time.PlayAction") @ActionRegistration(iconBase = "com/github/kayak/ui/icons/media-playback-start.png", displayName = "com.github.kayak.ui.time.Bundle#CTL_PlayAction") @ActionReferences({ @ActionReference(path = "Toolbars/Time", position = 100), @ActionReference(path = "Menu/Time", position = 100) }) public final class PlayAction implements ActionListener { @Override public void actionPerformed(ActionEvent e) { TimeSourceManager.getGlobalTimeSource().play(); } }
@ActionID(category = "Time", id = "com.github.kayak.ui.time.PauseAction") @ActionRegistration(iconBase = "com/github/kayak/ui/icons/media-playback-pause.png", displayName = "com.github.kayak.ui.time.Bundle#CTL_PauseAction") @ActionReferences({ @ActionReference(path = "Toolbars/Time", position = 200), @ActionReference(path = "Menu/Time", position = 200) }) public final class PauseAction implements ActionListener { @Override public void actionPerformed(ActionEvent e) { TimeSourceManager.getGlobalTimeSource().pause(); } }
/** * 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(); } }
/** * Action to create a new fieldPlan. Will result in showing a dialog * @author Timon Veenstra */ // Action makes button visible in ribbon (menu) @ActionID(id = "nl.cloudfarming.client.planning.tactical.NewFieldPlanAction", category = "Tools") @ActionRegistration(iconInMenu = true, displayName = "#field_plan.new_field_plan_action.action_name", iconBase = "nl/cloudfarming/client/planning/tactical/green_add.png") @ActionReference(path = "Menu/Tools",position=60) public class NewFieldPlanAction extends AbstractAction { private static final String DISPLAY_NAME = NbBundle.getMessage(NewFieldPlanAction.class, "field_plan.new_field_plan_action.action_name"); public NewFieldPlanAction() { putValue(NAME, DISPLAY_NAME); } @Override public final void actionPerformed(ActionEvent e) { FieldPlanController controller = new FieldPlanController(); controller.initPanel(); } }