001package org.vishia.gral.base; 002 003import org.vishia.gral.ifc.GralRectangle; 004 005 006public interface GralWidgetHelper { 007 008 /**Version, history and license. 009 * <ul> 010 * <li>2012-07-13 Hartmut removed: getAbsoluteBoundsOf() This is the same as {@link GralPanelContent#getPixelPositionSize()}. 011 * <li>2012-06-00 Hartmut created. The class {@link org.vishia.gral.swt.SwtWidgetHelper} does exist with static method yet, 012 * but it should contain common methods. Adequate classes for all implementations may be needed. 013 * </ul> 014 * 015 * <b>Copyright/Copyleft</b>:<br> 016 * For this source the LGPL Lesser General Public License, 017 * published by the Free Software Foundation is valid. 018 * It means: 019 * <ol> 020 * <li> You can use this source without any restriction for any desired purpose. 021 * <li> You can redistribute copies of this source to everybody. 022 * <li> Every user of this source, also the user of redistribute copies 023 * with or without payment, must accept this license for further using. 024 * <li> But the LPGL is not appropriate for a whole software product, 025 * if this source is only a part of them. It means, the user 026 * must publish this part of source, 027 * but doesn't need to publish the whole source of the own product. 028 * <li> You can study and modify (improve) this source 029 * for own using or for redistribution, but you have to license the 030 * modified sources likewise under this LGPL Lesser General Public License. 031 * You mustn't delete this Copyright/Copyleft inscription in this source file. 032 * </ol> 033 * If you intent to use this source without publishing its usage, you can get 034 * a second license subscribing a special contract with the author. 035 * 036 * @author Hartmut Schorrig = hartmut.schorrig@vishia.de 037 */ 038 public static final int version = 20120713; 039 040 void setMng(GralMng mng); 041 042 //GralRectangle getAbsoluteBoundsOf(GralWidget widg); 043 044 045 boolean showContextMenu(GralWidget widg); 046 047}