Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Error in EEF generatoed forms
Error in EEF generatoed forms [message #923902] Wed, 26 September 2012 09:48
Hassan BAZOUN is currently offline Hassan BAZOUNFriend
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()Wink {
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.
Previous Topic:[EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo
Next Topic:How to install "Ecore Search"
Goto Forum:
  


Current Time: Thu Dec 18 00:47:26 GMT 2014

Powered by FUDForum. Page generated in 0.01729 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software