Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
StarUML Evológica Plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
evologica
StarUML Evológica Plugin
Commits
bd29700c
Commit
bd29700c
authored
Aug 05, 2019
by
Sandro Camata Santana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajuste de layout e correção na geração código de classes
parent
aeafbf1f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
100 additions
and
107 deletions
+100
-107
CurioAddIn.dpr
EvoUMLPlugin/src/CurioAddIn.dpr
+8
-18
IntegracaoDelphiSUML.pas
EvoUMLPlugin/src/IntegracaoDelphiSUML.pas
+2
-0
ituDataBaseLogin.dfm
EvoUMLPlugin/src/ituDataBaseLogin.dfm
+32
-32
ituExplorerV2.dfm
EvoUMLPlugin/src/ituExplorerV2.dfm
+23
-22
uDBAttributeParameters.dfm
EvoUMLPlugin/src/uDBAttributeParameters.dfm
+35
-35
No files found.
EvoUMLPlugin/src/CurioAddIn.dpr
View file @
bd29700c
...
...
@@ -40,28 +40,20 @@ uses
utuXSD in 'utuXSD.pas',
DelphiAddInObj in 'DelphiAddInObj.pas';
type
{ ExceptionCatch }
ExceptionCatch= Class
public
procedure CustomExceptionHandler(Sender: TObject; E: Exception);
end;
exports
InitializeAddIn,
FinalizeAddIn,
DoMenuAction;
{ ExceptionCatch }
procedure ExceptionCatch.CustomExceptionHandler(Sender: TObject; E: Exception);
begin
Application.MessageBox(PChar(E.message), 'Error...', MB_ICONERROR or MB_OK);
end;
begin
{$if declared(UseHeapTrace)}
if UseHeaptrace then
begin
GlobalSkipIfNoLeaks := True;
DeleteFile('CURIOAddIn.trc');
SetHeapTraceOutput('CURIOAddIn.trc');
end;
{$ifend}
ChangeLocaleFormatSetting;
gDefaultDatabaseDriver := typeOf(acDatabaseSQLODBC);
PersistenceManager.DefaultRepositoryClass := typeOf(acRepositorySQL);
...
...
@@ -76,8 +68,6 @@ begin
{$ENDIF}
Application.Initialize;
Application.Scaled := True;
Application.OnException := ExceptionCatch.CustomExceptionHandler;
// Application.CaptureExceptions := True;
...
...
EvoUMLPlugin/src/IntegracaoDelphiSUML.pas
View file @
bd29700c
...
...
@@ -188,6 +188,7 @@ end;
function
FinalizeAddIn
:
Integer
;
{$IFDEF MSWINDOWS}
stdcall
;
{$ELSE}
cdecl
;
{$ENDIF}
begin
gStarUMLApp
:=
Nil
;
Result
:=
0
;
end
;
function
DoMenuAction
(
ActionID
:
Integer
):
Integer
;
{$IFDEF MSWINDOWS}
stdcall
;
{$ELSE}
cdecl
;
{$ENDIF}
...
...
@@ -1607,6 +1608,7 @@ begin
if
not
piMetaModelOptions
.
SilentMode
then
PutMessage
(
FormatDateTime
(
'hh:nn:ss'
,
Time
)
+
' - Model mappings generated.'
,
gStarUMLApp
.
GetProject
,
2
);
end
;
end
;
MetaModel
.
SetOrder
;
finally
end
;
...
...
EvoUMLPlugin/src/ituDataBaseLogin.dfm
View file @
bd29700c
object DataBaseLogin: TDataBaseLogin
Left = 1
48
0
Height = 5
37
Top = 2
99
Left = 1
16
0
Height = 5
42
Top = 2
17
Width = 440
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Connect to Database Server'
ClientHeight = 5
37
ClientHeight = 5
42
ClientWidth = 440
Color = clBtnFace
OnClose = FormClose
OnShow = FormShow
ParentFont = True
Position = poOwnerFormCenter
LCLVersion = '2.0.
0.4
'
LCLVersion = '2.0.
2.0
'
object GroupBox2: TGroupBox
Left = 8
Height = 2
08
Height = 2
16
Top = 288
Width = 424
ClientHeight =
20
6
ClientWidth = 42
2
ClientHeight =
19
6
ClientWidth = 42
0
TabOrder = 1
object edtUsuario: TLabeledEdit
Left = 15
Height =
4
3
Height =
2
3
Top = 95
Width = 400
EditLabel.Height = 1
9
EditLabel.Height = 1
5
EditLabel.Width = 400
EditLabel.Caption = 'Usuário'
EditLabel.ParentColor = False
...
...
@@ -35,11 +35,11 @@ object DataBaseLogin: TDataBaseLogin
end
object edtPassword: TLabeledEdit
Left = 15
Height =
4
3
Height =
2
3
Top = 160
Width = 400
EchoMode = emPassword
EditLabel.Height = 1
9
EditLabel.Height = 1
5
EditLabel.Width = 400
EditLabel.Caption = 'Senha'
EditLabel.ParentColor = False
...
...
@@ -48,46 +48,46 @@ object DataBaseLogin: TDataBaseLogin
end
object cbDialect: TComboBox
Left = 15
Height =
39
Height =
23
Top = 25
Width = 400
ItemHeight =
0
ItemHeight =
15
OnChange = cbODBCD_DSNChange
Style = csDropDownList
TabOrder = 0
end
object Label2: TLabel
Left = 15
Height = 1
9
Height = 1
5
Top = 5
Width =
48
Width =
37
Caption = 'Dialeto'
ParentColor = False
end
end
object GroupBox1: TGroupBox
Left = 8
Height = 2
72
Height = 2
80
Top = 8
Width = 424
ClientHeight = 2
7
0
ClientWidth = 42
2
ClientHeight = 2
6
0
ClientWidth = 42
0
TabOrder = 0
object cbODBCD_DSN: TComboBox
Left = 26
Height =
39
Height =
23
Top = 48
Width = 389
ItemHeight =
0
ItemHeight =
15
OnChange = cbODBCD_DSNChange
Style = csDropDownList
TabOrder = 1
end
object rbDSN: TRadioButton
Left = 10
Height =
24
Height =
19
Top = 16
Width = 1
3
0
Width = 1
0
0
Caption = 'Selecionar DSN'
Checked = True
OnClick = rbDSNClick
...
...
@@ -96,30 +96,30 @@ object DataBaseLogin: TDataBaseLogin
end
object rbPersonalizado: TRadioButton
Left = 10
Height =
24
Height =
19
Top = 88
Width =
119
Width =
93
Caption = 'Personalizado'
OnClick = rbPersonalizadoClick
TabOrder = 2
end
object cbODBCD_DRIVERS: TComboBox
Left = 26
Height =
39
Height =
23
Top = 115
Width = 389
Enabled = False
ItemHeight =
0
ItemHeight =
15
OnChange = cbODBCD_DSNChange
Style = csDropDownList
TabOrder = 3
end
object edtDatabaseName: TLabeledEdit
Left = 26
Height =
4
3
Height =
2
3
Top = 232
Width = 389
EditLabel.Height = 1
9
EditLabel.Height = 1
5
EditLabel.Width = 389
EditLabel.Caption = 'Nome do Banco de Dados'
EditLabel.ParentColor = False
...
...
@@ -128,10 +128,10 @@ object DataBaseLogin: TDataBaseLogin
end
object edtServerName: TLabeledEdit
Left = 26
Height =
4
3
Height =
2
3
Top = 176
Width = 389
EditLabel.Height = 1
9
EditLabel.Height = 1
5
EditLabel.Width = 389
EditLabel.Caption = 'Servidor'
EditLabel.ParentColor = False
...
...
@@ -142,7 +142,7 @@ object DataBaseLogin: TDataBaseLogin
object Panel2: TPanel
Left = 0
Height = 40
Top =
497
Top =
502
Width = 440
Align = alBottom
ClientHeight = 40
...
...
EvoUMLPlugin/src/ituExplorerV2.dfm
View file @
bd29700c
...
...
@@ -11582,7 +11582,7 @@ object ExplorerV2: TExplorerV2
ParentFont = True
Position = poMainFormCenter
ShowInTaskBar = stAlways
LCLVersion = '2.0.
0.4
'
LCLVersion = '2.0.
2.0
'
object splVertical: TSplitter
Left = 360
Height = 696
...
...
@@ -11604,7 +11604,7 @@ object ExplorerV2: TExplorerV2
object pnlResult: TPanel
Left = 0
Height = 185
Top = 4
90
Top = 4
88
Width = 867
Align = alBottom
BevelOuter = bvNone
...
...
@@ -11677,14 +11677,14 @@ object ExplorerV2: TExplorerV2
end
object tsError: TTabSheet
Caption = 'tsError'
ClientHeight = 1
81
ClientWidth = 85
7
ClientHeight = 1
77
ClientWidth = 85
9
ImageIndex = 1
object memErrorText: TMemo
Left = 0
Height = 1
81
Height = 1
77
Top = 0
Width = 85
7
Width = 85
9
Align = alClient
BorderStyle = bsNone
ParentColor = True
...
...
@@ -11697,7 +11697,7 @@ object ExplorerV2: TExplorerV2
end
object pcEditor: TPageControl
Left = 0
Height = 43
7
Height = 43
5
Top = 48
Width = 502
ActivePage = tsOQL
...
...
@@ -11710,13 +11710,13 @@ object ExplorerV2: TExplorerV2
Options = [nboMultiLine]
object tsOQL: TTabSheet
Caption = 'OQL - Object Query Language'
ClientHeight = 40
4
ClientWidth = 49
2
ClientHeight = 40
7
ClientWidth = 49
4
inline SynEditOQL: TSynEdit
Left = 0
Height = 40
4
Height = 40
7
Top = 0
Width = 49
2
Width = 49
4
Align = alClient
Color = clWindow
Font.Color = clWindowText
...
...
@@ -11730,7 +11730,7 @@ object ExplorerV2: TExplorerV2
OnDragDrop = memOQLQuery2DragDrop
OnDragOver = memOQLQuery2DragOver
BorderStyle = bsNone
Gutter.Width =
23
Gutter.Width =
19
Gutter.MouseActions = <>
RightGutter.Width = 0
RightGutter.MouseActions = <>
...
...
@@ -12193,7 +12193,7 @@ object ExplorerV2: TExplorerV2
MouseActions = <>
end
object SynGutterLineNumber1: TSynGutterLineNumber
Width = 1
7
Width = 1
3
MouseActions = <>
MarkupInfo.Background = clBtnFace
MarkupInfo.Foreground = clNone
...
...
@@ -12245,7 +12245,7 @@ object ExplorerV2: TExplorerV2
ParentFont = False
TabOrder = 0
BorderStyle = bsNone
Gutter.Width =
2
3
Gutter.Width =
3
3
Gutter.MouseActions = <>
RightGutter.Width = 0
RightGutter.MouseActions = <>
...
...
@@ -12809,7 +12809,7 @@ object ExplorerV2: TExplorerV2
Style = tbsCheck
end
object ToolButton8: TToolButton
Left = 3
55
Left = 3
39
Top = 2
Action = XMLQuery
Grouped = True
...
...
@@ -12831,7 +12831,7 @@ object ExplorerV2: TExplorerV2
end
object spResultObject: TSplitter
Left = 502
Height = 43
7
Height = 43
5
Top = 48
Width = 5
Align = alRight
...
...
@@ -12840,16 +12840,16 @@ object ExplorerV2: TExplorerV2
end
inline OQLObjects: TObjectExplorer
Left = 507
Height = 43
7
Height = 43
5
Top = 48
Width = 360
Align = alRight
ClientHeight = 43
7
ClientHeight = 43
5
ClientWidth = 360
TabOrder = 4
Visible = False
inherited tvExplorer: TTreeView
Height = 43
7
Height = 43
5
Width = 360
Images = ilModel
ParentColor = True
...
...
@@ -12862,7 +12862,7 @@ object ExplorerV2: TExplorerV2
Cursor = crVSplit
Left = 0
Height = 5
Top = 48
5
Top = 48
3
Width = 867
Align = alBottom
ResizeAnchor = akBottom
...
...
@@ -12870,9 +12870,10 @@ object ExplorerV2: TExplorerV2
end
object sbStatusBar: TStatusBar
Left = 0
Height = 2
1
Top = 67
5
Height = 2
3
Top = 67
3
Width = 867
AutoSize = False
Panels = <
item
Width = 400
...
...
EvoUMLPlugin/src/uDBAttributeParameters.dfm
View file @
bd29700c
object fDBAttributeParameters: TfDBAttributeParameters
Left =
0
Height = 3
53
Top =
27
Left =
2174
Height = 3
80
Top =
341
Width = 348
BorderStyle = bsDialog
Caption = 'fDBAttributeParameters'
ClientHeight = 3
53
ClientHeight = 3
80
ClientWidth = 348
Color = clBtnFace
Font.Color = clWindowText
...
...
@@ -14,7 +14,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
KeyPreview = True
OnShow = FormShow
Position = poDesktopCenter
LCLVersion = '2.0.
0.4
'
LCLVersion = '2.0.
2.0
'
object pnlError: TPanel
Left = 0
Height = 27
...
...
@@ -44,7 +44,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
object Panel2: TPanel
Left = 0
Height = 44
Top = 3
09
Top = 3
36
Width = 348
Align = alBottom
ClientHeight = 44
...
...
@@ -52,9 +52,9 @@ object fDBAttributeParameters: TfDBAttributeParameters
TabOrder = 1
object ckbCheckLength: TCheckBox
Left = 9
Height =
23
Height =
19
Top = 6
Width = 8
8
Width = 8
2
Caption = 'Check length'
TabOrder = 0
end
...
...
@@ -98,27 +98,27 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object Panel3: TPanel
Left = 0
Height =
282
Height =
309
Top = 27
Width = 348
Align = alClient
ClientHeight =
282
ClientHeight =
309
ClientWidth = 348
TabOrder = 0
object GroupBox1: TGroupBox
Left = 11
Height =
85
Height =
90
Top = 6
Width = 323
Caption = 'Attribute (StarUML)'
ClientHeight = 7
0
ClientWidth = 3
21
ClientHeight = 7
2
ClientWidth = 3
19
TabOrder = 0
object Label5: TLabel
Left = 12
Height = 16
Top =
54
Width = 3
2
Top =
45
Width = 3
3
Caption = 'Type:'
Font.Color = clWindowText
Font.Height = -13
...
...
@@ -129,7 +129,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
object Label6: TLabel
Left = 7
Height = 16
Top =
23
Top =
14
Width = 38
Caption = 'Name:'
Font.Color = clWindowText
...
...
@@ -140,13 +140,13 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object cbbStarUMLTypes: TComboBox
Left = 52
Height = 2
8
Top =
50
Height = 2
4
Top =
41
Width = 249
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
ItemHeight =
0
ItemHeight =
16
OnClick = cbbStarUMLTypesClick
ParentFont = False
Style = csDropDownList
...
...
@@ -154,8 +154,8 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object edtAttributeName: TEdit
Left = 52
Height =
33
Top =
20
Height =
24
Top =
11
Width = 249
Font.Color = clWindowText
Font.Height = -13
...
...
@@ -167,12 +167,12 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object GroupBox2: TGroupBox
Left = 11
Height =
184
Top =
97
Height =
200
Top =
105
Width = 323
Caption = 'DB Mappings'
ClientHeight = 1
69
ClientWidth = 3
21
ClientHeight = 1
82
ClientWidth = 3
19
TabOrder = 1
object Label1: TLabel
Left = 16
...
...
@@ -190,7 +190,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
Left = 21
Height = 16
Top = 62
Width = 3
2
Width = 3
3
Caption = 'Type:'
Font.Color = clWindowText
Font.Height = -13
...
...
@@ -224,7 +224,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object lblAttLength: TLabel
Left = 290
Height = 1
4
Height = 1
3
Top = 35
Width = 58
Caption = 'lblAttLength'
...
...
@@ -232,9 +232,9 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object ckbMand: TCheckBox
Left = 18
Height = 2
3
Height = 2
0
Top = 159
Width = 8
6
Width = 8
0
Caption = 'Mandatory'
Font.Color = clWindowText
Font.Height = -13
...
...
@@ -244,7 +244,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object edtName: TEdit
Left = 67
Height =
33
Height =
24
Top = 29
Width = 214
Font.Color = clWindowText
...
...
@@ -256,7 +256,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object edtFSize: TEdit
Left = 67
Height =
33
Height =
24
Top = 89
Width = 78
Font.Color = clWindowText
...
...
@@ -267,7 +267,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object edtVSize: TEdit
Left = 67
Height =
33
Height =
24
Top = 119
Width = 78
Font.Color = clWindowText
...
...
@@ -284,7 +284,7 @@ object fDBAttributeParameters: TfDBAttributeParameters
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
ItemHeight =
0
ItemHeight =
16
Items.Strings = (
'CHAR'
'DATETIME'
...
...
@@ -302,9 +302,9 @@ object fDBAttributeParameters: TfDBAttributeParameters
end
object ckbIsAuditable: TCheckBox
Left = 154
Height =
23
Height =
19
Top = 159
Width =
80
Width =
74
Caption = 'IsAuditable'
TabOrder = 5
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment