code
stringlengths
3
1.18M
language
stringclasses
1 value
/*--------------------------------------------------------------------------* | 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, Bettina Lademann | | | | 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 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 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 u...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2008 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it und...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.gui.internal; import java.awt.Component; import java.awt.Dialog; import java.awt.Frame; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JComponent; import javax.swing.JWindow; import javax.swing.event.ChangeListener; import org.rapl...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
package org.rapla.gui; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; import org.rapla.gui.toolkit.RaplaWidget; public interface AppointmentStatusFactory { RaplaWidget createStatus(RaplaContext context, ReservationEdit reservationEdit) throws RaplaException; }
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, Bettina Lademann | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.gui; import java.beans.PropertyChangeListener; import org.rapla.facade.CalendarSelectionModel; import org.rapla.framework.RaplaException; public interface PublishExtensionFactory { PublishExtension creatExtension(CalendarSelectionModel model, PropertyChangeListener revalidateCallback) thr...
Java
package org.rapla.gui; import java.util.Collection; import java.util.Date; import javax.swing.event.ChangeListener; import org.rapla.entities.domain.Appointment; import org.rapla.entities.domain.Reservation; import org.rapla.framework.RaplaException; public interface ReservationEdit { boolean isModifiedSinceLas...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.gui; import java.awt.Component; import java.awt.Point; import java.util.Collection; import java.util.Date; import org.rapla.entities.domain.Allocatable; import org.rapla.entities.domain.Appointment; import org.rapla.entities.domain.AppointmentBlock; import org.rapla.entities.domain.Reservation; impo...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
Java
package org.rapla.gui; import java.awt.Component; import java.awt.Point; import javax.swing.JComponent; import org.rapla.framework.RaplaException; import org.rapla.gui.toolkit.DialogUI; public interface InfoFactory { <T> JComponent createInfoComponent( T object ) throws RaplaException; /** same as getToolT...
Java
package org.rapla.gui; import java.util.Collection; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.TreeCellRenderer; import javax.swing.tree.TreeModel; import org.rapla.entities.Category; import org.rapla.entities.Named; import org.rapla.entities.domain.Allocatable; import org.rapla.entities...
Java
package org.rapla.gui; import org.rapla.entities.Annotatable; import org.rapla.framework.RaplaException; import org.rapla.framework.TypedComponentRole; public interface AnnotationEditExtension { TypedComponentRole<AnnotationEditExtension> ATTRIBUTE_ANNOTATION_EDIT = new TypedComponentRole<AnnotationEditExtension>...
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.gui.toolkit; import java.awt.Color; public class AWTColorUtil { final static public Color getAppointmentColor(int nr) { String string = RaplaColors.getAppointmentColor(nr); Color color = getColorForHex(string); return color; } public static Color getColorForHex(String he...
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.gui.toolkit; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Icon; import javax.swing.JComponent; import javax.swing.JMenu; import javax.swing.JMenuItem;...
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 Gereon Fassbender, 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.gui.toolkit; import javax.swing.MenuElement; /** Adds an id to the standard Swing Menu Component as JSeperator, JMenuItem and JMenu*/ public interface IdentifiableMenuEntry { String getId(); MenuElement getMenuElement(); }
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, Bettina Lademann | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas, Bettina Lademann | | | | 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.gui.toolkit; import java.awt.Component; import javax.swing.JComponent; import javax.swing.JMenuItem; /** JPopupMenu and JMenu don't have a common interface, so this is a common interface * for RaplaMenu and RaplaPopupMenu */ public interface MenuInterface { JMenuItem add(JMenuItem item); v...
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.gui.toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import org.rapla.framework.Disposable; /** Disposes an object on window close. Must be added as a WindowListener to the target window*/ final public class DisposingTool extends WindowAdapter { Disposable m_obj...
Java
package org.rapla.gui.toolkit; import javax.swing.JComboBox; import org.rapla.entities.Named; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaContextException; import org.rapla.framework.RaplaLocale; import org.rapla.gui.internal.common.NamedListCellRenderer; public final class RaplaListComb...
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.gui.toolkit; import java.awt.Color; import java.awt.Component; import java.awt.Graphics; import java.awt.Insets; import javax.swing.border.Border; public class EmptyLineBorder implements Border { Insets insets = new Insets(0,0,0,0); Color COLOR = Color.LIGHT_GRAY; public voi...
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.gui; import java.awt.Component; import org.rapla.entities.domain.Reservation; import org.rapla.framework.RaplaException; /** performs a check, if the reservation is entered correctly. An example of a reservation check is the conflict checker*/ public interface ReservationCheck { /**...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.gui; import java.awt.Component; import org.rapla.entities.Entity; import org.rapla.framework.RaplaException; public interface EditController { <T extends Entity> EditComponent<T> createUI( T obj ) throws RaplaException; <T extends Entity> void edit( T obj, Component owner ) throws RaplaExc...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas, Bettina Lademann | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.gui; import javax.swing.JPanel; import javax.swing.JTextField; import org.rapla.plugin.autoexport.AutoExportPlugin; public interface PublishExtension { JPanel getPanel(); /** can return null if no url status should be displayed */ JTextField getURLField(); void mapOptionTo(); /** ...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
package org.rapla.gui; import org.rapla.entities.RaplaObject; import org.rapla.gui.toolkit.RaplaMenuItem; public interface ObjectMenuFactory { RaplaMenuItem[] create(MenuContext menuContext,RaplaObject focusedObject); }
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2014 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 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.setowner; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.TreeSet; import...
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
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
package org.rapla.plugin.autoexport; import java.awt.BorderLayout; import java.util.Locale; import javax.swing.JCheckBox; import javax.swing.JLabel; import javax.swing.JPanel; import org.rapla.components.layout.TableLayout; import org.rapla.framework.Configuration; import org.rapla.framework.DefaultConfiguration; im...
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.autoexport; import java.beans.PropertyChangeListener; import org.rapla.facade.CalendarSelectionModel; import org.rapla.facade.RaplaComponent; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; import org.rapla.gui.PublishExtension; import org.rapla.gu...
Java
package org.rapla.plugin.autoexport.server; import org.rapla.components.xmlbundle.I18nBundle; import org.rapla.framework.RaplaContext; import org.rapla.plugin.autoexport.AutoExportPlugin; import org.rapla.servletpages.DefaultHTMLMenuEntry; public class ExportMenuEntry extends DefaultHTMLMenuEntry { public E...
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.autoexport; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.JCheckBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.event.Chan...
Java
package org.rapla.plugin.appointmentcounter; import java.awt.Font; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.swing.JComponent; import javax.swing.JLabel; import org.rapla.components.util.DateTools; import org.rapla.entities.domain.Appointment; import org...
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) 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