Package com.google.gwt.ricordo.client.presenter

Examples of com.google.gwt.ricordo.client.presenter.AnnotVariablePresenter$Display


    presenter.go(container);
 
 
  private void doVariableSelect(VariableSearch variableSearch) {
      History.newItem(VARANNOT_PAGE, false);
      Presenter presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), variableSearch);
      presenter.go(container);
    }
View Full Code Here


    } else if (parentPage.equals(COMPOSITE_PAGE)) {
      History.newItem(COMPOSITE_PAGE);
      presenter = new CompositePresenter(rpcService, eventBus, new CompositeView(), manQuery);
    } else if (parentPage.equals(VARANNOT_PAGE)){
      History.newItem(VARANNOT_PAGE);
      presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), manQuery, variableSearch);
    }
    presenter.go(container);
  }
View Full Code Here

      History.newItem(COMPOSITE_PAGE);
      presenter = new CompositePresenter(rpcService, eventBus, new CompositeView());
    }
    else if (parentPage.equals(VARANNOT_PAGE)){
      History.newItem(VARANNOT_PAGE);
      presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), variableSearch);
    }
    presenter.go(container);     
  }
View Full Code Here

         * Return the visual ID of the visual which supports an alpha
         * channel.
         */
        private int[] getAlphaVisuals() {
            X11 x11 = X11.INSTANCE;
            Display dpy = x11.XOpenDisplay(null);
            if (dpy == null)
                return new int[0];
            XVisualInfo info = null;
            try {
                int screen = x11.XDefaultScreen(dpy);
View Full Code Here

                throw new UnsupportedOperationException("This X11 display does not provide a 32-bit visual");
            }
            Runnable action = new Runnable() {
                public void run() {
                    X11 x11 = X11.INSTANCE;
                    Display dpy = x11.XOpenDisplay(null);
                    if (dpy == null)
                        return;
                    try {
                        X11.Window win = getDrawable(w);
                        if (alpha == 1f) {
View Full Code Here

        public void setWindowMask(final Window w, final Raster raster) {
            Runnable action = new Runnable() {
                public void run() {
                    X11 x11 = X11.INSTANCE;
                    Xext ext = Xext.INSTANCE;
                    Display dpy = x11.XOpenDisplay(null);
                    if (dpy == null)
                        return;
                    Pixmap pm = null;
                    try {
                        X11.Window win = getDrawable(w);
View Full Code Here

    }

    private void updateX11(boolean a, boolean i) {
        X11 x11 = X11.INSTANCE;
        X11.Window win = X11.Window.None;
        Display dpy = x11.XOpenDisplay(null);
        try {
            if (!alphaWindow.isDisplayable()) {
                alphaWindow.pack();
                if (System.getProperty("java.version").matches("^1\\.4\\..*"))
                    alphaWindow.setVisible(true);
View Full Code Here

            }
            return 0;
        }
        public boolean isPressed(int keycode, int location) {
            X11 lib = X11.INSTANCE;
            Display dpy = lib.XOpenDisplay(null);
            if (dpy == null) {
                throw new Error("Can't open X Display");
            }
            try {
                byte[] keys = new byte[32];
View Full Code Here

    private com.sun.jna.Memory buffer;
    private int[] pixels;
    private void updateX11(boolean a, boolean i) {
        X11 x11 = X11.INSTANCE;
        X11.Window win = X11.Window.None;
        Display dpy = x11.XOpenDisplay(null);
        try {
            if (!alphaWindow.isDisplayable()) {
                alphaWindow.pack();
                if (System.getProperty("java.version").matches("^1\\.4\\..*"))
                    alphaWindow.setVisible(true);
View Full Code Here

            }
            return 0;
        }
        public boolean isPressed(int keycode, int location) {
            X11 lib = X11.INSTANCE;
            Display dpy = lib.XOpenDisplay(null);
            if (dpy == null) {
                throw new Error("Can't open X Display");
            }
            try {
                byte[] keys = new byte[32];
View Full Code Here

TOP

Related Classes of com.google.gwt.ricordo.client.presenter.AnnotVariablePresenter$Display

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.