Package org.eclipse.sapphire.ui.forms.swt

Examples of org.eclipse.sapphire.ui.forms.swt.SapphireToolBarActionPresentation.addFilter()


    {
        final PropertyEditorPart part = part();
        final Value<?> property = (Value<?>) part.property();
       
        final SapphireToolBarActionPresentation toolBarActionsPresentation = new SapphireToolBarActionPresentation( getActionPresentationManager() );
        toolBarActionsPresentation.addFilter( createFilterByActionId( ACTION_ASSIST ) );
        toolBarActionsPresentation.addFilter( createFilterByActionId( ACTION_BROWSE ) );
       
        final boolean isActionsToolBarNeeded = toolBarActionsPresentation.hasActions();
       
        final Composite composite = createMainComposite( parent );
View Full Code Here


        final PropertyEditorPart part = part();
        final Value<?> property = (Value<?>) part.property();
       
        final SapphireToolBarActionPresentation toolBarActionsPresentation = new SapphireToolBarActionPresentation( getActionPresentationManager() );
        toolBarActionsPresentation.addFilter( createFilterByActionId( ACTION_ASSIST ) );
        toolBarActionsPresentation.addFilter( createFilterByActionId( ACTION_BROWSE ) );
       
        final boolean isActionsToolBarNeeded = toolBarActionsPresentation.hasActions();
       
        final Composite composite = createMainComposite( parent );
        composite.setLayout( glspacing( glayout( ( isActionsToolBarNeeded ? 3 : 2 ), 0, 0 ), 2 ) );
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.