Package rabbit.data.store.model

Examples of rabbit.data.store.model.PerspectiveEvent


  @Override
  protected PerspectiveEvent createEventDiff(DateTime dateTime) {
    IPerspectiveDescriptor p = PlatformUI.getWorkbench()
        .getPerspectiveRegistry().getPerspectives()[1];
    return new PerspectiveEvent(new Interval(dateTime, dateTime.plus(2)), p);
  }
View Full Code Here


      .getPerspectiveRegistry().getPerspectives()[1];
  private PerspectiveEvent event = createEvent(new Interval(0, 1));

  @Test(expected = NullPointerException.class)
  public void testConstructor_withPerspectiveNull() {
    new PerspectiveEvent(new Interval(0, 1), null);
  }
View Full Code Here

    assertEquals(pers, event.getPerspective());
  }

  @Override
  protected PerspectiveEvent createEvent(Interval interval) {
    return new PerspectiveEvent(interval, PlatformUI.getWorkbench()
        .getPerspectiveRegistry().getPerspectives()[1]);
  }
View Full Code Here

TOP

Related Classes of rabbit.data.store.model.PerspectiveEvent

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.