Package org.eclipse.ui

Examples of org.eclipse.ui.IDecoratorManager.update()


   
   
    if (_directAccessDefaultChanged) {
      IDecoratorManager decoratorManager = Activator.getDefault().getWorkbench().getDecoratorManager();
          if (decoratorManager.getEnabled(ExternalResourceIds.DECORATOR_TML_FILE)) {
            decoratorManager.update(ExternalResourceIds.DECORATOR_TML_FILE);              
          }
    }
    _directAccessDefaultChanged = false;
  }
View Full Code Here


    public static void updateDecoration() {
        final IWorkbench workbench = Activator.getDefault().getWorkbench();
        workbench.getDisplay().syncExec(new Runnable() {
            public void run() {
                IDecoratorManager manager = workbench.getDecoratorManager();
                manager.update(GuvnorDecorator.DECORATOR_ID);
            }
        });
    }

    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.