Package org.rssowl.core.persist.event

Examples of org.rssowl.core.persist.event.MarkEvent


        FolderEvent eventTemplate = new FolderEvent(folder, oldParent, true);
        folderEvents.add(eventTemplate);
        DBHelper.putEventTemplate(eventTemplate);
      } else if (child instanceof IMark) {
        IMark mark = (IMark) child;
        MarkEvent markEvent;
        synchronized (mark) {
          removeChildFromFolder(mark);
          addMarkToFolder(newParent, mark, newPosition, reparentInfo.isAfter());
          if (newPosition != null) {
            List<IMark> markList = Collections.singletonList(mark);
View Full Code Here


  private void onMarksAdded(Set<? extends MarkEvent> events) {

    /* Reveal and Select if single Entity added */
    if (events.size() == 1) {
      final MarkEvent event = events.iterator().next();
      JobRunner.runInUIThread(fViewer.getControl(), new Runnable() {
        public void run() {
          expand(event.getEntity().getParent());
        }
      });
    }
  }
View Full Code Here

      }

      /* Mark */
      else if (child instanceof IMark) {
        IMark mark = (IMark) child;
        MarkEvent markEvent;
        synchronized (mark) {
          removeChildFromFolder(mark);
          addMarkToFolder(newParent, mark, newPosition, reparentInfo.isAfter());
          if (newPosition != null) {
            List<IMark> markList = Collections.singletonList(mark);
View Full Code Here

  private void onMarksAdded(Set<? extends MarkEvent> events) {

    /* Reveal and Select if single Entity added */
    if (events.size() == 1) {
      final MarkEvent event = events.iterator().next();
      JobRunner.runInUIThread(fViewer.getControl(), new Runnable() {
        public void run() {
          expand(event.getEntity().getParent());
        }
      });
    }
  }
View Full Code Here

TOP

Related Classes of org.rssowl.core.persist.event.MarkEvent

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.