Difference between revisions of "NF1.0 CustomWindowToolbarButton"
From iDempiere en
m (Language link) |
|||
| Line 18: | Line 18: | ||
[[Image:NF001_CustomWindowToolbarButton001.png]] | [[Image:NF001_CustomWindowToolbarButton001.png]] | ||
| − | + | class ExportAction is implements interface org.adempiere.webui.action.IAction | |
'''OSGi Service Component - Overview''' | '''OSGi Service Component - Overview''' | ||
<br/> | <br/> | ||
Revision as of 16:15, 21 May 2014
Feature: Custom Window Toolbar Buttons
Goal: Technical
Sponsor : Trek Global
Description:
Create custom toolbar button for window using OSGi dynamic service.
Example:
OSGi bundle project for the export button action
class ExportAction is implements interface org.adempiere.webui.action.IAction
OSGi Service Component - Overview
Note that the component name is use to locate the service and also the loading of image and tooltip text.
OSGi Service Component- Services
Bundle activator for auto 2pack import
Create new window toolbar button record
Create tooltip text message
Pack out the toolbar button and tooltip text record
Testing from Eclipse
Result









