I'm working on a game editor with SWT/JFACE. I'm looking for something like PropertyEditor or PropertyGrid (like PropertyGrid in C#) in SWT, to provide modification of objects in the editor. Does anyone know something like that? Thanks
If you are going to develop standalone SWT application (without Eclipse RCP) you could use this open source library.
Using data bindings might be what you're looking for.
https://developers.google.com/java-dev-tools/wbpro/features/swt/data_binding/example
Related
I'm looking forward to create a Domain Specific Language editor in java.
I'm just starting up so i'm here to get some ideas where to start.
What i want is to create an interface like for my editor may be like eclipse (IDE) and i want it to work like eclipse but for my language as eclipse do for java.
auto completion, spell checking, highlighting text auto end braces etc.
I've Goggled about the topic and i got this:
XTEXT
"Building your own domain-specific languages has never been so easy.
Just put your grammar in place and you not only get the working parser
and linker but also first class Eclipse support."
As it says first class Eclipse support, i don't want eclipse support but i want a complete new interface for this. can i perform what i want using XTEXT or i should use something else?
Please guide me, do tell me if i'm wrong at some point here.
Thanks alot.
I have here a small Scala console application and its working fine. I have now just one trouble: this application should be extended. One of the requests are, that there should be a GUI (AWT,SWT, Swig - doesnt matter, it just have to run on windows).
Well I really dont want to write my own GUI. I like tools like the WindowBuilder. Can I combine this effective? If I would create the GUI with the editor, I'll get generated Java code right? Could this be a problem? I just have to create a Mixin-Project, build the GUI and for each GUI element (Button or whatever with a listener) allocate a scala function. So I dont have to rewrite any of the scala stuff, just point to the function. Is this how it could work? Any suggestions? Thank you
Edit: For me it looks dirty to generate java code in a scala application, but well as I see there is no other solution.
I've done this several times and see no problem with mixing Java and Scala code in one project.
To make things easier for Scala compiler don't put Java and Scala classes into the same package.
I have a program with a GUI developed in swing. There's a menu item that I want to load my API documentation that I created with javadoc. Anyone possibly know how to accomplish this?
This seems like a job for an annotation.
Anyone recommend a good code cleaner for Java. If it had a Netbeans plugin, that would be awesome. Just looking for something simple.
Put variables and functions in order based off scope.
Format the code (Hungarian style)
A really awesome feature would be if it could group together functions that implement a interface for a class.
If you use Alt+Shift+F in Netbeans, it should clean it up for you automatically. You can set preferences within Netbeans as well.
The user needs to browse sites through the Java program (not netbeans IDE), it should behave exactly like FireFox browser or IE, any suggestions ? I need to be able to access the DOM so I can manipulate DOM elements.
Also, is there something equivalent to Perl's CPAN but for Java ?
ugh, i've done something like this a while back in ... c++ i think. that must have been in 2002 or something like that. i used a component from Borland's C++ Builder back then (or did i use delphi?) anyways, i did a quick google search and found a rather antique post from '99; if nothing else, it's perhaps a good place to start.
http://www.javaworld.com/javaworld/javatips/jw-javatip66.html
you may also want to look at http://www.velocityreviews.com/forums/t682627-embedding-web-browser-prefer-firefox-in-java-application.html
i hope this helps!
check out http://www.mozilla.org/projects/blackwood/webclient/