jtulach commented on PR #7059: URL: https://github.com/apache/netbeans/pull/7059#issuecomment-1959810383
> rationale for including prj.getLookup() rather than just prj. Is this done anywhere else? No, probably it is not done. In fact it not even a project instance is being sent in NetBeans IDE. The lookup I am seeing in `isActionEnabled` for `run.single` command on `.enso` file is: ``` lkp = (org.netbeans.modules.project.ui.actions.LookupSensitiveAction$LastActivatedWindowLookup) ProxyLookup(class=class org.netbeans.modules.project.ui.actions.LookupSensitiveAction$LastActivatedWindowLookup)->[AbstractLookup[IL[org.enso.tools.enso4igv.EnsoDataObject@4a5cf04f[ /NetBeansProjects/enso/enso/engine/runtime/src/main/scala/org/enso/interpreter/instrument/newEnsoTemplate.enso@b45c7282:377acd25], org.netbeans.modules.openide.loaders.SimpleES, IL[org.openide.loaders.MimeFactory@5aff7ebf, IL[org.openide.loaders.DataNode[name=newEnsoTemplate; displayName=newEnsoTemplate.enso][Name=newEnsoTemplate, displayName=newEnsoTemplate.enso], IL[/NetBeansProjects/enso/enso/engine/runtime/src/main/scala/org/enso/interpreter/instrument/newEnsoTemplate.enso@b45c7282:377acd25]] ``` E.g. it contains `FileObject.getLookup()`, but it doesn't seem to contain the project neither its lookup. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
