hibergui.assoc
Class M2MEdit<T,C extends java.util.Collection<T>>
java.lang.Object
hibergui.Component<T>
hibergui.Edit<C>
hibergui.assoc.AssociationEdit<T,C>
hibergui.assoc.M2MEdit<T,C>
- Direct Known Subclasses:
- M2MEdit_List
public abstract class M2MEdit<T,C extends java.util.Collection<T>>
- extends AssociationEdit<T,C>
|
Constructor Summary |
M2MEdit(Form<?> form,
org.eclipse.swt.widgets.Composite cptParent,
int style,
java.lang.String prop,
java.lang.String name)
|
|
Method Summary |
protected abstract void |
add(T[] objects)
|
protected Form<T> |
createForm(org.eclipse.swt.widgets.Composite cptParent)
|
protected abstract Form<T> |
createForm(org.eclipse.swt.widgets.Composite cptParent,
int style)
|
protected void |
setSelection(T[] result)
|
| Methods inherited from class hibergui.Edit |
addConstraint, addConstraint, addModificationListener, addTraverseListener, fill, fireKeyPressed, fireKeyReleased, fireTraversal, fix, get, getDefault, getName, getPropertyName, hasDefault, isDirty, isEditable, isFixed, isValid, markClean, markDirty, markInvalid, markValid, removeConstraint, removeConstraint, removeModificationListener, removeTraverseListener, resetBackground, set, setDefault, setDefault, setDefault, verify |
| Methods inherited from class hibergui.Component |
addChangeListener, addControlListener, addFocusListener, addKeyListener, createContents, dispose, fireChange, getControl, init, removeChangeListener, removeControlListener, removeFocusListener, removeKeyListener, setLayoutData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
M2MEdit
public M2MEdit(Form<?> form,
org.eclipse.swt.widgets.Composite cptParent,
int style,
java.lang.String prop,
java.lang.String name)
createForm
protected abstract Form<T> createForm(org.eclipse.swt.widgets.Composite cptParent,
int style)
createForm
protected Form<T> createForm(org.eclipse.swt.widgets.Composite cptParent)
- Specified by:
createForm in class AssociationEdit<T,C extends java.util.Collection<T>>
setSelection
protected void setSelection(T[] result)
- Specified by:
setSelection in class AssociationEdit<T,C extends java.util.Collection<T>>
add
protected abstract void add(T[] objects)