Skip to content
Snippets Groups Projects

Initial public commit with latest geometry editor work.

Closed Eclipse Webmaster requested to merge master-40 into master
104 files
+ 9961
4518
Compare changes
  • Side-by-side
  • Inline
Files
104
@@ -32,7 +32,7 @@ import org.eclipse.ui.forms.widgets.ScrolledForm;
/**
* <p>
* This class is ICEFormPage that displays the GeometryEditor powered by JME3.
* This class is ICEFormPage that displays the GeometryEditor powered by JavaFX.
* It automatically opens the ShapeTreeView and TransformationView to allow the
* user to add and edit geometry.
* </p>
@@ -170,13 +170,15 @@ public class ICEGeometryPage extends ICEFormPage implements IUpdateableListener
// Get JME3 Geometry service from factory
IVizServiceFactory factory = ((ICEFormEditor) editor)
.getVizServiceFactory();
IVizService service = factory.get("JME3 Geometry Editor");
IVizService service = factory.get("ICE Geometry Editor");
// Create and draw geometry canvas
try {
IVizCanvas vizCanvas = service.createCanvas(geometryComp
.getGeometry().getGeometry());
vizCanvas.draw(parent);
} catch (Exception e) {
logger.error(
Loading