|
Lines 40-51
Link Here
|
| 40 |
|
40 |
|
| 41 |
private UndoablePropertySheetEntry() { } |
41 |
private UndoablePropertySheetEntry() { } |
| 42 |
|
42 |
|
|
|
43 |
private UndoablePropertySheetEntry(boolean blankInconsistency){ |
| 44 |
super(blankInconsistency); |
| 45 |
} |
| 46 |
|
| 43 |
/** |
47 |
/** |
| 44 |
* Constructs the root entry using the given command stack. |
48 |
* Constructs the root entry using the given command stack. |
| 45 |
* @param stack the command stack |
49 |
* @param stack the command stack |
| 46 |
* @since 3.1 |
50 |
* @since 3.1 |
| 47 |
*/ |
51 |
*/ |
| 48 |
public UndoablePropertySheetEntry(CommandStack stack) { |
52 |
public UndoablePropertySheetEntry(CommandStack stack) { |
|
|
53 |
super(); |
| 54 |
setCommandStack(stack); |
| 55 |
} |
| 56 |
/** |
| 57 |
* Constructs the root entry using the given command stack and sets |
| 58 |
* the entry behaviour when many selected properties doesn't have |
| 59 |
* equal values. |
| 60 |
* @param stack the command stack |
| 61 |
* @param blankNotEqualPropertyValues |
| 62 |
* parameter indicating, that property values should |
| 63 |
* be blanked, if many selected objects have the same property and |
| 64 |
* different values. |
| 65 |
* <code>true</code> enables checking |
| 66 |
* <code>false</code> does nothingng |
| 67 |
* @see org.eclipse.ui.views.properties. |
| 68 |
* PropertySheetEntry#PropertySheetEntry(boolean) |
| 69 |
* @since 3.3 |
| 70 |
*/ |
| 71 |
public UndoablePropertySheetEntry(CommandStack stack, |
| 72 |
boolean blankNotEqualPropertyValues){ |
| 73 |
super(blankNotEqualPropertyValues); |
| 49 |
setCommandStack(stack); |
74 |
setCommandStack(stack); |
| 50 |
} |
75 |
} |
| 51 |
|
76 |
|
|
Lines 53-59
Link Here
|
| 53 |
* @see org.eclipse.ui.views.properties.PropertySheetEntry#createChildEntry() |
78 |
* @see org.eclipse.ui.views.properties.PropertySheetEntry#createChildEntry() |
| 54 |
*/ |
79 |
*/ |
| 55 |
protected PropertySheetEntry createChildEntry() { |
80 |
protected PropertySheetEntry createChildEntry() { |
| 56 |
return new UndoablePropertySheetEntry(); |
81 |
return new UndoablePropertySheetEntry(blankNotEqualPropertyValues); |
| 57 |
} |
82 |
} |
| 58 |
|
83 |
|
| 59 |
/** |
84 |
/** |