private Component createUpperRightComponent() {

        HorizontalLayout upperRight = new HorizontalLayout();
        upperRight.setSizeFull();

        FormLayout fileNameDisplay = new FormLayout();
        fileNameDisplay.setDefaultComponentAlignment(Alignment.MIDDLE_LEFT);
        fileNameDisplay.setSizeFull();

        m_filePathField = new TextField();
        m_filePathField.setWidth("100%");
        m_filePathField.setEnabled(true);
        m_filePathField.setReadOnly(true);

        fileNameDisplay.addComponent(m_filePathField);
        fileNameDisplay.setSpacing(true);

        FormLayout filePathDisplay = new FormLayout();
        filePathDisplay.setDefaultComponentAlignment(Alignment.MIDDLE_LEFT);
        filePathDisplay.setSizeFull();
        filePathDisplay.addComponent(m_filePathField);
        filePathDisplay.setSpacing(true);

        upperRight.addComponent(filePathDisplay);
        upperRight.setExpandRatio(filePathDisplay, 2f);

        HorizontalLayout placeHolder = new HorizontalLayout();
        placeHolder.setWidth(CmsMessageBundleEditorTypes.OPTION_COLUMN_WIDTH_PX);
        upperRight.addComponent(placeHolder);

        return upperRight;
    }
private Component createUpperRightComponent ( ) { HorizontalLayout upperRight = new HorizontalLayout ( ) ; upperRight . setSizeFull ( ) ; FormLayout fileNameDisplay = new FormLayout ( ) ; fileNameDisplay . setDefaultComponentAlignment ( Alignment . MIDDLE_LEFT ) ; fileNameDisplay . setSizeFull ( ) ; m_filePathField = new TextField ( ) ; m_filePathField . setWidth ( "100%" ) ; m_filePathField . setEnabled ( true ) ; m_filePathField . setReadOnly ( true ) ; fileNameDisplay . addComponent ( m_filePathField ) ; fileNameDisplay . setSpacing ( true ) ; FormLayout filePathDisplay = new FormLayout ( ) ; filePathDisplay . setDefaultComponentAlignment ( Alignment . MIDDLE_LEFT ) ; filePathDisplay . setSizeFull ( ) ; filePathDisplay . addComponent ( m_filePathField ) ; filePathDisplay . setSpacing ( true ) ; upperRight . addComponent ( filePathDisplay ) ; upperRight . setExpandRatio ( filePathDisplay , 2f ) ; HorizontalLayout placeHolder = new HorizontalLayout ( ) ; placeHolder . setWidth ( CmsMessageBundleEditorTypes . OPTION_COLUMN_WIDTH_PX ) ; upperRight . addComponent ( placeHolder ) ; return upperRight ; }
Creates the upper right component of the options grid.
Creation includes the initialization of {@link #m_filePathField}.

@return the upper right component in the options grid.