public class EnableCheckFactory
extends java.lang.Object
EnableCheck
Constructor and Description |
---|
EnableCheckFactory(WorkbenchContext workbenchContext) |
public EnableCheckFactory(WorkbenchContext workbenchContext)
public static final EnableCheckFactory getInstance()
public EnableCheck createTaskWindowMustBeActiveCheck()
public EnableCheck createWindowWithSelectionManagerMustBeActiveCheck()
public EnableCheck createWindowWithLayerManagerMustBeActiveCheck()
public EnableCheck createWindowWithAssociatedTaskFrameMustBeActiveCheck()
public EnableCheck createWindowWithLayerNamePanelMustBeActiveCheck()
public EnableCheck createWindowWithLayerViewPanelMustBeActiveCheck()
public EnableCheck createOnlyOneLayerMayHaveSelectedFeaturesCheck()
public EnableCheck createOnlyOneLayerMayHaveSelectedItemsCheck()
public EnableCheck createSelectedItemsLayersMustBeEditableCheck()
public EnableCheck createExactlyNCategoriesMustBeSelectedCheck(int n)
public EnableCheck createExactlyNLayerablesMustBeSelectedCheck(int n, java.lang.Class layerableClass)
public EnableCheck createExactlyNLayersMustBeSelectedCheck(int n)
public EnableCheck createAtLeastNCategoriesMustBeSelectedCheck(int n)
public EnableCheck createAtLeastNLayerablesMustBeSelectedCheck(int n, java.lang.Class layerableClass)
public EnableCheck createAtLeastNLayersMustBeSelectedCheck(int n)
public EnableCheck createAtLeastNLayersMustBeEditableCheck(int n)
public EnableCheck createExactlyOneSelectedLayerMustBeEditableCheck()
public EnableCheck createAtLeastNLayerablesMustExistCheck(int n)
public EnableCheck createAtLeastNLayersMustExistCheck(int n)
public EnableCheck createAtMostNLayersMustExistCheck(int n)
public EnableCheck createExactlyNVectorsMustBeDrawnCheck(int n)
public EnableCheck createAtLeastNVectorsMustBeDrawnCheck(int n)
public EnableCheck createAtLeastNFeaturesMustBeSelectedCheck(int n)
public EnableCheck createAtLeastNItemsMustBeSelectedCheck(int n)
public EnableCheck createExactlyNFeaturesMustBeSelectedCheck(int n)
public EnableCheck createExactlyNItemsMustBeSelectedCheck(int n)
public EnableCheck createExactlyNLayersMustHaveSelectedItemsCheck(int n)
public EnableCheck createExactlyNFeaturesMustHaveSelectedItemsCheck(int n)
public EnableCheck createSelectedLayersMustBeEditableCheck()
public EnableCheck createFenceMustBeDrawnCheck()
public EnableCheck createBetweenNAndMVectorsMustBeDrawnCheck(int min, int max)
public EnableCheck createAtLeastNFeaturesMustHaveSelectedItemsCheck(int n)
public EnableCheck createSelectedLayerablesMustBeEither(java.lang.Class[] classes, java.lang.Class[] excluded)
classes
- layerables must all be instances of one of these classesexcluded
- no layerable must be an instances of one of these classespublic EnableCheck createSelectedLayerablesMustBeEither(java.lang.Class[] classes)
public EnableCheck createSelectedLayerablesMustBeVectorLayers()
public EnableCheck createSelectedLayerablesMustBeRasterLayers()