Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFClient and RAP(how do I create a RAP GUI with EMFClient)
EMFClient and RAP [message #1219147] Mon, 02 December 2013 11:22 Go to next message
Neil Mackenzie is currently offline Neil MackenzieFriend
Messages: 131
Registered: December 2013
Senior Member
Hello,
I am trying to create a web based RAP GUI with EMFClient.
Previously I have autogenerated an RAP GUI for my EMF model using EMF and RAP integration (i.e. not using EMFClient)
I have seen screenshots on slides, and references to RAP with EMFClient, and some RAP stuff in github for emfclient, but I have never seen instructions on how to create an RAP GUI.
Any help greatly appreciated. EMFClient is an awesome project btw, I love the way it allows rapid evolution of a model without having to spend a long time changing UI code with each evolution.
Thanks,
Neil
Re: EMFClient and RAP [message #1219347 is a reply to message #1219147] Tue, 03 December 2013 13:30 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

the combination RAP and ECP is definitly possible and we have several
industrial projects using it.
I have a raw version of a set-up documentation, which I could bring into
shape. Can you tell me a little more about your use case? Which Provider
are you using (File, EMFStore, CDO or a custom one)? Are you interested
in EMF Forms only (the form-based UI) or also into the model explorer
and the repository abstraction?

Best Regards

Jonas

Am 02.12.2013 15:06, schrieb Neil Mackenzie:
> Hello,
> I am trying to create a web based RAP GUI with EMFClient.
> Previously I have autogenerated an RAP GUI for my EMF model using EMF
> and RAP integration (i.e. not using EMFClient)
> I have seen screenshots on slides, and references to RAP with EMFClient,
> and some RAP stuff in github for emfclient, but I have never seen
> instructions on how to create an RAP GUI.
> Any help greatly appreciated. EMFClient is an awesome project btw, I
> love the way it allows rapid evolution of a model without having to
> spend a long time changing UI code with each evolution.
> Thanks,
> Neil
Re: EMFClient and RAP [message #1219356 is a reply to message #1219347] Tue, 03 December 2013 14:06 Go to previous messageGo to next message
Neil Mackenzie is currently offline Neil MackenzieFriend
Messages: 131
Registered: December 2013
Senior Member
Hi Jonas,
thanks for your reply.
I am using EMFStore. I currently have things working with the thick client and the default forms for editing instances are ok for now although I hope to create custom UI forms later.

When you mention the model explorer and repository absraction, do you mean the left hand side navigation panel and the repository version control commit/checkout etc)provided by emfstore ..if so then I do use this.

I have put below a very simple description of the program I am writing in case other people are tackling the same problems, especially integrating edapt with EMFCLient (not just EMFStore):

I have 2 ecore models that together represents a simple domain specific language (one model represents processes, the other entities)
All test cases for a program represented with the model are represented by instances of my entity ecore model.
As the entity structure changes over time (as I sometimes need to add attribute to my entity model) I want to automatically migrate all the the old test cases using edapt.

So I would like to use RAP EMFClient to display my ecore entity model ( it is of course a model instance itself) and my testcases (which are instances of the entity ecore model) , and would love to put the effort in to have a simple web integration with edapt (otherwise I will need to keep the migration definitions using edapt in the thick client only).
Re: EMFClient and RAP [message #1219726 is a reply to message #1219356] Thu, 05 December 2013 15:07 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi Neil,

OK, so you need all components of ECP, not only the editor. Most
projects we know of, do not use the demo application itself on RAP.
Instead, they maintain there own applications and just embedd parts of
ECP, mostly the editor (EMF Forms). However, there is nothing wrong with
using the demo application as a productive application if it fits your
needs.
We have a beta-version of a RAP demo application in our repository, it
is not yet part of the release, we plan that for 1.2.0.
However, it would be great if you could check it out and report any
issues to us, so we can bring it into shape. I do not expect any major
issues just minor gaps in the UI (e.g. an image is not correctly loaded)
You find the demo application in our source repository
The name of the bundle is
org.eclipse.emf.ecp.rap
from this repo:
git://git.eclipse.org/gitroot/emfclient/org.eclipse.emf.ecp.core.git

It should work with the 1.1.x release.
Additionally you need a RAP target...
Please let us know any issues you face.

Best Regards

Jonas


Am 03.12.2013 15:06, schrieb Neil Mackenzie:
> Hi Jonas,
> thanks for your reply.
> I am using EMFStore. I currently have things working with the thick
> client and the default forms for editing instances are ok for now
> although I hope to create custom UI forms later.
>
> When you mention the model explorer and repository absraction, do you
> mean the left hand side navigation panel and the repository version
> control commit/checkout etc)provided by emfstore ..if so then I do use
> this.
>
> I have put below a very simple description of the program I am writing
> in case other people are tackling the same problems, especially
> integrating edapt with EMFCLient (not just EMFStore):
>
> I have 2 ecore models that together represents a simple domain specific
> language (one model represents processes, the other entities)
> All test cases for a program represented with the model are represented
> by instances of my entity ecore model.
> As the entity structure changes over time (as I sometimes need to add
> attribute to my entity model) I want to automatically migrate all the
> the old test cases using edapt.
>
> So I would like to use RAP EMFClient to display my ecore entity model (
> it is of course a model instance itself) and my testcases (which are
> instances of the entity ecore model) , and would love to put the effort
> in to have a simple web integration with edapt (otherwise I will need to
> keep the migration definitions using edapt in the thick client only).
Re: EMFClient and RAP [message #1219750 is a reply to message #1219726] Thu, 05 December 2013 15:54 Go to previous messageGo to next message
Neil Mackenzie is currently offline Neil MackenzieFriend
Messages: 131
Registered: December 2013
Senior Member
Thanks, I will check it out and try to get it running.
Neil.
Re: EMFClient and RAP [message #1220805 is a reply to message #1219750] Fri, 13 December 2013 17:40 Go to previous messageGo to next message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
I checked it out and have some problems:

Hello,

iam trying to use ECP with RAP (the User example). If i click the +button to add a email i get follow error:
java.lang.NullPointerException
	at org.eclipse.emf.ecp.edit.internal.swt.actions.AddAttributeAction.run(AddAttributeAction.java:69)
	at org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl$4.widgetSelected(SWTControl.java:368)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:262)



The NPE is in the DefaultControlContext public EditingDomain getEditingDomain() {
return AdapterFactoryEditingDomain.getEditingDomainFor(eObject);
}

The eObject has no eResource.

So what is wrong Smile?

Thanks
Re: EMFClient and RAP [message #1220858 is a reply to message #1220805] Sat, 14 December 2013 14:32 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

which data provider do you use?

Regards

Jonas

Am 13.12.2013 18:40, schrieb Sir Wayne:
> I checked it out and have some problems:
>
> Hello,
>
> iam trying to use ECP with RAP (the User example). If i click the
> +button to add a email i get follow error:
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.ecp.edit.internal.swt.actions.AddAttributeAction.run(AddAttributeAction.java:69)
>
> at
> org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl$4.widgetSelected(SWTControl.java:368)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:262)
>
>
>
> The NPE is in the DefaultControlContext public EditingDomain
> getEditingDomain() {
> return AdapterFactoryEditingDomain.getEditingDomainFor(eObject);
> }
>
> The eObject has no eResource.
>
> So what is wrong :)?
>
> Thanks
Re: EMFClient and RAP [message #1220945 is a reply to message #1220858] Mon, 16 December 2013 10:08 Go to previous messageGo to next message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
Do I need a Data Provider(EMFStore or CDO) for EMF Forms?
I want only to show the form in rap and store the data maybe in xmi, if the user click a save button.

This the RAP EntryPoint

public class BasicEntryPoint extends AbstractEntryPoint {

    @Override
    protected void createContents(final Composite parent) {
    	Realm realm = SWTObservables.getRealm( Display.getCurrent() );
    	Realm.runWithDefault(realm, new Runnable() {
			
			@Override
			public void run() {
				Person createPerson = StudioFactory.eINSTANCE.createPerson();
				try {
					ECPSWTViewRenderer.INSTANCE.render(parent, createPerson);
				} catch (ECPRendererException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				
			}
		});
    }

}

[Updated on: Mon, 16 December 2013 10:09]

Report message to a moderator

Re: EMFClient and RAP [message #1220980 is a reply to message #1220945] Mon, 16 December 2013 13:15 Go to previous messageGo to next message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
I added a resource

public class BasicEntryPoint extends AbstractEntryPoint {

    @Override
    protected void createContents(final Composite parent) {
    	Realm realm = SWTObservables.getRealm( Display.getCurrent() );
    	Realm.runWithDefault(realm, new Runnable() {
			
			@Override
			public void run() {
			    ResourceSet resSet = new ResourceSetImpl();
			    Resource resource = resSet.createResource(URI
			        .createURI("test.xmi"));
			    
			    Person createPerson = StudioFactory.eINSTANCE.createPerson();
			    resource.getContents().add(createPerson);
				
				System.out.println(createPerson.eResource());
				
				
				try {
					ECPSWTViewRenderer.INSTANCE.render(parent, createPerson);
				} catch (ECPRendererException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				
			}
		});
    }


Now i get a NPE here: The editingDomainProvider is null.

 static public EditingDomain getEditingDomainFor(EObject object)
  {
    if (object != null)
    {
      Resource resource = object.eResource();
      if (resource != null)
      {
        IEditingDomainProvider editingDomainProvider =
          (IEditingDomainProvider)EcoreUtil.getExistingAdapter(resource, IEditingDomainProvider.class);
        if (editingDomainProvider != null)



Is there a launch config for a RAP Application, that i know which plugins are needed?
Re: EMFClient and RAP [message #1221449 is a reply to message #1219147] Tue, 17 December 2013 18:29 Go to previous messageGo to next message
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
Hi Jonas and Neil,

i also try to get ECP working with RAP. I'm facing Problems with the target.

Quote:
It should work with the 1.1.x release.
Additionally you need a RAP target...
Please let us know any issues you face.


Which target should i use? When i take the target ecpRAP.target (Maximilian mentioned it) in project org.eclipse.emf.ecp.rap.feature i get errors "unable to locate installable unit" for all three locations (see attachments).

Do i have to create my own target?
  • Attachment: 000388.png
    (Size: 21.84KB, Downloaded 177 times)
Re: EMFClient and RAP [message #1225341 is a reply to message #1221449] Sun, 29 December 2013 14:00 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 63
Registered: March 2012
Member
Hello Phil,
I checked the targets in our repository and there are two ecpRap.target
files. One is in the org.eclipse.emf.ecp.rap and the other is in the
org.eclipse.emf.ecp.rap.feature bundle.
The target in the feature doesn't resolve just as you pointed it out.
The other one resolves and is also the more current one. Please use it
instead.
I will delete the wrong rap target file asap.
Thank you for your feedback.

Cheers,
Eugen

Am 17.12.2013 19:29, schrieb Phil Wim:
> Hi Jonas and Neil,
>
> i also try to get ECP working with RAP. I'm facing Problems with the target.
>
> Quote:
>> It should work with the 1.1.x release.
>> Additionally you need a RAP target...
>> Please let us know any issues you face.
>
>
> Which target should i use? When i take the target ecpRAP.target (Maximilian mentioned it) in project org.eclipse.emf.ecp.rap.feature i get errors "unable to locate installable unit" for all three locations (see attachments).
>
> Do i have to create my own target?
>


--
Eugen Neufeld

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFClient and RAP [message #1225343 is a reply to message #1220980] Sun, 29 December 2013 14:08 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 63
Registered: March 2012
Member
Hi,
in order to create a ResourceSet with a valid EditingDomain you have to
change the code which creates your ResourceSet:

ResourceSet resourceSet = new ResourceSetImpl();

AdapterFactoryEditingDomain domain = new
AdapterFactoryEditingDomain(
new
ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE),
new BasicCommandStack(), resourceSet);
resourceSet.eAdapters().add(new
AdapterFactoryEditingDomain.EditingDomainProvider(domain));
return resourceSet;

Now you can create the Resource and start ecp.


Cheers,
Eugen



Am 16.12.2013 14:15, schrieb Sir Wayne:
> I added a resource
>
>
> public class BasicEntryPoint extends AbstractEntryPoint {
>
> @Override
> protected void createContents(final Composite parent) {
> Realm realm = SWTObservables.getRealm( Display.getCurrent() );
> Realm.runWithDefault(realm, new Runnable() {
>
> @Override
> public void run() {
> ResourceSet resSet = new ResourceSetImpl();
> Resource resource = resSet.createResource(URI
> .createURI("test.xmi"));
> Person createPerson =
> StudioFactory.eINSTANCE.createPerson();
> resource.getContents().add(createPerson);
>
> System.out.println(createPerson.eResource());
>
>
> try {
> ECPSWTViewRenderer.INSTANCE.render(parent,
> createPerson);
> } catch (ECPRendererException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
>
> }
> });
> }
>
>
> Now i get a NPE here: The editingDomainProvider is null.
>
>
> static public EditingDomain getEditingDomainFor(EObject object)
> {
> if (object != null)
> {
> Resource resource = object.eResource();
> if (resource != null)
> {
> IEditingDomainProvider editingDomainProvider =
> (IEditingDomainProvider)EcoreUtil.getExistingAdapter(resource,
> IEditingDomainProvider.class);
> if (editingDomainProvider != null)
>
>
>
> Is there a launch config for a RAP Application, that i know which
> plugins are needed?


--
Eugen Neufeld

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFClient and RAP [message #1415682 is a reply to message #1225343] Wed, 03 September 2014 10:49 Go to previous messageGo to next message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
Hi Eugen,

i tried the MakeItHappenUserEntryPoint and found a problem. When I enter a character in the weight or height textfield, i will get follow error:
ava.lang.UnsupportedOperationException: Display#sleep() not supported in current operation mode.
	at org.eclipse.rap.rwt.internal.lifecycle.SimpleLifeCycle.sleep(SimpleLifeCycle.java:62)
	at org.eclipse.swt.widgets.Display.sleep(Display.java:1253)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:858)
	at org.eclipse.jface.window.Window.open(Window.java:833)
	at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:334)
	at org.eclipse.emf.ecp.edit.internal.swt.util.DialogOpener.openDialog(DialogOpener.java:51)
	at org.eclipse.emf.ecp.edit.internal.swt.util.ECPDialogExecutor.execute(ECPDialogExecutor.java:47)
	at org.eclipse.emf.ecp.view.internal.core.swt.renderer.NumberControlSWTRenderer$NumericalTargetToModelUpdateStrategy.revertToOldValue(NumberControlSWTRenderer.java:247)
	at org.eclipse.emf.ecp.view.internal.core.swt.renderer.NumberControlSWTRenderer$NumericalTargetToModelUpdateStrategy.convertValue(NumberControlSWTRenderer.java:178)
	at org.eclipse.emf.ecp.view.internal.core.swt.renderer.TextControlSWTRenderer$TargetToModelUpdateStrategy.convert(TextControlSWTRenderer.java:297)
	at org.eclipse.core.databinding.ValueBinding$3.run(ValueBinding.java:167)
	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
	at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:151)
	at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:140)
	at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:45)
	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:62)
	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:55)
	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:93)
	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue$1.handleValueChange(DecoratingObservableValue.java:67)
	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:62)
	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:71)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:120)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.access$1(SimplePropertyObservableValue.java:112)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$2.run(SimplePropertyObservableValue.java:66)
	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$1.handleEvent(SimplePropertyObservableValue.java:63)
	at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:63)
	at org.eclipse.jface.internal.databinding.swt.WidgetListener.handleEvent(WidgetListener.java:55)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:700)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:602)
	at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1212)
	at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1193)
	at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1176)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1168)
	at org.eclipse.rap.rwt.internal.lifecycle.ProcessAction.execute(ProcessAction.java:28)
	at org.eclipse.rap.rwt.internal.lifecycle.PhaseExecutor.execute(PhaseExecutor.java:40)
	at org.eclipse.rap.rwt.internal.lifecycle.SimpleLifeCycle.execute(SimpleLifeCycle.java:48)
	at org.eclipse.rap.rwt.internal.service.RWTMessageHandler.executeLifeCycle(RWTMessageHandler.java:57)
	at org.eclipse.rap.rwt.internal.service.RWTMessageHandler.handleMessage(RWTMessageHandler.java:41)
	at org.eclipse.rap.rwt.internal.remote.MessageChainElement.handleMessage(MessageChainElement.java:28)
	at org.eclipse.rap.rwt.internal.service.LifeCycleServiceHandler.processMessage(LifeCycleServiceHandler.java:175)
	at org.eclipse.rap.rwt.internal.service.LifeCycleServiceHandler.processUIRequest(LifeCycleServiceHandler.java:147)
	at org.eclipse.rap.rwt.internal.service.LifeCycleServiceHandler.handleUIRequest(LifeCycleServiceHandler.java:105)
	at org.eclipse.rap.rwt.internal.service.LifeCycleServiceHandler.synchronizedService(LifeCycleServiceHandler.java:83)
	at org.eclipse.rap.rwt.internal.service.LifeCycleServiceHandler.service(LifeCycleServiceHandler.java:75)
	at org.eclipse.rap.rwt.engine.RWTServlet.handleValidRequest(RWTServlet.java:126)
	at org.eclipse.rap.rwt.engine.RWTServlet.handleRequest(RWTServlet.java:110)
	at org.eclipse.rap.rwt.engine.RWTServlet.doPost(RWTServlet.java:100)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
	at org.eclipse.rap.rwt.osgi.internal.CutOffContextPathWrapper.service(CutOffContextPathWrapper.java:106)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
	at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
	at org.eclipse.jetty.server.Server.handle(Server.java:370)
	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
	at java.lang.Thread.run(Thread.java:745)


Do you know the problem?

Thanks Smile
Re: EMFClient and RAP [message #1417179 is a reply to message #1415682] Thu, 04 September 2014 22:08 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 63
Registered: March 2012
Member
Hi,
You're are running in the J2EE Mode of RAP and thus can't open Dialogs in a blocking way.
You need to add the org.eclipse.emf.ecp.rap.util bundle to your runconfiguration. This bundle provides a Wrapper which will open Dialogs in a non blocking way.

Cheers,
Eugen
Re: EMFClient and RAP [message #1417381 is a reply to message #1417179] Fri, 05 September 2014 09:43 Go to previous message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
Thanks Cool
Previous Topic:[EMF FORMS] Major error if the store is not reachable
Next Topic:[EDAPT-ECP] Integration of Edapt with ECP
Goto Forum:
  


Current Time: Thu Sep 19 10:03:38 GMT 2024

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

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

Back to the top