2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2011 - DIGITEO - Bruno JOFRET
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
12 package org.scilab.modules.graphic_objects.graphicView;
14 import org.scilab.modules.graphic_objects.ScilabNativeView;
15 import org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties;
17 public class ScilabView extends ScilabNativeView implements GraphicView {
19 private static ScilabView me;
24 public static ScilabView getScilabView() {
26 me = new ScilabView();
31 public void createObject(String id) {
32 ScilabNativeView__createObject(id);
35 public void deleteObject(String id) {
36 ScilabNativeView__deleteObject(id);
39 public void updateObject(String id, int property) {
40 if (property == GraphicObjectProperties.__GO_ID__) {
41 ScilabNativeView__updateObject(id, property);