Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.emf.validation.ui.preferences
Class ConstraintsSelectionBlock


java.lang.Object
  extended by 
org.eclipse.emf.validation.ui.preferences.ConstraintsSelectionBlock

public class ConstraintsSelectionBlock
extends Object

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.

Since:
1.1

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

ConstraintsSelectionBlock

public ConstraintsSelectionBlock()
Initializes me without a constraint filter.


ConstraintsSelectionBlock

public ConstraintsSelectionBlock(
IConstraintFilter filter)
Initializes me with a constraint filter.

Parameters:
filter - used to filter the constraints which are presented in this composite (must not be null)
Method Detail

createComposite

public 
Composite createComposite(
Composite parent)
Creates the constraints selection composite on the given parent and filters the composite based on the provided filter.

Parameters:
parent - parent for the newly created composite
Returns:
the resulting constraint selection composite

performOk

public boolean performOk()
Saves the constraint enablement changes made in the composite to the validation preferences


performDefaults

public void performDefaults()
Restores the defaults for the constraints listed in the composite


dispose

public void dispose()

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire