Example #1
0
 @Override
 @SuppressWarnings("synthetic-access")
 public void run() {
   Clock clock = instance.clock();
   T current = instance.current();
   if (parent.isDisposed() || clock == null || current == null) return;
   if (!viewLock.acquire()) return;
   setLayout(clock, current);
   parent.layout(true, true);
   viewLock.release();
   isLayoutReady = true;
   ZephyrSync.submitView(ClassTypeView.this, clock);
 }
Example #2
0
 @Override
 public void run() {
   drawer.setColorMap(isChecked() ? AbstractDrawer.BWColorMap : AbstractDrawer.DarkBlueColorMap);
   ZephyrSync.submitView(view);
 }