Difference between revisions of "Code Paths"

From iDempiere en
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Category:Code Scratchpad]]
 
[[Category:Code Scratchpad]]
−
[[Category:Development‏‎]]
 
 
[[Category:Developer documentation‏‎]]
 
[[Category:Developer documentation‏‎]]
  
−
Document code paths within iDempiere
+
Document code paths within iDempiere. Also various code related notes.
 +
 
 +
These are all work in progress and open to correction and revision.
  
 
= Open a menu item =
 
= Open a menu item =
  
 
[[Image:Selection_00001.png]]
 
[[Image:Selection_00001.png]]
 +
 +
<nowiki>TabbedDesktop:
 +
 +
public void openWindow(int windowId, MQuery query, Callback<ADWindow> callback) {
 +
final ADWindow adWindow = new ADWindow(Env.getCtx(), windowId, query);
 +
 +
 +
TabbedDesktop.openWindow
 +
 +
AbstractDesktop onMenuSelected
 +
 +
AbstractADWindowContent</nowiki>
 +
 +
= Info windows =
 +
 +
* Read DefaultInfoFactory for more information.
 +
* An InfoWindow is used when a specific info window with 'isvalid' has been configured in AD_InfoWindow.
 +
* An InfoGeneralPanel is used when no specific info window is found.

Latest revision as of 05:39, 29 December 2021


Document code paths within iDempiere. Also various code related notes.

These are all work in progress and open to correction and revision.

Open a menu item

Selection 00001.png

TabbedDesktop:

public void openWindow(int windowId, MQuery query, Callback<ADWindow> callback) {
		final ADWindow adWindow = new ADWindow(Env.getCtx(), windowId, query);
		
		
TabbedDesktop.openWindow

	AbstractDesktop	onMenuSelected
	
	AbstractADWindowContent

Info windows

  • Read DefaultInfoFactory for more information.
  • An InfoWindow is used when a specific info window with 'isvalid' has been configured in AD_InfoWindow.
  • An InfoGeneralPanel is used when no specific info window is found.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.