Examples of FieldDecoration


Examples of org.eclipse.jface.fieldassist.FieldDecoration

        BaseWidgetUtils.createLabel( composite, "Attribute type:", 1 );
//        attributeTypeCombo = BaseWidgetUtils.createCombo( composite, possibleAttributeTypes, -1, 1 );
//        attributeTypeCombo.setText( parsedAttributeType );

        // attribute combo with field decoration
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        attributeTypeComboField = new DecoratedField( composite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

        Composite availableObjectClassesComposite = BaseWidgetUtils.createColumnContainer( composite, 1, 1 );

        if ( FieldDecorationRegistry.getDefault().getFieldDecoration( getClass().getName() ) == null )
        {
            FieldDecoration dummy = FieldDecorationRegistry.getDefault().getFieldDecoration(
                FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
            FieldDecorationRegistry.getDefault().registerFieldDecoration( getClass().getName(),
                "You may enter a filter to restrict the list below", dummy.getImage() );
        }
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            getClass().getName() );
        final DecoratedField availabeObjectClassesInstantSearchField = new DecoratedField(
            availableObjectClassesComposite, SWT.BORDER, new IControlCreator()
            {
                public Control createControl( Composite parent, int style )
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

        // combo widget
        String[] allOcNames = SchemaUtils.getNamesAsArray( schema.getObjectClassDescriptions() );
        Arrays.sort( allOcNames );

        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        objectClassComboField = new DecoratedField( composite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

        BaseWidgetUtils.createLabel( composite, "Attribute type:", 1 );
//        attributeTypeCombo = BaseWidgetUtils.createCombo( composite, possibleAttributeTypes, -1, 1 );
//        attributeTypeCombo.setText( parsedAttributeType );

        // attribute combo with field decoration
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        attributeTypeComboField = new DecoratedField( composite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

        modSpec.modType.addModifyListener( this );
        String[] attributeDescriptions = SchemaUtils.getNamesAsArray( schema.getAttributeTypeDescriptions() );
        Arrays.sort( attributeDescriptions );

        // attribute combo with field decoration
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        modSpec.modAttributeComboField = new DecoratedField( modSpecComposite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

     */
    private RdnLine createRdnLine( final Composite rdnComposite )
    {
        final RdnLine rdnLine = new RdnLine();

        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        rdnLine.rdnNameComboField = new DecoratedField( rdnComposite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration


  private void setupFieldDecorators() {
    Image localImage = KernelPlugin.getDefault().getImage("icons/rac_required.png");
    String str = Messages.getString("RACLoginDialog.REQUIRED.LABEL");
    requiredDecorator = new FieldDecoration(localImage, str);
  }
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

     * @param parent the parent
     */
    public void createWidget( final Composite parent )
    {
        // filter combo with field decoration
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        filterComboField = new DecoratedField( parent, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

        GridData gd = new GridData( GridData.FILL_BOTH );
        gd.widthHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH );
        composite.setLayoutData( gd );

        // combo widget
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        administrativeRoleComboField = new DecoratedField( composite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
View Full Code Here

Examples of org.eclipse.jface.fieldassist.FieldDecoration

        modSpec.modType.addModifyListener( this );
        String[] attributeDescriptions = schema.getAttributeTypeDescriptionNames();
        Arrays.sort( attributeDescriptions );

        // attribute combo with field decoration
        final FieldDecoration fieldDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(
            FieldDecorationRegistry.DEC_CONTENT_PROPOSAL );
        modSpec.modAttributeComboField = new DecoratedField( modSpecComposite, SWT.NONE, new IControlCreator()
        {
            public Control createControl( Composite parent, int style )
            {
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.