Error in EEF generatoed forms [message #923902] |
Wed, 26 September 2012 09:48 |
Hassan BAZOUN Messages: 54 Registered: April 2012 |
Member |
|
|
Hey,
i has an functional error in the eef generated code (Forms).
to explain you the problem i will paste you a part of the code
protected void addSubProcess() {
TabElementTreeSelectionDialog dialog = new
TabElementTreeSelectionDialog(subProcess.getInput(),
subProcessFilters, subProcessBusinessFilters,
"subProcess",
propertiesEditionComponent.getEditingContext().getAdapterFactory(),
current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext() {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new
PropertiesEditionEvent(BsmProcessPropertiesEditionPartForm.this,
BsmViewsRepository.BsmProcess.Properties.subProcess,
PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null,
elem));
}
subProcess.refresh();
}
};
}
usually this code should open a dialog with a list of objects connected to the parent object but the problem it is always empty.
i tried to modify the input provided when creating the dialog but always empty.
i also tried to add filters but no change it is always empty.
the only solution for me right now is to change the dialog to another type of dialog but the problem is that it would be a lost of time since a lot of modification should be done to the eef generated code.
is there a solution that can charge the dialog with the input needed? did i miss something?
thanks in advance.
Hassan.
|
|
|
Powered by
FUDForum. Page generated in 0.04294 seconds