01: package org.rapla.gui;
02:
03: import java.awt.Component;
04:
05: import org.rapla.entities.Entity;
06: import org.rapla.entities.RaplaObject;
07: import org.rapla.framework.RaplaException;
08:
09: public interface EditController {
10: public final static String ROLE = EditController.class.getName();
11:
12: EditComponent createUI(RaplaObject obj) throws RaplaException;
13:
14: void edit(Entity obj, Component owner) throws RaplaException;
15:
16: void edit(Entity obj, String title, Component owner)
17: throws RaplaException;
18:
19: }
|