Package org.eclipse.ui.contexts

Examples of org.eclipse.ui.contexts.IContextService.deactivateContext()


                if (activateContext == null) {
                    activateContext = contextService.activateContext("com.python.pydev.contexts.window");
                }
            } else {
                if (activateContext != null) {
                    contextService.deactivateContext(activateContext);
                }
                activateContext = null;
            }
        }
    }
View Full Code Here


            this.view.getActionGroup().deactivateGlobalActionHandlers();

            IContextService contextService = ( IContextService ) PlatformUI.getWorkbench().getAdapter(
                IContextService.class );
            contextService.deactivateContext( contextActivation );
            contextActivation = null;
        }
    }

View Full Code Here

            this.entryEditor.getActionGroup().deactivateGlobalActionHandlers();

            IContextService contextService = ( IContextService ) PlatformUI.getWorkbench().getAdapter(
                IContextService.class );
            contextService.deactivateContext( contextActivation );
            contextActivation = null;
        }
    }

View Full Code Here

        if ( part == this.editor && contextActivation != null )
        {

            IContextService contextService = ( IContextService ) PlatformUI.getWorkbench().getAdapter(
                IContextService.class );
            contextService.deactivateContext( contextActivation );
            contextActivation = null;

            this.editor.getActionGroup().deactivateGlobalActionHandlers();

        }
View Full Code Here

            this.deactivateGlobalActionHandlers();

            IContextService contextService = ( IContextService ) PlatformUI.getWorkbench().getAdapter(
                IContextService.class );
            contextService.deactivateContext( contextActivation );
            contextActivation = null;
        }
    }

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.