Giter Club home page Giter Club logo

gossip's People

Contributors

homebeaver avatar

Watchers

 avatar  avatar

gossip's Issues

einfaches multirow window am Beispiel "Organization Type"

Vergleich AD und gossip:

grafik

select * from ad_menu where ad_menu_id=441 -- für sonstige ad_menu informationen, wie ad_window_id=304, ... name="Organization Type"
select * from ad_treenodeMM where node_id=441 -- für parent_id und segno

select * from ad_window where ad_window_id=304          -- window metadaten

select seqno,tablevel,hastree,issinglerow,name --,*     -- tab metadaten
from ad_tab where ad_window_id=304 --and isactive='Y'
order by seqno
-- liefert:
10;0;"N";"N";"Org Type"

gossip swingx-client starten aus eclipse

main class: org.compiere.Adempiere
im launcher

  • Program arguments: com.klst.gossip.RootFrame

  • VM arguments: wie adempiere launcher

Der Spash verhindert den Start der alternativen clients - war mit 3.9.2 nicht so!?
Daher vorerst auskommentiert:

//(base) org.compiere.Adempiere ...
	public static void main (String[] args)
	{	
//		Splash.getSplash();
...

Info Window

mehrere, beginnend mit Product + BPartner (analog zu AD Views):

grafik

Analogie zu AD (client) AEnv.actionPerformed:

		//  View Menu   ------------------------
		else if (actionCommand.equals("InfoProduct") && AEnv.canAccessInfo("PRODUCT"))
		{
			org.compiere.apps.search.Info.showProduct (Env.getFrame(c), WindowNo);
		}
		else if (actionCommand.equals("InfoBPartner") && AEnv.canAccessInfo("BPARTNER"))
		{
			org.compiere.apps.search.Info.showBPartner (Env.getFrame(c), WindowNo);
		}
		else if (actionCommand.equals("InfoAsset") && AEnv.canAccessInfo("ASSET"))

und in abstract class Info extends CDialog ...

	public static void showProduct (Frame frame, int WindowNo)
	{
		Info info = new InfoProduct (frame, false, WindowNo, 
			Env.getContextAsInt(Env.getCtx(), WindowNo, "M_Warehouse_ID"),
			Env.getContextAsInt(Env.getCtx(), WindowNo, "M_PriceList_ID"), 
			0,		// Record ID
			"",		//	value 
			false, false, "");
		AEnv.showCenterWindow(frame, info);
	}   //  showProduct

adempiere looks aktualisieren

die subkomponente looks (eclipse subproject) hat keinen code. Sie ist möglicherweise völlig unnötig. Die letzten Aktivitäten liegen Jahre zurück.

Main-Class org.adempiere.plaf.AdempierePLAF bzw das ganze package org.adempiere.plaf gehörten wahrscheinlich mal zu looks und wurden nach base verschoben.

looks nutzt veraltete jars, dazu siehe adempiere Look and Feel:

  • /tools/lib/looks-2.0.4.ja , neueste jgoodies-looks-2.5.3.jar und jgoodies-common-1.8.1.jar
  • /tools/lib/swingx-1.6.jar , neueste swingx-all-1.6.5-1.jar
  • zu den jars (in /gossip/lib/) gibt es die source /gossip/lib/src
  • mit /looks/src/demo/swingset2/SwingSet2.java gibt es ein demo SwingSet2Applet

grafik

  • und auch JUnit test ist in com.jgoodies.looks.tests

Wird ein JGoodies Binding jar benötigt? Beiträge dazu JGoodies: Understanding Binding und JGoodies Binding

MenuPanel öffnet "Business Partner Group" bei Auswahl von "BP Rules"

13:15:21.207   MenuPanel.getIcon: loadIcon for W value:[237/263 W4 - Request] [16]
13:15:21.232   MenuPanel.getIcon: loadIcon for P value:[396/263 P7 - Send Mail Text] [16]
13:15:31.845   MenuPanel.getIcon: loadIcon for F value:[266/165 F0 - Business Partner Setup] [16]
13:15:31.882   MenuPanel.getIcon: loadIcon for R value:[544/165 R10 - Business Partner Detail] [16]
13:15:31.982   MenuPanel.mouseClicked: es ist componentTreeTable node:[232/165 W1 - Business Partner Group] AD_Window_ID=192 RootPane/JComponent:javax.swing.JPanel[null.contentPane,0,23,370x449,invalid,layout=javax.swing.JRootPane$1,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] [16]
13:15:31.982   RootFrame.openNewFrame: new frame aka Window with window_ID=192 [16]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.