mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 10:30:58 +00:00
* DBModeler/Resources/SQLGenerator.gsmarkup: make window resizeable * DBModeler/CodeGenerator.m: add credits for initialCapitalString and initialLowercaseString use ASSIGN() in generated code. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30260 72102866-910b-0410-8b05-ffd578937521
95 lines
3.6 KiB
XML
95 lines
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE gsmarkup>
|
|
<gsmarkup>
|
|
<objects>
|
|
|
|
<window title="SQL Generation" id="sqlgenWindow" resizable="yes">
|
|
<vbox leftPadding="10" padding="10">
|
|
<box title="SQL Generation Options" topPadding="10"
|
|
leftPadding="15" rightPadding="15" width="425">
|
|
<hbox halign="wexpand" valign="top">
|
|
<vbox halign="left" valign="top" rightPadding="15">
|
|
<button id="dropDatabase" title="Drop Database"
|
|
type="switch" halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
<button id="dropTables" title="Drop Tables"
|
|
type="switch" halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
<button id="dropPKSupport"
|
|
title="Drop Primary Key Support" type="switch"
|
|
halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
</vbox>
|
|
<vbox halign="right" valign="top">
|
|
<button id="createDB" title="Create Database"
|
|
type="switch" halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
<button id="createTables" title="Create Tables"
|
|
type="switch" halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
<button id="createPKConstraints"
|
|
title="Primary Key Constraints" type="switch"
|
|
halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
<button id="createFKConstraints"
|
|
title="Foreign Key Constraints" type="switch"
|
|
halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
<button id="createPKSupport"
|
|
title="Create Primary Key Support"
|
|
type="switch" halign="left" valign="top"
|
|
action="switchChanged:" target="#NSOwner"
|
|
padding="1.5" />
|
|
</vbox>
|
|
</hbox>
|
|
</box>
|
|
<scrollView width="425" height="300"
|
|
borderType="bezel" leftPadding="15" rightPadding="15"
|
|
hasHorizontalScroller="no">
|
|
<textView id="sqlOutput"/>
|
|
</scrollView>
|
|
<hbox halign="left" padding="8">
|
|
<button id="executeSQL" title="Execute SQL"
|
|
type="momentaryPushIn" halign="left" valign="center"
|
|
action="executeSQL:" target="#NSOwner" width="115"
|
|
leftPadding="5" />
|
|
<button id="saveAs" title="Save As..."
|
|
type="momentaryPushIn" halign="left" valign="center"
|
|
action="saveAs:" target="#NSOwner" width="100" />
|
|
<button id="tables" title="Tables..."
|
|
type="momentaryPushIn" halign="left" valign="center"
|
|
action="showTables:" target="#NSOwner" width="100" />
|
|
</hbox>
|
|
</vbox>
|
|
</window>
|
|
|
|
</objects>
|
|
|
|
<connectors>
|
|
<outlet source="#NSOwner" target="#sqlgenWindow" key="window"/>
|
|
<outlet source="#NSOwner" target="#dropDatabase"
|
|
key="dropDatabaseSwitch" />
|
|
<outlet source="#NSOwner" target="#createDB"
|
|
key="createDatabaseSwitch"/>
|
|
<outlet source="#NSOwner" target="#dropTables"
|
|
key="dropTablesSwitch"/>
|
|
<outlet source="#NSOwner" target="#createTables"
|
|
key="createTablesSwitch"/>
|
|
<outlet source="#NSOwner" target="#dropPKSupport"
|
|
key="dropPKSwitch"/>
|
|
<outlet source="#NSOwner" target="#createPKSupport"
|
|
key="createPKSwitch"/>
|
|
<outlet source="#NSOwner" target="#createPKConstraints"
|
|
key="createPKConstraintsSwitch" />
|
|
<outlet source="#NSOwner" target="#createFKConstraints"
|
|
key="createFKConstraintsSwitch" />
|
|
<outlet source="#NSOwner" target="#sqlOutput" key="sqlOutput"/>
|
|
</connectors>
|
|
</gsmarkup>
|