/** * Created on 29.11.2002 * * To change this generated comment edit the template variable "filecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of file comments go to * Window>Preferences>Java>Code Generation. */ package adiag.view; import java.util.ArrayList; import adiag.model.Version; /** * @author Andy the Great * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */ public class LayoutManager { private static ArrayList layouts = new ArrayList(); public static Layout getLayout(Version version){ int size = layouts.size(); Layout retval = null; for (int i = 0; i < size; i++) { retval = (Layout) layouts.get(i); if(retval.getView(version) != null){ return retval; } } return null; } public static Layout createLayout(Version[] versions, View view){ Layout sl = new SimpleLayout(versions, view); layouts.add(sl); return sl; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 2735 | andrei_loskutov | sources are now included to binary distribution at http://andrei.gmxhome.de/perforce/index.html | ||
#2 | 2552 | andrei_loskutov | 1.3.0.4 changes | ||
#1 | 2460 | andrei_loskutov |
1) Change configuration: always reed properties 2) Change password store to hex format/password field 3) Create standalone/not standalone state for new branchview eclipse wrapper 4) Refactor all main classes to remove cyclic package dependency 5) Add workaround to fix new JDK 1.4.1 Swing bugs on JScrollPane/JViewPort 6) Add dispose methods to panel/connector 7) Minor internal GUI fixes/refactorings |