|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.validation.ui.preferences.ConstraintsSelectionBlock
public class ConstraintsSelectionBlock
Encapsulation of the control for browsing and manipulating constraints in the constraints preference page.
Clients can use this class to implement their own filtered constraints preference page.
Constructor Summary | |
---|---|
ConstraintsSelectionBlock()
Initializes me without a constraint filter. |
|
ConstraintsSelectionBlock(IConstraintFilter filter)
Initializes me with a constraint filter. |
Method Summary | |
---|---|
Composite |
createComposite(Composite parent)
Creates the constraints selection composite on the given parent and filters the composite based on the provided filter. |
void |
dispose()
|
void |
performDefaults()
Restores the defaults for the constraints listed in the composite |
boolean |
performOk()
Saves the constraint enablement changes made in the composite to the validation preferences |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintsSelectionBlock()
public ConstraintsSelectionBlock(IConstraintFilter filter)
filter
- used to filter the constraints which are presented in this
composite (must not be null
)Method Detail |
---|
public Composite createComposite(Composite parent)
parent
- parent for the newly created composite
public boolean performOk()
public void performDefaults()
public void dispose()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |