Package honeycrm.client.mvp.presenters

Examples of honeycrm.client.mvp.presenters.ServiceTablePresenter$Display


            }
            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


            if (didCheck) {
                return alphaVisualIDs;
            }
            didCheck = true;
            X11 x11 = X11.INSTANCE;
            Display dpy = x11.XOpenDisplay(null);
            if (dpy == null)
                return alphaVisualIDs;
            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

        private void setWindowShape(final Window w, final PixmapSource src) {
            Runnable action = new Runnable() {
                public void run() {
                    X11 x11 = X11.INSTANCE;
                    Display dpy = x11.XOpenDisplay(null);
                    if (dpy == null) {
                        return;
                    }
                    Pixmap pm = null;
                    try {
View Full Code Here

    // TODO use common ITableView interface instead
    // TODO make this independent of the widget / chose the widget
    Serializable value = dto.get(fieldId);

    final ServiceTableView v = new ServiceTableView();
    final ServiceTablePresenter p = new ServiceTablePresenter(v, view, dto.getModule(), fieldId);

    if (value instanceof List<?>) {
      p.setValue((ArrayList<Dto>) value);
    } else {
      p.setValue(new ArrayList<Dto>());
    }
   
    return v;
  }
View Full Code Here

  }

  @Override
  protected Serializable internalGetData(Widget w) {
    // TODO use presenter.getValue() instead
    final ServiceTablePresenter presenter = ((TakesValue<ServiceTablePresenter>) w).getValue();
    return (Serializable) presenter.getValue();
  }
View Full Code Here

  protected void setUp() throws Exception {
    DtoModuleRegistry.create(NewDtoWizard.getConfiguration());

    this.view = new NewServiceTableViewMock();
    this.module = UniqueService.class.getSimpleName();
    this.presenter = new ServiceTablePresenter(view, View.EDIT, Contract.class.getSimpleName(), "uniqueServices");
  }
View Full Code Here

    this.module = UniqueService.class.getSimpleName();
    this.presenter = new ServiceTablePresenter(view, View.EDIT, Contract.class.getSimpleName(), "uniqueServices");
  }

  public void testCreate() {
    this.presenter = new ServiceTablePresenter(view, View.EDIT, Contract.class.getSimpleName(), "uniqueServices");
  }
View Full Code Here

   
    replay(readService);*/
  }
 
  public void testCreate() {
    presenter = new ServiceTablePresenter(view, View.EDIT, Contract.class.getSimpleName(), "uniqueServices");
  }
View Full Code Here

  public void testSequence() {
    ProcessDefinition processDefinition = ProcessFactory.build("sequence")
        .compositeNode("sequence").initial().behaviour(new Sequence())
          .needsPrevious()
          .node("one").behaviour(new Display("one"))
          .node("2").behaviour(new WaitState())
          .node("two").behaviour(new Display("two"))
        .compositeEnd()
    .done();

    Execution execution = processDefinition.startExecution();
    execution.signal();
View Full Code Here

TOP

Related Classes of honeycrm.client.mvp.presenters.ServiceTablePresenter$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.