Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to show Coordinate Properties
How to show Coordinate Properties [message #492172] Mon, 19 October 2009 10:11 Go to next message
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009
Member
i am trying to show in my Property View (Core) the values of X, Y , Height, Width Coordinates of my (for example Rectangle). Now i am asking whats the simplest way to implement this problem.

Is a new PropertyTab better than the core propertytab? how can i get the bounds of my rectangle to set the correct values (Figure, Edit Part or Create Command?)

And if i change the values in the property page, the location of the shape have to change to the correct position.

i tried
protected void refreshBounds() {
		System.out.println(this.primaryShape.getBounds());
		super.refreshBounds();
		EObject element = view.getElement();
		width = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getSize_Width());
		height = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getSize_Height());
		x = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getLocation_X());
		
		y = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getLocation_Y());		
		
		//TODO SET VALUES TO MODEL ELLIPSE
                //HERE java.lang.IllegalStateException: Cannot modify resource set without a write transaction
		((EllipseImpl) element).setX(this.x);
		((EllipseImpl) element).setY(this.y);
		((EllipseImpl) element).setRx(this.width);
		((EllipseImpl) element).setRy(this.height);
		//------------------------------------------------------------
		
	}



java.lang.IllegalStateException: Cannot modify resource set without a write transaction
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.a ssertWriting(TransactionChangeRecorder.java:348)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.a ppendNotification(TransactionChangeRecorder.java:302)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.p rocessObjectNotification(TransactionChangeRecorder.java:284)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.n otifyChanged(TransactionChangeRecorder.java:240)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:280)
at element.impl.ShapesImpl.setX(ShapesImpl.java:111)
at element.diagram.edit.parts.EllipseEditPart.refreshBounds(Ell ipseEditPart.java:93)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart.r efreshVisuals(ShapeEditPart.java:186)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:676)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:571)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt$3.run(GraphicalEditPart.java:855)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.runExclusive(TransactionalEditingDomainImpl.java:313)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.refresh(GraphicalEditPart.java:845)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:235)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:219)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:198)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.addChild(GraphicalEditPart.java:1313)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:727)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:677)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:571)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt$3.run(GraphicalEditPart.java:855)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.runExclusive(TransactionalEditingDomainImpl.java:313)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.refresh(GraphicalEditPart.java:845)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:235)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:219)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:198)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(Sim pleRootEditPart.java:101)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents( AbstractEditPartViewer.java:601)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalVie wer.setContents(DiagramGraphicalViewer.java:378)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents( AbstractEditPartViewer.java:610)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initi alizeGraphicalViewerContents(DiagramEditor.java:870)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initi alizeGraphicalViewer(DiagramEditor.java:863)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFl yOutPalette.initializeGraphicalViewer(DiagramEditorWithFlyOu tPalette.java:116)
at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.initializeGraphicalViewer(DiagramDocumen tEditor.java:175)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.creat eGraphicalViewer(DiagramEditor.java:807)
at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(G raphicalEditor.java:163)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.creat ePartControl(DiagramEditor.java:1555)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFl yOutPalette.createPartControl(DiagramEditorWithFlyOutPalette .java:328)
at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.createPartControl(DiagramDocumentEditor. java:1510)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:271)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1417)
at org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:942)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbe nch.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
at org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1379)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2335)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at element.diagram.application.ElementApplication.start(Element Application.java:19)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



need some help please.
Thomas

[Updated on: Mon, 19 October 2009 14:58]

Report message to a moderator

Re: How to show Coordinate Properties Solved [message #492370 is a reply to message #492172] Tue, 20 October 2009 09:18 Go to previous messageGo to next message
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009
Member
I solved my problem

Solution:
@Override
	protected void refreshBounds() {
	
			
		super.refreshBounds();

		final EObject element = view.getElement();

		rx = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getSize_Width());
		ry = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getSize_Height());
		x = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getLocation_X());

		y = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
				.getLocation_Y());

		TransactionalEditingDomain editingDomain = ((IGraphicalEditPart) this)
				.getEditingDomain();

		SetRequest setRequestX = new SetRequest(editingDomain, element,
				ElementPackage.eINSTANCE.getShapes_X(), x);
		setRequestX.setParameter("oldValue", ((Ellipse) element).getX());

		SetRequest setRequestY = new SetRequest(editingDomain, element,
				ElementPackage.eINSTANCE.getShapes_Y(), y);
		setRequestY.setParameter("oldValue", ((Ellipse) element).getY());

		SetRequest setRequestRx = new SetRequest(editingDomain, element,
				ElementPackage.eINSTANCE.getEllipse_Rx(), rx);
		setRequestRx.setParameter("oldValue", ((Ellipse) element).getRx());

		SetRequest setRequestRy = new SetRequest(editingDomain, element,
				ElementPackage.eINSTANCE.getEllipse_Ry(), ry);
		setRequestRy.setParameter("oldValue", ((Ellipse) element).getRy());

		EditPart viewPart = this;
		SetValueCommand operation = null;
		CommandStack stack = viewPart.getViewer().getEditDomain()
				.getCommandStack();

		operation = setMultipleValueCommand(setRequestX, element,
				ElementPackage.eINSTANCE.getShapes_X());
		stack.execute(new ICommandProxy(operation));
		operation = setMultipleValueCommand(setRequestY, element,
				ElementPackage.eINSTANCE.getShapes_X());
		stack.execute(new ICommandProxy(operation));
		operation = setMultipleValueCommand(setRequestRx, element,
				ElementPackage.eINSTANCE.getShapes_X());
		stack.execute(new ICommandProxy(operation));
		operation = setMultipleValueCommand(setRequestRy, element,
				ElementPackage.eINSTANCE.getShapes_X());
		stack.execute(new ICommandProxy(operation));

		//this.primaryShape.setBounds(new Rectangle(x, y, rx, ry));

	}

	private SetValueCommand setMultipleValueCommand(SetRequest request,
			final EObject element, final EAttribute eAttribute) {
		SetValueCommand operation = new SetValueCommand(request) {
			@Override
			protected IStatus doUndo(IProgressMonitor monitor, IAdaptable info)
					throws ExecutionException {
				element.eSet(eAttribute, this.getRequest().getParameter(
						"oldValue"));
				return Status.OK_STATUS;
			}

			@Override
			public boolean canUndo() {
				return true;
			}

			@Override
			protected IStatus doRedo(IProgressMonitor monitor, IAdaptable info)
					throws ExecutionException {
				element.eSet(eAttribute,// NotationPackage.eINSTANCE.getLocation_X(),
						((SetRequest) this.getRequest()).getValue());
				return Status.OK_STATUS;
			}

			@Override
			public boolean canRedo() {
				return true;
			}
		};
		return operation;
	}



Now i need to know, how can i set my values using the property page. When i set x coordinate (f.e. 100) it have to change also the location of my Element to x = 100; my prob is in ElementPropertySheet#getPropertySource(Object object)

value object is an Integer with value 100 (here^^) but nothing more and i am not able to understand which attribute it is.

here is the Exception i found:


WorkspaceCommandStackImpl#doExecute

/**
     * {@inheritDoc}
     * 
     *  @since 1.1
	 */
	@Override
	protected void doExecute(Command command, Map<?, ?> options)
			throws InterruptedException, RollbackException {
		EMFCommandOperation oper = new EMFCommandOperation(getDomain(), command, options);
		
		// add the appropriate context
		oper.addContext(getDefaultUndoContext());
		
		try {
			IStatus status =[COLOR=red] history.execute(oper, new NullProgressMonitor(), null);[/COLOR] <--------------Here is my Error
			
			if (status.getSeverity() >= IStatus.ERROR) {
				// the transaction must have rolled back if the status was
				//    error or worse
				RollbackException exc = new RollbackException(status);
				Tracing.throwing(WorkspaceCommandStackImpl.class,
						"execute", exc); //$NON-NLS-1$
				throw exc;
			}
			
			notifyListeners();
		} catch (ExecutionException e) {
			Tracing.catching(WorkspaceCommandStackImpl.class, "execute", e); //$NON-NLS-1$
			command.dispose();
			
			if (e.getCause() instanceof RollbackException) {
				// throw the rollback
				RollbackException exc = (RollbackException) e.getCause();
				Tracing.throwing(WorkspaceCommandStackImpl.class, "execute", exc); //$NON-NLS-1$
				throw exc;
			} else if (e.getCause() instanceof RuntimeException) {
				// throw the programming error
				RuntimeException exc = (RuntimeException) e.getCause();
				Tracing.throwing(WorkspaceCommandStackImpl.class, "execute", exc); //$NON-NLS-1$
				throw exc;
			} else {
				// log the problem.  We can't rethrow whatever it was
				handleError(e);
			}
		}
	}


com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred invoking method.



Quote:

Thomas
i am trying to show in my Property View (Core) the values of X, Y , Height, Width Coordinates of my (for example Rectangle). Now i am asking whats the simplest way to implement this problem.

Is a new PropertyTab better than the core propertytab? how can i get the bounds of my rectangle to set the correct values (Figure, Edit Part or Create Command?)

And if i change the values in the property page, the location of the shape have to change to the correct position.

i tried

protected void refreshBounds() {
System.out.println(this.primaryShape.getBounds());
super.refreshBounds();
EObject element = view.getElement();
width = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
.getSize_Width());
height = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
.getSize_Height());
x = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
.getLocation_X());

y = (Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE
.getLocation_Y());

//TODO SET VALUES TO MODEL ELLIPSE
//HERE java.lang.IllegalStateException: Cannot modify resource set without a write transaction
((EllipseImpl) element).setX(this.x);
((EllipseImpl) element).setY(this.y);
((EllipseImpl) element).setRx(this.width);
((EllipseImpl) element).setRy(this.height);
//---------------------------------------------------------- --

}




java.lang.IllegalStateException: Cannot modify resource set without a write transaction
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.a ssertWriting(TransactionChangeRecorder.java:348)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.a ppendNotification(TransactionChangeRecorder.java:302)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.p rocessObjectNotification(TransactionChangeRecorder.java:284)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.n otifyChanged(TransactionChangeRecorder.java:240)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:280)
at element.impl.ShapesImpl.setX(ShapesImpl.java:111)
at element.diagram.edit.parts.EllipseEditPart.refreshBounds(Ell ipseEditPart.java:93)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart.r efreshVisuals(ShapeEditPart.java:186)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:676)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:571)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt$3.run(GraphicalEditPart.java:855)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.runExclusive(TransactionalEditingDomainImpl.java:313)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.refresh(GraphicalEditPart.java:845)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:235)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:219)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:198)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.addChild(GraphicalEditPart.java:1313)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:727)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:677)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:571)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt$3.run(GraphicalEditPart.java:855)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.runExclusive(TransactionalEditingDomainImpl.java:313)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPa rt.refresh(GraphicalEditPart.java:845)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:235)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:219)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:198)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(Sim pleRootEditPart.java:101)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents( AbstractEditPartViewer.java:601)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalVie wer.setContents(DiagramGraphicalViewer.java:378)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents( AbstractEditPartViewer.java:610)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initi alizeGraphicalViewerContents(DiagramEditor.java:870)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initi alizeGraphicalViewer(DiagramEditor.java:863)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFl yOutPalette.initializeGraphicalViewer(DiagramEditorWithFlyOu tPalette.java:116)
at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.initializeGraphicalViewer(DiagramDocumen tEditor.java:175)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.creat eGraphicalViewer(DiagramEditor.java:807)
at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(G raphicalEditor.java:163)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.creat ePartControl(DiagramEditor.java:1555)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFl yOutPalette.createPartControl(DiagramEditorWithFlyOutPalette .java:328)
at org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.createPartControl(DiagramDocumentEditor. java:1510)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:271)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1417)
at org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:942)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbe nch.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
at org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1379)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2335)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at element.diagram.application.ElementApplication.start(Element Application.java:19)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



need some help please.
Thomas

[Updated on: Tue, 20 October 2009 14:22]

Report message to a moderator

Re: How to show Coordinate Properties Solved [message #721853 is a reply to message #492370] Sat, 03 September 2011 06:47 Go to previous message
pavithra Missing name is currently offline pavithra Missing nameFriend
Messages: 12
Registered: May 2011
Junior Member
Hi, did you find the solution?
Previous Topic:Change the order of parameters that are displayed on property window in GMF
Next Topic:Relocation of child nodes
Goto Forum:
  


Current Time: Sun Mar 07 19:05:58 GMT 2021

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

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

Back to the top