code
stringlengths
3
1.18M
language
stringclasses
1 value
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/** * */ package org.rapla.plugin.abstractcalendar; import java.awt.Component; import java.awt.Point; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.Iterator; import java.util.List; import javax.swing.JComponent...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | |...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.abstractcalendar; public interface MultiCalendarPrint { String getCalendarUnit(); void setUnits(int units); int getUnits(); }
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
package org.rapla.plugin.tableview; import javax.swing.table.TableColumn; public interface RaplaTableColumn<T> { public abstract String getColumnName(); public abstract Object getValue(T object); public abstract void init(TableColumn column); public abstract Class<?> getColumnClass(); public a...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2012 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | i...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2012 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | i...
Java
/** * */ package org.rapla.plugin.tableview; import java.awt.Component; import java.util.Date; import javax.swing.JTable; import javax.swing.table.DefaultTableCellRenderer; import org.rapla.components.util.DateTools; import org.rapla.framework.RaplaLocale; final public class DateCellRenderer extends DefaultTableC...
Java
package org.rapla.plugin.tableview.internal; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.Mo...
Java
package org.rapla.plugin.tableview.internal; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event....
Java
package org.rapla.plugin.tableview.internal; import javax.swing.table.TableColumn; import org.rapla.components.util.xml.XMLWriter; import org.rapla.entities.domain.Reservation; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.plugin.tableview.ReservationTableCo...
Java
package org.rapla.plugin.tableview.internal; import org.rapla.entities.domain.Allocatable; import org.rapla.framework.RaplaContext; public final class ResourceColumn extends AllocatableListColumn { public ResourceColumn(RaplaContext context) { super(context); } @Override protected boolean contain...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.tableview.internal; import java.util.Date; import javax.swing.table.TableColumn; import org.rapla.entities.domain.AppointmentBlock; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaLocale; import org.rapla.plugin.tableview.Appoi...
Java
package org.rapla.plugin.tableview.internal; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map; import javax.swing.table.DefaultTableModel; import org.rapla.components.xmlbundle.I18nBundle; import ...
Java
package org.rapla.plugin.tableview.internal; import java.util.Date; import javax.swing.table.TableColumn; import org.rapla.entities.domain.Reservation; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaLocale; import org.rapla.plugin.tableview....
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.tableview.internal; import org.rapla.entities.domain.Allocatable; import org.rapla.framework.RaplaContext; public final class PersonColumn extends AllocatableListColumn { public PersonColumn(RaplaContext context) { super(context); } @Override protected boolean contains(Alloc...
Java
package org.rapla.plugin.tableview.internal; import javax.swing.table.TableColumn; import org.rapla.components.util.xml.XMLWriter; import org.rapla.entities.domain.Allocatable; import org.rapla.entities.domain.Appointment; import org.rapla.entities.domain.AppointmentBlock; import org.rapla.entities.domain.Res...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.tableview.internal; import java.util.Date; import javax.swing.table.TableColumn; import org.rapla.entities.domain.Reservation; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaLocale; import org.rapla.plugin.tableview.DateCellRe...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2012 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | i...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.tableview.internal.server; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; import java.util.List; import java.util.StringTokenizer; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.serv...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2012 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | i...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.tableview.internal; import javax.swing.JPanel; import javax.swing.JTable; public interface SummaryExtension { void init(JTable table, JPanel summaryRow); }
Java
package org.rapla.plugin.tableview.internal; import java.util.Date; import javax.swing.table.TableColumn; import org.rapla.components.util.DateTools; import org.rapla.entities.domain.AppointmentBlock; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaLoc...
Java
package org.rapla.plugin.tableview.internal; import javax.swing.table.TableColumn; import org.rapla.components.util.xml.XMLWriter; import org.rapla.entities.domain.Appointment; import org.rapla.entities.domain.AppointmentBlock; import org.rapla.entities.domain.Reservation; import org.rapla.facade.RaplaCompone...
Java
package org.rapla.plugin.tableview.internal; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map; import javax.swing.table.DefaultTableModel; import org.rapla.components.xmlbundle.I18nBundle; import org.rapla.en...
Java
package org.rapla.plugin.tableview.internal; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTable; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; public...
Java
package org.rapla.plugin.tableview.internal; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTable; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; public...
Java
package org.rapla.plugin.tableview; import org.rapla.framework.TypedComponentRole; import org.rapla.plugin.tableview.internal.SummaryExtension; public interface TableViewExtensionPoints { /** add a summary footer for the reservation table @see SummaryExtension * */ TypedComponentRole<SummaryExtension>...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.dayresource.server; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.rapla.components.calendarview.Block; import org.rapla.components.calendarview.CalendarView; import org.rapla.components.calendarview.html.AbstractHTMLView; import org.rapla.com...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.rightsreport; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Font; import java.awt.GridLayout; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util....
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.rightsreport; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Icon; import javax.swing.MenuElement; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; import org.rapla.gui.RaplaGUIComponent; import org.ra...
Java
/* * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.jndi.internal; import javax.jws.WebService; import org.rapla.framework.DefaultConfiguration; import org.rapla.framework.RaplaException; @WebService public interface JNDIConfig { public void test(DefaultConfiguration config,String username,String password) throws RaplaException; publ...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.plugin.jndi.internal; public interface JNDIConf { public static final String USER_BASE = "userBase"; public static final String USER_SEARCH = "userSearch"; public static final String USER_CN = "userCn"; public static final String USER_MAIL = "userMail"; public static final ...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.bootstrap; import java.io.InputStream; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; import...
Java
package org.rapla.bootstrap; import java.io.File; import java.io.IOException; public class RaplaJettyLoader { public static void main(String[] args) throws IOException { String baseDir = System.getProperty("jetty.home"); if ( baseDir == null) { baseDir = "."; Syst...
Java
package org.rapla.bootstrap; import java.io.IOException; public class RaplaClientLoader { public static void main(String[] args) throws IOException { RaplaJettyLoader.main(new String[] {"client"}); } }
Java
package org.rapla.bootstrap; import java.io.IOException; public class RaplaServerLoader { public static void main(String[] args) throws IOException { System.setProperty( "java.awt.headless", "true" ); RaplaJettyLoader.main(new String[] {"server"}); } }
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.bootstrap; import java.io.File; import java.io.IOException; public class RaplaServerAsServiceLoader { public static void main(String[] args) throws IOException { System.setProperty( "java.awt.headless", "true" ); String baseDir = System.getProperty("jetty.home"); if ( baseDir ==...
Java
package org.rapla.bootstrap; import java.io.IOException; public class RaplaStandaloneLoader { public static void main(String[] args) throws IOException { // This is for backwards compatibility if ( args.length > 0 && args[0].equals( "client")) { RaplaJettyLoader.main(new String[] {"client"}); } ...
Java
package org.rapla.bootstrap; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.StringTokenizer; /** Puts all jar-files from the libdirs into the cla...
Java
package org.rapla.servletpages; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class RaplaStorePage implements RaplaPageGenerator {...
Java
package org.rapla.servletpages; import java.io.PrintWriter; import javax.servlet.http.HttpServletRequest; public interface RaplaMenuGenerator { public void generatePage( HttpServletRequest request, PrintWriter out ); }
Java
/** * */ package org.rapla.servletpages; import java.io.IOException; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.rapla.components.util.IOUtil; import org.rapla.components.xmlbundle.I18nBundle; import org.rapla.facade.R...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.servletpages; import java.io.PrintWriter; import javax.servlet.http.HttpServletRequest; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; public class DefaultHTMLMenuEntry extends RaplaComponent implements RaplaMenuGenerator { protected String name; protected...
Java
package org.rapla.servletpages; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; /** * User: kuestermann * Date: 15.08.12 * Time: 19:24 ...
Java
/** * */ package org.rapla.servletpages; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespon...
Java
/** * */ package org.rapla.servletpages; import java.io.IOException; import java.io.PrintWriter; import java.util.Collection; import java.util.Iterator; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResp...
Java