Swing Client - load main window tabs / menus / menu entries via OSGI component
Description
We have implemented a Asterisk feature in ADempiere where you can start/end calls from within the application. Also there is a popup window on the desktop when you receive a call and a info-window like window with a telephone list. Now i want to implement this as a plug-in in iDempiere but i noticed that there are no hooks which tell my plugin that the user is logged in so i thought about the following: -In AMenu.jbinit() where all the main window tabs (menu tree tab, workflow tab,...) are created, we could load additional tabs from plug-ins via OSGI component definitions. -In AMenu.createMenu() we could load additional menus/menu entires via OSGI component definitions -In APanel.createMenu() we could load additional menus/menu entires via OSGI component definitions
We don't think this would be necessary for the zk client because there you can simply add DashboardPanels.
Environment
None
Attachments
4
12 Mar 2013, 02:18 PM
11 Mar 2013, 06:20 PM
08 Mar 2013, 05:57 PM
07 Mar 2013, 07:26 PM
Activity
Show:
Carlos Ruiz July 2, 2015 at 1:46 AM
Closing as potential idea
Jan Thielemann March 12, 2013 at 2:18 PM
added a TabFactory for webui
Jan Thielemann March 11, 2013 at 6:20 PM
OSGI_Menu_Tab_2: additional Patch: -load all new menus first -load all additional menu entries for ALL menus -->This way, a plug-in can provide a menu and other plug-ins can provide additional entries for this menu
Jan Thielemann March 8, 2013 at 5:53 PM
The patch contains the following: -A MainWindowTabFactory for adding tabs to the main window via osgi -A DefaultMainWindowTabFactory for creating the default tabs in the main window -A MenuFactory for adding menu items/menus to the main window, windows, form frames and viewers -A fix for the MiniTable if the where clause is null -Changes in WFActivity to adopt the MainWindowTabFactory -Changes in AEnv to adopt the menu factory
Jan Thielemann March 7, 2013 at 7:26 PM
The image shows additional tabs added via a osgi plug-in
We have implemented a Asterisk feature in ADempiere where you can start/end calls from within the application. Also there is a popup window on the desktop when you receive a call and a info-window like window with a telephone list. Now i want to implement this as a plug-in in iDempiere but i noticed that there are no hooks which tell my plugin that the user is logged in so i thought about the following:
-In AMenu.jbinit() where all the main window tabs (menu tree tab, workflow tab,...) are created, we could load additional tabs from plug-ins via OSGI component definitions.
-In AMenu.createMenu() we could load additional menus/menu entires via OSGI component definitions
-In APanel.createMenu() we could load additional menus/menu entires via OSGI component definitions
We don't think this would be necessary for the zk client because there you can simply add DashboardPanels.