SQL Dev SDK:How To create an editor for a NodeThis is a featured page

Introduction

The following example demonstrates how to add a editor tab (s) for a node.
In this case we add 2 new tabs when displaying Table details.

Example

<?xml version="1.0" encoding="UTF-8"?>
<displays>
<display type="editor" style="null" enable="true" class="Oracle#TABLE" objectType="TABLE">
<name><![CDATA[My Tablespace Information]]></name>
<query>
<sql>
<![CDATA[SELECT TABLESPACE_NAME FROM USER_TABLES WHERE UPPER(TABLE_NAME) =UPPER(:NAME)]]>
</sql>
</query>
<CustomValues>
<TYPE>vertical</TYPE>
</CustomValues>
</display>

<display type="editor" class="Oracle#TABLE" objectType="TABLE" style="Code" enable="true" display="Code">
<name><![CDATA[Drop Table]]></name>
<queries>
<query>
<sql>
<![CDATA[SELECT 'DROP TABLE ' || :NAME || ' CASCADE;' FROM DUAL]]>
</sql>
</query>
</queries>
</display>
</displays>



dermoton
dermoton
Latest page update: made by dermoton , Aug 5 2008, 7:55 AM EDT (about this update About This Update dermoton Edited by dermoton

26 words added

view changes

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.