Commit e5bb5129 authored by sandrosantana's avatar sandrosantana

no message

parent 7132046f
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -218,7 +218,7 @@ object Main: TMain ...@@ -218,7 +218,7 @@ object Main: TMain
Left = 392 Left = 392
Top = 16 Top = 16
Bitmap = { Bitmap = {
494C010101000400C00020002000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 494C010101000400C80020002000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
0000000000003600000028000000800000002000000001002000000000000040 0000000000003600000028000000800000002000000001002000000000000040
000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF 000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
......
No preview for this file type
...@@ -53,7 +53,7 @@ inherited MainPortal: TMainPortal ...@@ -53,7 +53,7 @@ inherited MainPortal: TMainPortal
end end
inherited imDefault: TImageList inherited imDefault: TImageList
Bitmap = { Bitmap = {
494C010101000400580020002000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 494C010101000400600020002000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
0000000000003600000028000000800000002000000001002000000000000040 0000000000003600000028000000800000002000000001002000000000000040
000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF 000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
......
...@@ -3,8 +3,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -3,8 +3,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
Top = 0 Top = 0
BorderStyle = bsDialog BorderStyle = bsDialog
Caption = 'Propriedades do Servi'#231'o' Caption = 'Propriedades do Servi'#231'o'
ClientHeight = 349 ClientHeight = 531
ClientWidth = 428 ClientWidth = 701
Color = clBtnFace Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
...@@ -17,14 +17,14 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -17,14 +17,14 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
TextHeight = 13 TextHeight = 13
object Panel1: TPanel object Panel1: TPanel
Left = 0 Left = 0
Top = 307 Top = 489
Width = 428 Width = 701
Height = 42 Height = 42
Align = alBottom Align = alBottom
TabOrder = 0 TabOrder = 0
object btnFechar: TSpeedButton object btnFechar: TSpeedButton
Left = 314 Left = 594
Top = 8 Top = 6
Width = 95 Width = 95
Height = 26 Height = 26
Caption = 'Fechar' Caption = 'Fechar'
...@@ -61,14 +61,16 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -61,14 +61,16 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
object Panel2: TPanel object Panel2: TPanel
Left = 0 Left = 0
Top = 0 Top = 0
Width = 428 Width = 701
Height = 307 Height = 489
Align = alClient Align = alClient
Ctl3D = False
ParentCtl3D = False
TabOrder = 1 TabOrder = 1
object GroupBox1: TGroupBox object GroupBox1: TGroupBox
Left = 8 Left = 8
Top = 4 Top = 4
Width = 409 Width = 681
Height = 113 Height = 113
Caption = 'Servi'#231'o' Caption = 'Servi'#231'o'
TabOrder = 0 TabOrder = 0
...@@ -96,8 +98,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -96,8 +98,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
object edtArquivo: TEdit object edtArquivo: TEdit
Left = 71 Left = 71
Top = 24 Top = 24
Width = 322 Width = 593
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 0 TabOrder = 0
...@@ -105,8 +107,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -105,8 +107,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
object edtCaminho: TEdit object edtCaminho: TEdit
Left = 71 Left = 71
Top = 51 Top = 51
Width = 322 Width = 593
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 1 TabOrder = 1
...@@ -114,8 +116,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -114,8 +116,8 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
object edtVersao: TEdit object edtVersao: TEdit
Left = 71 Left = 71
Top = 78 Top = 78
Width = 322 Width = 593
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 2 TabOrder = 2
...@@ -124,17 +126,10 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -124,17 +126,10 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
object gpbBancoDeDados: TGroupBox object gpbBancoDeDados: TGroupBox
Left = 8 Left = 8
Top = 123 Top = 123
Width = 409 Width = 337
Height = 170 Height = 170
Caption = 'Banco de dados (.config)' Caption = 'Banco de dados (.config)'
TabOrder = 1 TabOrder = 1
object Label4: TLabel
Left = 13
Top = 56
Width = 101
Height = 13
Caption = 'Persist Security Info:'
end
object Label5: TLabel object Label5: TLabel
Left = 70 Left = 70
Top = 30 Top = 30
...@@ -144,21 +139,21 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -144,21 +139,21 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
end end
object Label6: TLabel object Label6: TLabel
Left = 74 Left = 74
Top = 82 Top = 56
Width = 40 Width = 40
Height = 13 Height = 13
Caption = 'User ID:' Caption = 'User ID:'
end end
object Label7: TLabel object Label7: TLabel
Left = 44 Left = 73
Top = 108 Top = 82
Width = 70 Width = 41
Height = 13 Height = 13
Caption = 'Initial Catalog:' Caption = 'Catalog:'
end end
object Label8: TLabel object Label8: TLabel
Left = 55 Left = 55
Top = 135 Top = 108
Width = 59 Width = 59
Height = 13 Height = 13
Caption = 'Datasource:' Caption = 'Datasource:'
...@@ -166,45 +161,134 @@ object itPropriedadesDoServico: TitPropriedadesDoServico ...@@ -166,45 +161,134 @@ object itPropriedadesDoServico: TitPropriedadesDoServico
object edtProvider: TEdit object edtProvider: TEdit
Left = 120 Left = 120
Top = 27 Top = 27
Width = 273 Width = 201
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 0 TabOrder = 0
end end
object edtSecurityInfo: TEdit object edtUserID: TEdit
Left = 120 Left = 120
Top = 53 Top = 53
Width = 273 Width = 201
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 1 TabOrder = 1
end end
object edtUserID: TEdit object edtInitialCatalog: TEdit
Left = 120 Left = 120
Top = 79 Top = 79
Width = 273 Width = 201
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 2 TabOrder = 2
end end
object edtInitialCatalog: TEdit object edtDataSource: TEdit
Left = 120 Left = 120
Top = 105 Top = 105
Width = 273 Width = 201
Height = 21 Height = 19
Color = 15132390 Color = 15132390
ReadOnly = True ReadOnly = True
TabOrder = 3 TabOrder = 3
end end
object edtDataSource: TEdit end
object grp1: TGroupBox
Left = 351
Top = 123
Width = 338
Height = 170
Caption = 'Uso da mem'#243'ria (KB)'
TabOrder = 2
object lbl1: TLabel
Left = 26
Top = 56
Width = 88
Height = 13
Caption = 'Peak Working Set:'
end
object lbl2: TLabel
Left = 52
Top = 30
Width = 62
Height = 13
Caption = 'Working Set:'
end
object lbl3: TLabel
Left = 36
Top = 82
Width = 78
Height = 13
Caption = 'Page file Usage:'
end
object lbl4: TLabel
Left = 10
Top = 108
Width = 104
Height = 13
Caption = 'Peak Page file Usage:'
end
object lbl5: TLabel
Left = 25
Top = 135
Width = 89
Height = 13
Caption = 'Allocated Memory:'
end
object edtWorkingSetSize: TEdit
Left = 120
Top = 27
Width = 201
Height = 19
BiDiMode = bdRightToLeft
Color = 15132390
ParentBiDiMode = False
ReadOnly = True
TabOrder = 0
end
object edtPeakWorkingSetSize: TEdit
Left = 120
Top = 53
Width = 201
Height = 19
BiDiMode = bdRightToLeft
Color = 15132390
ParentBiDiMode = False
ReadOnly = True
TabOrder = 1
end
object edtPagefileUsage: TEdit
Left = 120
Top = 79
Width = 201
Height = 19
BiDiMode = bdRightToLeft
Color = 15132390
ParentBiDiMode = False
ReadOnly = True
TabOrder = 2
end
object edtPeakPagefileUsage: TEdit
Left = 120
Top = 105
Width = 201
Height = 19
BiDiMode = bdRightToLeft
Color = 15132390
ParentBiDiMode = False
ReadOnly = True
TabOrder = 3
end
object edtAllocatedMemory: TEdit
Left = 120 Left = 120
Top = 132 Top = 132
Width = 273 Width = 201
Height = 21 Height = 19
BiDiMode = bdRightToLeft
Color = 15132390 Color = 15132390
ParentBiDiMode = False
ReadOnly = True ReadOnly = True
TabOrder = 4 TabOrder = 4
end end
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -25,6 +25,7 @@ type ...@@ -25,6 +25,7 @@ type
fEntityCode: string; fEntityCode: string;
FActionID: string; FActionID: string;
FNomeBuscador: string; FNomeBuscador: string;
FHeadersInitialized: Boolean;
function GetNivel: integer; function GetNivel: integer;
procedure SetUseCaseActions(const Value: acObjectList); procedure SetUseCaseActions(const Value: acObjectList);
procedure SetNomeBuscador(const Value: string); procedure SetNomeBuscador(const Value: string);
...@@ -75,6 +76,7 @@ type ...@@ -75,6 +76,7 @@ type
property Nivel: integer read GetNivel; property Nivel: integer read GetNivel;
property ActionID: string read FActionID write FActionID; property ActionID: string read FActionID write FActionID;
property NomeBuscador: string read FNomeBuscador write SetNomeBuscador; property NomeBuscador: string read FNomeBuscador write SetNomeBuscador;
property HeadersInitialized: Boolean read FHeadersInitialized write FHeadersInitialized;
procedure PreencherGrid(piXML:string); overload; virtual; procedure PreencherGrid(piXML:string); overload; virtual;
procedure PreencherGrid(piField:utField); overload; virtual; procedure PreencherGrid(piField:utField); overload; virtual;
procedure SetLabelsInGrid(piNode: IXMLNode); overload; virtual; procedure SetLabelsInGrid(piNode: IXMLNode); overload; virtual;
...@@ -395,7 +397,7 @@ begin ...@@ -395,7 +397,7 @@ begin
begin begin
while not lEnum.EOL do while not lEnum.EOL do
begin begin
if self.ListViewObj.Columns.Count = 0 then self.SetLabelsInGrid(piField); self.SetLabelsInGrid(piField);
lField := utField(lEnum.Current); lField := utField(lEnum.Current);
ListItem := self.ListViewObj.Items.Add; ListItem := self.ListViewObj.Items.Add;
ListItem.ImageIndex := -1; ListItem.ImageIndex := -1;
...@@ -517,6 +519,69 @@ var lEnum: acEnumerator; ...@@ -517,6 +519,69 @@ var lEnum: acEnumerator;
lAttributeEnum, lEnumUseCaseAction: acEnumerator; lAttributeEnum, lEnumUseCaseAction: acEnumerator;
lListColumn: TListColumn; lListColumn: TListColumn;
begin begin
if piField.HasField('Headers') then
begin
LockWindowUpdate(self.ListViewObj.handle);
self.ListViewObj.Items.BeginUpdate;
try
self.ListViewObj.Columns.Clear;
lEnum := piField.FieldByName('Headers').GetFieldsEnumerator;
try
if not lEnum.EOL then
begin
lAttributeEnum := utField(lEnum.Current).GetAttibutesEnumerator;
try
if not lAttributeEnum.EOL then lAttributeEnum.MoveNext; // Ignora attributo OID que e sempre o primeiro
while not lAttributeEnum.EOL do
begin
lListColumn := Self.ListViewObj.Columns.Add;
lListColumn.Caption := utField(lAttributeEnum.Current).Name;
lListColumn.ImageIndex := -1;
FColumnsHint.Add('');
lAttributeEnum.MoveNext;
end;
finally
lAttributeEnum.Free;
end;
end;
finally
lEnum.Free
end;
if assigned(FUseCaseActions) then
begin
lEnumUseCaseAction := FUseCaseActions.GetEnumerator;;
try
while not lEnumUseCaseAction.EOL do
begin
case TMenuActionUseCase(lEnumUseCaseAction.current).ViewUseCaseType of
mavList:
begin
lListColumn := Self.ListViewObj.Columns.Add;
// lListColumn.Caption := TMenuActionUseCase(lEnumUseCaseAction.current).Name;
FColumnsHint.Add(TMenuActionUseCase(lEnumUseCaseAction.current).Hint);
//Utiliza a tag da coluna como ponteiro, guardando qual o caso de uso que ser executado
//ao clicar em um item desta coluna
lListColumn.Tag := integer(TMenuActionUseCase(lEnumUseCaseAction.current));
lListColumn.ImageIndex := -1;
end;
end;
lEnumUseCaseAction.MoveNext;
end;
Self.ListViewObj.Columns.Add;
finally
lEnumUseCaseAction.Free;
end;
end;
finally
self.ListViewObj.Items.EndUpdate;
LockWindowUpdate(0);
end;
end
else
begin
if (not FHeadersInitialized) and (self.ListViewObj.Columns.Count = 0) then
begin
LockWindowUpdate(self.ListViewObj.handle); LockWindowUpdate(self.ListViewObj.handle);
self.ListViewObj.Items.BeginUpdate; self.ListViewObj.Items.BeginUpdate;
try try
...@@ -558,7 +623,7 @@ begin ...@@ -558,7 +623,7 @@ begin
mavList: mavList:
begin begin
lListColumn := Self.ListViewObj.Columns.Add; lListColumn := Self.ListViewObj.Columns.Add;
// lListColumn.Caption := TMenuActionUseCase(lEnumUseCaseAction.current).Name; // lListColumn.Caption := TMenuActionUseCase(lEnumUseCaseAction.current).Name;
FColumnsHint.Add(TMenuActionUseCase(lEnumUseCaseAction.current).Hint); FColumnsHint.Add(TMenuActionUseCase(lEnumUseCaseAction.current).Hint);
//Utiliza a tag da coluna como ponteiro, guardando qual o caso de uso que ser executado //Utiliza a tag da coluna como ponteiro, guardando qual o caso de uso que ser executado
//ao clicar em um item desta coluna //ao clicar em um item desta coluna
...@@ -578,6 +643,8 @@ begin ...@@ -578,6 +643,8 @@ begin
self.ListViewObj.Items.EndUpdate; self.ListViewObj.Items.EndUpdate;
LockWindowUpdate(0); LockWindowUpdate(0);
end; end;
end;
end;
end; end;
procedure TsiBuscaObjetosBasicaPortal.setListViewObj(const Value: TListView); procedure TsiBuscaObjetosBasicaPortal.setListViewObj(const Value: TListView);
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -244,8 +244,6 @@ xcopy /y %TEMP%\acuConexoSecurityDriver.dcu . ...@@ -244,8 +244,6 @@ xcopy /y %TEMP%\acuConexoSecurityDriver.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuConexoLDAPSecurityDriver.dcu . xcopy /y %TEMP%\acuConexoLDAPSecurityDriver.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuPdSeguSecurityDriver.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\PdSeguWebServiceWrapper.dcu . xcopy /y %TEMP%\PdSeguWebServiceWrapper.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuSQLDialectManager.dcu . xcopy /y %TEMP%\acuSQLDialectManager.dcu .
...@@ -270,13 +268,9 @@ IF ERRORLEVEL 1 GOTO ENDERROR ...@@ -270,13 +268,9 @@ IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuNativeSecurityDriver.dcu . xcopy /y %TEMP%\acuNativeSecurityDriver.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuBanestesLDAPSecurityDriver.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuMd5.dcu . xcopy /y %TEMP%\acuMd5.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\acuCorretorBansegSecurityDriver.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\nguUsuarioInternet.dcu . xcopy /y %TEMP%\nguUsuarioInternet.dcu .
IF ERRORLEVEL 1 GOTO ENDERROR IF ERRORLEVEL 1 GOTO ENDERROR
xcopy /y %TEMP%\nguUsuarioInternetMaster.dcu . xcopy /y %TEMP%\nguUsuarioInternetMaster.dcu .
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment