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

Examples of org.eclipse.sapphire.ui.forms.swt.MasterDetailsEditorPage


    @Override
    protected IEditorPart createPage( final String pageDefinitionId )
    {
        if( PAGE_CALENDAR.equals( pageDefinitionId ) )
        {
            this.calendarDesignPage = new MasterDetailsEditorPage( this, getModelElement(), getDefinition( pageDefinitionId ) );
            return this.calendarDesignPage;
        }
        else if ( PAGE_CONTACTS.equals( pageDefinitionId ) )
        {
            getModelElement(); // make sure createModel() has been called
            this.contactsDesignPage = new MasterDetailsEditorPage( this, this.modelContacts, getDefinition( pageDefinitionId ) );
            return this.contactsDesignPage;
        }

        return null;
    }
View Full Code Here


        final EditorPageDef def = definition.resolve();

        if( def instanceof MasterDetailsEditorPageDef )
        {
            page = new MasterDetailsEditorPage( this, getModelElement(), definition );
        }
        else if( def instanceof FormEditorPageDef )
        {
            page = new FormEditorPage( this, getModelElement(), definition );
        }
View Full Code Here

   
    public IContentOutlinePage getContentOutline( final Object page )
    {
        if( page instanceof MasterDetailsEditorPage )
        {
            final MasterDetailsEditorPage mdpage = (MasterDetailsEditorPage) page;
            return mdpage.getContentOutlinePage();
        }
        else if (page instanceof IEditorPart)
        {
          if (((IEditorPart)page).getAdapter( IContentOutlinePage.class ) != null)
          {
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.forms.swt.MasterDetailsEditorPage

Copyright © 2018 www.massapicom. 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.