Is there a way to get the Database tab in IntelliJ? - java

I am using IntelliJ and I use H2 database file (.mv.db) and I need to only view its contents whenever I add something in it. I thought I'd be able to file 'Database' tab in IntelliJ but I didn't find it.
This is what I want (image below)
When I click "View --> tool Windows" I don't see a database option (image below)
I am using Maven, is it possible that a certain plugin I downloaded somehow blocked/removed the database option?
I know there's 'Database Navigator' that I can download as a plugin, but its support for JDBC including H2 is experimental. So it's not a good choice for me. I can't seem to find the database plugin, is there any way to obtain it?

Database tools are a commercial feature, supported in Ultimate edition only.
See the comparison of Community versus Ultimate editions.
The database tools functionality is also available as a separate product, DataGrip.

Related

Properties editor Ui to use in swt/jface application

I am currently working on a project where i have a need to integrate/build a properties editor (like Jboss tools properties editor open in eclipse for editing hibernate configuration files) in my desktop application. I was looking for some good ready to use UI plugin to just integrate in my application or with small changes in the source code of the plugin to make that working according to my needs. Can someone please redirect me to the right way.
Thanks
Take a look at http://www.eclipse.org/sapphire/
In the past, I was using Eclipse Structured Source Editing framework. It gives you extensible XML source editor (e.g. you get most source editor features like syntax highlight, code completion - but you can extend and customize those features) - and you can create an Eclipse Forms-based visual editor that would use the SSE XML DOM as a model (e.g. you may add listeners to DOM nodes - to keep your visual editor in sync with the modifications user makes to the source code.
I found a good SWT wrapper, which has provided some ready to use widgets, PropertyTable is one of them.
https://code.google.com/a/eclipselabs.org/p/opal/wiki/PropertyTable
Hope this will help others.
Hibernate configuration files are xml so you should be able to edit them with the standalone Eclipse IDE. When creating a Hibernate Configuration file you would just save it as configuration.cfg.xml and for hibernate class mapping files you would do className.hbm.xml.
I wouldn't say you would need a plugin to create and edit hibernate configuration files. Hibernate will know what to do with the file when it runs as long as they are in the correct build path.
I hope this helps or at least points you in the right direction.

Can you use JAXX with Eclipse?

I'm wanting to style Swing components with CSS and saw this as my best bet. But I'm having a bit of a problem just finding out if I can use it with Eclipse?
Is it also practical for a medium sized project, or should I be looking for another way to style components?
Here is the Document for your answer
https://docs.google.com/document/d/19bYF0z5sNiwT-zL5VAZBY1CM0MgHA6pqzZ8dP22llvc/edit?usp=sharing
I am not an expert on a subject of Swing and especially JAXX, but I know a thing or two about Eclipse. If this question is still relevant, you can take my answer as a basis to do some more research.
I searched an Eclipse Marketplace and googled a bit but found nothing about JAXX Eclipse support or plugins. If you know french you can check project's documentation. If there is nothing about tool support in the documentation, I suggest you ask the creators directly.
Eclipse gives you some tools you can use to work with file types JAXX uses. From what I have read here, *.jaxx files are just XML files and stylesheets are just a CSS. I suggest you install XML and CSS support through Eclipse Web Tools Platform and associate *.jaxx files with XML editor either when you first open one of the files with such extension or through File Associations Preferences. In order to compile *.jaxx files you can configure Eclipse Project Builder or use an External Tools launcher.
By the way, have you considered using JavaFX?
#duemir
I have mentioned same thing in my Answer Document.
Please check the Above answer by Me (Jugal Thakkar)
OR
Click on this Link
Go to your Link and Check the Resource in that page and try to go Official Website of JAXX.
You are not able to Go on Official Project Page (www.jaxxframework.org/).
I have mentioned all things in My Document so please first go through that.
I can conclude that on This Question.
1) This Project is not Officially Working. because you can't open official Project Website.
so you are not able to access docs and other stuff.

Regarding a Plugin for Eclipse to represent the table references on other table in eclipse

I am working on a java project which has it database in db2 and I connect to database through a common ip , I use the database view perspective of eclipse itself and see the table entries s in eclipse database explorer itself, But I was searching for a plugin in eclipse such that When I click on particular table then a screenshot of it referenced table in form of graph is to be get displayed that shows its references in other tables too..!!
You can use IBM Data Studio that is an Eclipse-based application, with many plugins, including the one that you want.
You can download it for free from http://www-01.ibm.com/software/data/db2/express/download.html (Get Free Tools > Data Studio Full Client)
This is a very good tool to work with DB2 from Eclipse.

Java Netbeans: Editing the MySQL DB connection infos

I just created a new project with NetBeans using the database template to connect to a MySQL database. After searching a while I got a question and hope anyone can help me with that:
I want to create a dialog in my application to change the connection-informations to the MySQL Server. I realized that the template gets the infos out of the persistence.xml file when it compiles. But I cant find the point in the source code where he reads the xml file and gets the informations. Is there any way to hardcode the IP adress and the Database name and so on in the code?
Thanks for your help!
Don't use the Swing Application Framework.
Newer NetBeans IDEs will display this disclaimer if you create a JavaDesktopApplication project:
Note that JSR-296 (Swing Application Framework) is no longer developed and will not become part of the official Java Development Kit as was originally planned. You can still use the Swing Application Framework library as it is, but no further development is expected.
If you are looking for a Swing-based application framework, consider using the NetBeans Platform [platform.netbeans.org][1], which is a full-featured platform suitable for creating complex and scalable desktop applications. The Platform contains APIs that simplify the handling of windows, actions, files, and many other typical application elements.
As to your question regarding the persistance.xml file, that's read somewhere in the framework (probably in org.jdesktop.application.Application). It's not in any of the files in your project. All you can really do is change the values in the file.

How do you read JavaDoc? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
What tools/websites do you use to read JavaDocs?
I currently use Firefox with 20+ tabs open when working on a J2EE project to have all the documentation available which is not very usable, is eating too much memory and is not searchable.
What I would expect from such a tool/website:
Aggregate JavaDocs from different locations
Direct access to types like Ctrl+T in Eclipse or similar
Fulltext search
Cross referencing between all the Java libraries I've chosen
For a tool: offline support
Speed
not mandatory:
possibility to annotate things
support for different versions of a library (+ diffing ?)
IDE integration
Edit:
Thanks for your answers. I knew most of the sites but gave them another try. Here is my judgement:
built-in Eclipse/IDE features
tightly integrated
offline/online support
javadoconline.com (no longer maintained)
works
clean looks
finds matches in more than one version of the api and allows easy switching
simple but working
fast
jdocs (offline)
seems very sophisticated
sometimes slow
some recent versions of libraries seem to be missing (Seam 2.0.0, Hibernate Validators) but it looks like you can add them yourself
IDE integration (not tested)
wiki style comments to each item
docjar.com
works
fast
cluttered UI
javadoc_isearch
greasemonkey script for firefox which makes navigating javadocs easier
works smooth and perfectly
JavaDoc jar can be unzipped directly. In theory any released javadocs can be downloaded and viewed offline.
download directly from maven repository. For example: http://central.maven.org/maven2/com/googlecode/objectify/objectify/5.0.3/objectify-5.0.3-javadoc.jar
Now you get objectify-5.0.3-javadoc.jar, rename the file to objectify-5.0.3-javadoc.zip
use your favourite unzip tool to extract it, now you have a folder objectify-5.0.3-javadoc
double click index.html will open the index page on your default browser.
If you use Eclipse, it offers support for Javadocs. For example, hovering your mouse over a method call will display a tooltip showing you the Javadoc for that method. Documentation for the core Java classes are supported out of the box. However, if your project uses any additional libraries (JAR files), some configuration is required in order to plug their Javadocs into Eclipse.
Go to the "Java Build Path" section of your project properties.
Go to the "Libraries" tab and click the "plus" icon next to the JAR file.
Click "Javadoc location", then the "Edit..." button.
This will let you specify where the Javadocs for that JAR are located. It will even let you specify a website URL, so you don't have to download the Javadocs yourself!
You can find Stanford University's JavaDoc here.
I wrote my own tool for this. Acording to my colleagues it is best they seen.
It indexes by lucene once, and run you small server on background, so yo browse javadocs (pydocs, perldocs..) like in browser. It allows also separate libraries per language so searchses like "biginteger" or simialr dont go wrong.
https://github.com/judovana/JavadocOfflineSearch/releases
I use http://www.teria.com/~koseki/tools/gm/javadoc_isearch/ for FF. Lets me easily browse other libraries as well.
Eclipse integrates well with Javadoc and has an HTML-like viewer for it. You can attach source and javadoc to binaries that will show up when you select a class.
Something like this may be useful?
http://www.docjar.com/
Personally, I've never had a problem with the built-in javadoc browsing tools offered by my IDE.
Currently, I use IntelliJ Idea -- Ctl-Q brings up the javadoc for the method under the cursor, with the hyperlinks to other parts of the documentation functional.
I would imagine NetBeans and Eclipse offer similar functionality.
Hm... How about:
http://edu.netbeans.org/quicktour/javadoc.html - NetBeans supports the Javadoc standard for Java documentation - both viewing it and generating it.
http://globaldocs.zeevbelkin.com/ - This application allows to conveniently browse, over the Internet and local filesystem, multiple javadoc sets, using a single packages/classes hierarchy tree and a searchable index. The viewer supports local and remote docsets (the local docsets, packed to JAR/ZIP-files also are supported).
I prefer NetBeans as it get JavaDoc from Maven ~/.m2 directory automatically...
This plug in for Firefox and Chrome is useful for quickly finding package and class names, though it's not a full text search: https://code.google.com/p/javadoc-search-frame/
Eclipse is a best way to see the javadocs. Hovering the mouse on method or any declaration you will get automatically generated javadocs by eclipse.
Doxygen (http://www.doxygen.nl/) might fit the bill.
EDIT: I may have misread your question, doxygen is a tool to generate documentation and models based off your code and javadoc.

Categories

Resources