Question..
Have you ever been using using the JDeveloper file navigator and wishing you could immediately drill down to the filesystem so you could quickly create a new subfolder, rename or delete files etc? Is this even possible?
Yes!
You may be surprised how easy it is to configure an external file browser such as Windows Explorer to work with JDeveloper's file navigator. For example you could browse through a JDeveloper project or workspace and immediately be able to launch Windows Explorer at the location of the files you are pointing to in the navigator.
Here's how!
The following is a quick "How To" describing how to set up Windows Explorer as an "External Tool" in JDeveloper 9.0.3.
- In JDeveloper 9.0.3 invoke the "External Tools" wizard. From the main menu: Tools->External Tools... The External Tools wizard will allow you to integrate ANY external tool to use within JDeveloper
- On the first tabbed page of the wizard click "Add" to create a new tool entry.
- Name the tool "Windows Explorer".
- You can even set a Tooltip.
- If needed, customize the icon. You can use a JDeveloper provided icon or your own.
- Click on the "Details" tab.
- Set the "Executable:" to the location of your windows file explorer. For example: "C:\WINNT\explorer.exe"
- Set "Run in Directory:" to {ParentDir}.
- Set "Arguments:" to {ParentDir}.
- Click on the "Details" tab.
- Check where you want the tool to appear as an option. I prefer on the "Navigator Context Menu" as well as the "Tools Menu".
- Click on the "Enablement" tab.
- Check when you want to the tool to appear. For Windows explorer I prefer always. For other tools which may only work on certain filetypes, you could set up a regular expression rule which only invokes the tool for cetain files.
Here's an example from the contextual help: For Java files: .java$ For Java, JSP and XML files: .java$| .jsp$| .xml$
- That's it! You should now be able to invoke Windows explorer from JDeveloper!
11:50:52 AM
|