code
stringlengths
3
1.18M
language
stringclasses
1 value
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, Bettina Lademann | | | | 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
/*--------------------------------------------------------------------------* | 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 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
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
/*--------------------------------------------------------------------------* | 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) 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
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, 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) 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
/*--------------------------------------------------------------------------* | 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 org.rapla.entities.RaplaObject; import org.rapla.gui.toolkit.RaplaMenuItem; public interface ObjectMenuFactory { RaplaMenuItem[] create(MenuContext menuContext,RaplaObject focusedObject); }
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
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, 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; 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 Gereon Fassbender, Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it under ...
Java
package org.rapla.gui; import org.rapla.framework.PluginDescriptor; public interface PluginOptionPanel extends OptionPanel { Class<? extends PluginDescriptor<?>> getPluginClass(); }
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.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 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) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it u...
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
/*--------------------------------------------------------------------------* | 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, Bettina Lademann | | | | This program is free software; you can redistribute it and/or modify | | it un...
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
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
package org.rapla.gui; import org.rapla.components.util.TimeInterval; public interface VisibleTimeInterval { TimeInterval getVisibleTimeInterval(); }
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.internal; import java.awt.Component; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import ...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2006 Christopher Kohlhaas | | | | This program is free software; you can redistribute it and/or modify | | it un...
Java
/*--------------------------------------------------------------------------* | Copyright (C) 2013 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
/*--------------------------------------------------------------------------* | 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 u...
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 un...
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.edit.annotation; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.rapla.entities.Annotatable; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; import org.rapla.gu...
Java
package org.rapla.gui.internal.edit.annotation; import org.rapla.entities.Annotatable; import org.rapla.entities.dynamictype.Attribute; import org.rapla.entities.dynamictype.AttributeAnnotations; import org.rapla.entities.dynamictype.AttributeType; import org.rapla.framework.RaplaContext; import org.rapla.framework.Ra...
Java
package org.rapla.gui.internal.edit.annotation; import org.rapla.entities.Annotatable; import org.rapla.entities.dynamictype.Attribute; import org.rapla.entities.dynamictype.AttributeAnnotations; import org.rapla.entities.dynamictype.AttributeType; import org.rapla.framework.RaplaContext; import org.rapla.framework.Ra...
Java
package org.rapla.gui.internal.edit.annotation; import org.rapla.entities.Annotatable; import org.rapla.entities.dynamictype.Attribute; import org.rapla.entities.dynamictype.AttributeAnnotations; import org.rapla.entities.dynamictype.AttributeType; import org.rapla.framework.RaplaContext; import org.rapla.framework.Ra...
Java
package org.rapla.gui.internal.edit.annotation; import org.rapla.entities.Annotatable; import org.rapla.entities.dynamictype.Attribute; import org.rapla.entities.dynamictype.AttributeAnnotations; import org.rapla.framework.RaplaContext; import org.rapla.framework.RaplaException; import org.rapla.gui.AnnotationEditExte...
Java
package org.rapla.gui.internal.edit.annotation; import org.rapla.entities.dynamictype.AttributeAnnotations; import org.rapla.framework.RaplaContext; import org.rapla.gui.AnnotationEditExtension; import org.rapla.gui.internal.edit.fields.TextField; public class ExpectedColumnsAnnotationEdit extends ExpectedRowsAnnotat...
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.edit; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import org.rapla.components.util.undo.CommandUndo; import org.rapla.entities.Entity; import org.rapla.entities.EntityNotFoundExce...
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.internal.edit; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import org.rapla.components.util.undo.CommandUndo; import org.rapla.entities.Category; i...
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 un...
Java
package org.rapla.gui.internal.edit; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java...
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.internal.edit.reservation; /* * SortedListModel.java * * Copyright 2006 Sun Microsystems, Inc. ALL RIGHTS RESERVED Use of * this software is authorized pursuant to the terms of the license * found at http://developers.sun.com/berkeley_license.html . * */ import java.text.Collat...
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) 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