Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-debug-dev] jdt launch shortcuts on non java files

On Thu, 2005-12-01 at 18:12 -0800, Jared Burns wrote:
> Have you tried clicking on the action to Run As... -> Java Application 
> to see what it does? I'd be curious to know if the shortcut sticks 
> around even after the JDT Debug UI plug-in has been loaded.


The JDT shortcuts do disappear after they are loaded. When I do Run As
Java Application it complains that there is no main type and then after
that the shortcuts are gone. I would rather have the shortcuts not
appear in the first place.

I don't see any reason why this editor would be adaptable to an
IJavaElement. It extends org.eclipse.ui.part.EditorPart and doesn't have
anything to do with the JDT. Then again I am new to eclipse so I'm
probably missing something here. Is there anything I might have done
that would make my editor adaptable to IJavaElement? Or maybe something
I can do to explicitly make it not adaptable to IJavaElement?

It must be possible to have the shortcuts never appear in the first
place because they don't appear for cpp or executable files that the CDT
works with.

Thanks,
-- 
Ryan Boder
http://bitwiserlabs.com



Back to the top