Examples of definition()


Examples of org.eclipse.sapphire.ui.forms.ActuatorPart.definition()

    @Override
    public void render()
    {
        final ActuatorPart part = part();
        final ActuatorDef def = part.definition();
       
        final SapphireActionGroup actions = part.getActions();
        this.actionPresentationManager = new SapphireActionPresentationManager( this, actions );
        final SapphireKeyboardActionPresentation keyboardActionPresentation = new SapphireKeyboardActionPresentation( this.actionPresentationManager );
       
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.CompositePart.definition()

   
    @Override
    public void render()
    {
        final CompositePart part = part();
        final CompositeDef def = part.definition();
       
        final boolean indent = ( def.getIndent().content() && ! ( part.parent() instanceof MasterDetailsContentNodePart ) );
       
        if( indent )
        {
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.FormEditorPagePart.definition()

                {
                    final Presentation childPresentation = child.createPresentation( null, body );
                    childPresentation.render();
                }

                final ISapphireDocumentation doc = part.definition().getDocumentation().content();
               
                if( doc != null )
                {
                    ISapphireDocumentationDef docdef = null;
                   
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.HtmlPanelPart.definition()

   
    @Override
    public void render()
    {
        final HtmlPanelPart part = part();
        final HtmlPanelDef def = part.definition();
       
        final boolean scaleVertically = part.getScaleVertically();
        GridData gd = gdhindent( gdwhint( gdhspan( ( scaleVertically ? gdfill() : gdhfill() ), 2 ), 100 ), 9 );
       
        if( ! scaleVertically )
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.MasterDetailsEditorPagePart.definition()

       
        String partName = pageName;
       
        if( partName == null )
        {
            partName = part.definition().getPageName().localized( CapitalizationType.TITLE_STYLE, false );
        }
       
        setPartName( partName );
       
        // Content Outline
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.PropertyEditorPart.definition()

        final StringTokenizer columnWidthsHintTokenizer = new StringTokenizer( columnWidthsHint, "," );
       
        for( final ModelPath childPropertyPath : part.getChildProperties() )
        {
            final PropertyDef childProperty = property.definition().getType().property( childPropertyPath );
            final PropertyEditorDef childPropertyEditorDef = part.definition().getChildPropertyEditor( childPropertyPath );
            final TableViewerColumn tableViewerColumn = new TableViewerColumn( this.tableViewer, SWT.NONE );
           
            if( childPropertyEditorDef == null )
            {
                final String label = childProperty.getLabel( false, CapitalizationType.TITLE_STYLE, false );
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.SectionPart.definition()

   
    @Override
    protected Composite renderOuterComposite( final GridData gd )
    {
        final SectionPart part = part();
        final SectionDef def = part.definition();
       
        final FormToolkit toolkit = new FormToolkit( composite().getDisplay() );
       
        final Composite outerComposite = new Composite( composite(), SWT.NONE );
        outerComposite.setLayoutData( gdhspan( ( part().getScaleVertically() ? gdfill() : gdhfill() ), 2 ) );
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.SplitFormPart.definition()

   
    @Override
    public final void render()
    {
        final SplitFormPart part = part();
        final SplitFormDef def = part.definition();
       
        final int formMarginLeft = def.getMarginLeft().content();
        final int formMarginRight = def.getMarginRight().content();
        final int formMarginTop = def.getMarginTop().content();
        final int formMarginBottom = def.getMarginBottom().content();
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.WithPart.definition()

   
    @Override
    public void render()
    {
        final WithPart part = part();
        final WithDef def = part.definition();
        final ElementHandle<?> property = part.property();
       
        final Composite composite = new Composite( composite(), SWT.NONE );
        composite.setLayoutData( gdhspan( ( part.getScaleVertically() ? gdfill() : gdhfill() ), 2 ) );
        composite.setLayout( glayout( 1, 0, 0 ) );
View Full Code Here

Examples of org.jboss.seam.annotations.CreateProcess.definition()

      {
         if ( method.isAnnotationPresent( CreateProcess.class ) )
         {
            log.trace( "encountered @CreateProcess" );
            CreateProcess tag = method.getAnnotation(CreateProcess.class);
            BusinessProcess.instance().createProcess( tag.definition() );
         }
         if ( method.isAnnotationPresent(StartTask.class) )
         {
            log.trace( "encountered @StartTask" );
            BusinessProcess.instance().startTask();
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.