Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Override isTitle() and isCustome() methods in TitleBlockImpl

- Summary: Override isTitle() and isCustome() methods in TitleBlockImpl

- Bugzilla Bug (s) Resolved: None

- Description:
Set the chart script as follows:
cm.setScript("importPackage(Packages.org.eclipse.birt.chart.model.layout); " //$NON-NLS-1$
+ "function beforeDrawBlock(block, scriptContext)" //$NON-NLS-1$
+ "{if (block.isTitle())" //$NON-NLS-1$
+ "block.getOutline().setVisible( true );" }" //$NON-NLS-1$
);

Title bock is still invisible after taking the script, because isTitle( ) returns false by default.

- Tests Description: N/A

- Files Edited:
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/TitleBlockImpl.java


- Files Added: None

- Notes to Build Team: N/A

- Notes to Developers: N/A

- Notes to QA: N/A

- Notes to Documentation: N/A

 

Regards,

Nina


Back to the top