Enable a Command in RCP Eclipse

0

I just created a command and I want to make it work with the creation of a Handler but when I run this error comes to me.

It says that the command that you created earlier is not enabled. The question: How do I enable it?

Here the error:

  

! ENTRY org.eclipse.ui 4 0 2018-02-12 10: 12: 29.099! MESSAGE Unhandled   event loop exception! STACK 0 java.lang.RuntimeException:   com.dag.gsp.ovf.sqs.fiss_erst.command.startqnttermine: Trying to   execute the disabled command   com.dag.gsp.ovf.sqs.fiss_erst.command.startqnterst at   com.dag.gsp.ovf.sqs.fiss_erst.views.algo.AlgorithmSelectionView $ 6.widgetSelected (AlgorithmSelectionView.java:341)     at   org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:248)     at org.eclipse.swt.widgets.EventTable.sendEvent (EventTable.java:84)     at org.eclipse.swt.widgets.Widget.sendEvent (Widget.java:1053) at   org.eclipse.swt.widgets.Display.runDeferredEvents (Display.java:4169)     at org.eclipse.swt.widgets.Display.readAndDispatch (Display.java:3758)     at   org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java:2701)     at org.eclipse.ui.internal.Workbench.runUI (Workbench.java:2665) at   org.eclipse.ui.internal.Workbench.access $ 4 (Workbench.java:2499) at   org.eclipse.ui.internal.Workbench $ 7.run (Workbench.java:679) at   org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)     at   org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:668)     at   org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java:149)     at   com.dag.gsp.ovf.sqs.application.ToolSuiteApplication.start (ToolSuiteApplication.java:35)     at   org.eclipse.equinox.internal.app.EclipseAppHandle.run (EclipseAppHandle.java:196)     at   org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:110)     at   org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java:79)     at   org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:353)     at   org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:180)     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at   sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at   sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) at   java.lang.reflect.Method.invoke (Unknown Source) at   org.eclipse.equinox.launcher.Main.invokeFramework (Main.java:629) at   org.eclipse.equinox.launcher.Main.basicRun (Main.java:584) at   org.eclipse.equinox.launcher.Main.run (Main.java:1438) at   org.eclipse.equinox.launcher.Main.main (Main.java:1414)

    
asked by BEN 12.02.2018 в 11:01
source

0 answers