Lines 42-48
Link Here
|
42 |
private String editHelperAdviceName; |
42 |
private String editHelperAdviceName; |
43 |
|
43 |
|
44 |
/** |
44 |
/** |
45 |
* Constructs a new container descriptor from the configuration element. |
45 |
* Constructs a new edit helper advice descriptor from the configuration element. |
46 |
* |
46 |
* |
47 |
* @param specialization |
47 |
* @param specialization |
48 |
* the configuration element |
48 |
* the configuration element |
Lines 57-62
Link Here
|
57 |
this.editHelperAdviceName = editHelperAdviceName; |
57 |
this.editHelperAdviceName = editHelperAdviceName; |
58 |
this.specializationDescriptor = specialization; |
58 |
this.specializationDescriptor = specialization; |
59 |
} |
59 |
} |
|
|
60 |
|
61 |
/** |
62 |
* Constructs a new descriptor for the edit helper advice. |
63 |
* |
64 |
* @param editHelperAdvice |
65 |
* the edit helper advice |
66 |
* @param specialization |
67 |
* the configuration element |
68 |
*/ |
69 |
public EditHelperAdviceDescriptor(IEditHelperAdvice editHelperAdvice, |
70 |
SpecializationTypeDescriptor specialization) { |
71 |
|
72 |
this.specializationDescriptor = specialization; |
73 |
this.editHelperAdviceName = editHelperAdvice.getClass().getName(); |
74 |
this.editHelperAdvice = editHelperAdvice; |
75 |
} |
60 |
|
76 |
|
61 |
/* |
77 |
/* |
62 |
* (non-Javadoc) |
78 |
* (non-Javadoc) |