+1 to use one method.
Mode values:
0 Generation
1 Presentation
3 RunAndRender
Scott
From:
birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Wenfeng Li
Sent: Wednesday, March 14, 2007
2:37 PM
To: Wei Wang; birt-dev@xxxxxxxxxxx
Subject: RE: [birt-dev] API change
request: API change request: AddHyperlinkAction APIs
Which
mode will be return in RunAndRender Task? Will the "mode"
change between generation and rendiner stage of this task?
What do
you think of replacing these two methods (isInFactory() and IsInPresentation()
) with one method - getProcessingStage() with enum value of generation and
rendering?
-----Original
Message-----
From: birt-dev-bounces@xxxxxxxxxxx
[mailto:birt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Wei Wang
Sent: Tuesday, March 13, 2007 8:38
PM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev] API change
request: API change request: Add HyperlinkAction APIs
Add new
methods to return the mode of execution.
Clients
have the request to access the whether a report is in factoryMode or
presentationMode.
For fix
bugs:
131577 ---
Script Access to Factory/Presentation Mode