You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Standard extensions are jar files with an <ahref="https://en.wikipedia.org/wiki/OSGi">OSGi</a> manifest and an extension.xml defining the extension and how it integrates with SQL Developer.</p>
645
645
<ul>
646
-
<li>DependencyExample<br/> This example is built with ant but is also set up for editing & (remote) debugging in the eclipse extension project.<br/></li>
647
-
<li>Building this example requires two external libraries. Copy the required jar files to DependencyExample/lib.<br/> The exact jars needed from them as well as SQL Developer can be found in <em>DependencyExample/DependencyExample.userlibraries</em> which you will also need to modify (SQL Developer paths) and import to use eclipse.<br/>
<p><ahref="..\..\.setup.md.html">Set up your environment</a>, get the required libraries (see above), build the (default) deploy target, and start SQLDeveloper from the command line WITH THE (sqldeveloper/bin/)sqldeveloper -clean OPTION. </p>
654
-
<p>On the first run, only the triggers defined in extension.xml will load.<br/><ahref="images/DependencyExampleAbout.png" target="_blank"><imgsrc="images/DependencyExampleAbout.png" alt="DependencyExampleAbout diagram" style="max-width:100%;" /></a><br/> In our case, that means the context menu entry only and NOT the dependency viewer tab referenced in the hook section (via DependencyExampleGraphViewer.xml which is in the directory the hook says to load xml from) <ahref="images/DependencyExampleContextMenu.png" target="_blank"><imgsrc="images/DependencyExampleContextMenu.png" alt="DependencyExampleContextMenu diagram" style="max-width:100%;" /></a><br/> Which opens the dependency diagram AND causes the rest of the extension hooks to load. (The editor tab name is pulled from the 1st selected node but will switch when focus goes to another editor and back. TODO: This really should be implemented as it's own dockable, not as an 'editor'.) <ahref="images/DependencyExampleZoomedOut.png" target="_blank"><imgsrc="images/DependencyExampleZoomedOut.png" alt="DependencyExampleZoomedOut diagram" style="max-width:100%;" /></a><br/> the diagram is scrollable, zoomable, editable, and can be exported to svg (all thanks to the FXDiagram library.) Double clicking on a node performs a "DrillLink" to open the SQL Developer editor for that node.<br/><ahref="images/DependencyExampleZoomedIn.png" target="_blank"><imgsrc="images/DependencyExampleZoomedIn.png" alt="DependencyExampleZoomedIn diagram" style="max-width:100%;" /></a><br/> Now that it is fully loaded, the viewer definition is active and a dependency graph tab is added to the object viewers. (The next time a new one is opened.) <ahref="images/DependencyExampleViewer.png" target="_blank"><imgsrc="images/DependencyExampleViewer.png" alt="DependencyExampleViewer diagram" style="max-width:100%;" /></a></p>
646
+
<li><p><ahref="..\xml\.packaged.md.html">packaged XML</a><br/> XML Examples packaged as an extension.jar </p></li>
647
+
<li><p><ahref=".DependencyExample.md.html">DependencyExample</a> An example editor and viewer for object dependency graphs. </p></li>
0 commit comments