API  1.0.0
CPRuleEditor_Constants.j
Go to the documentation of this file.
1 /*
2  * CPRuleEditor_Constants.j
3  * AppKit
4  *
5  * Created by cacaodev.
6  * Copyright 2011, cacaodev.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 
23 
24 CPRuleEditorPredicateLeftExpression = "CPRuleEditorPredicateLeftExpression";
25 CPRuleEditorPredicateRightExpression = "CPRuleEditorPredicateRightExpression";
26 CPRuleEditorPredicateComparisonModifier = "CPRuleEditorPredicateComparisonModifier";
27 CPRuleEditorPredicateOptions = "CPRuleEditorPredicateOptions";
28 CPRuleEditorPredicateOperatorType = "CPRuleEditorPredicateOperatorType";
29 CPRuleEditorPredicateCustomSelector = "CPRuleEditorPredicateCustomSelector";
30 CPRuleEditorPredicateCompoundType = "CPRuleEditorPredicateCompoundType";
31 
32 CPRuleEditorRowsDidChangeNotification = "CPRuleEditorRowsDidChangeNotification";
33 CPRuleEditorRulesDidChangeNotification = "CPRuleEditorRulesDidChangeNotification";
34 
35 CPRuleEditorNestingModeSingle = 0; // Only a single row is allowed. Plus/minus buttons will not be shown
36 CPRuleEditorNestingModeList = 1; // Allows a single list, with no nesting and no compound rows
37 CPRuleEditorNestingModeCompound = 2; // Unlimited nesting and compound rows; this is the default
38 CPRuleEditorNestingModeSimple = 3; // One compound row at the top with subrows beneath it, and no further nesting allowed
39 
40 @typedef CPRuleEditorRowType
CPRuleEditorPredicateRightExpression
CPRuleEditorPredicateCustomSelector
CPRuleEditorRulesDidChangeNotification
CPRuleEditorPredicateOperatorType
CPRuleEditorPredicateComparisonModifier
CPRuleEditorNestingModeList
CPRuleEditorRowType CPRuleEditorRowTypeSimple
CPRuleEditorNestingModeCompound
CPRuleEditorPredicateLeftExpression
CPRuleEditorNestingModeSingle
CPRuleEditorNestingModeSimple
CPRuleEditorRowTypeCompound
CPRuleEditorPredicateCompoundType
CPRuleEditorRowsDidChangeNotification
CPRuleEditorPredicateOptions