Examples of open()


Examples of org.apache.directory.ldapstudio.schemas.view.views.SchemasViewSortDialog.open()

     * @see org.eclipse.jface.action.Action#run()
     */
    public void run()
    {
        SchemasViewSortDialog svsd = new SchemasViewSortDialog( PlatformUI.getWorkbench().getDisplay().getActiveShell() );
        svsd.open();
    }
}
View Full Code Here

Examples of org.apache.directory.studio.aciitemeditor.dialogs.ACIItemDialog.open()

        if ( value != null && value instanceof ACIItemValueWithContext )
        {
            ACIItemValueWithContext context = ( ACIItemValueWithContext ) value;

            ACIItemDialog dialog = new ACIItemDialog( shell, context );
            if ( dialog.open() == ACIItemDialog.OK && !"".equals( dialog.getACIItemValue() ) ) //$NON-NLS-1$
            {
                setValue( dialog.getACIItemValue() );
                return true;
            }
        }
View Full Code Here

Examples of org.apache.directory.studio.aciitemeditor.dialogs.ItemPermissionDialog.open()

     * item permission to the list.
     */
    private void addItemPermission()
    {
        ItemPermissionDialog dialog = new ItemPermissionDialog( getShell(), null, context );
        if ( dialog.open() == ItemPermissionDialog.OK && dialog.getItemPermission() != null )
        {
            ItemPermissionWrapper itemPermissionWrapper = new ItemPermissionWrapper( dialog.getItemPermission() );
            itemPermissionWrappers.add( itemPermissionWrapper );

            tableViewer.refresh();
View Full Code Here

Examples of org.apache.directory.studio.aciitemeditor.dialogs.MultiValuedDialog.open()

        {
            if ( protectedItemWrapper.isMultivalued() )
            {
                MultiValuedDialog dialog = new MultiValuedDialog( getShell(), protectedItemWrapper.getDisplayName(),
                    protectedItemWrapper.getValues(), context, valueEditor );
                dialog.open();
                refreshTable();
            }
            else
            {
                List<String> values = protectedItemWrapper.getValues();
View Full Code Here

Examples of org.apache.directory.studio.aciitemeditor.dialogs.UserPermissionDialog.open()

     * user permission to the list.
     */
    private void addUserPermission()
    {
        UserPermissionDialog dialog = new UserPermissionDialog( getShell(), null, context );
        if ( dialog.open() == UserPermissionDialog.OK && dialog.getUserPermission() != null )
        {
            UserPermissionWrapper userPermissionWrapper = new UserPermissionWrapper( dialog.getUserPermission() );
            userPermissionWrappers.add( userPermissionWrapper );

            tableViewer.refresh();
View Full Code Here

Examples of org.apache.directory.studio.apacheds.configuration.dialogs.AttributeValueDialog.open()

            String oldId = attributeValueObject.getAttribute();
            Object oldValue = attributeValueObject.getValue();

            AttributeValueDialog dialog = new AttributeValueDialog( attributeValueObject );
            if ( Dialog.OK == dialog.open() && dialog.isDirty() )
            {
                Attribute attribute = contextEntry.get( oldId );
                if ( attribute != null )
                {
                    attribute.remove( oldValue );
View Full Code Here

Examples of org.apache.directory.studio.apacheds.configuration.dialogs.BinaryAttributeDialog.open()

        SelectionListener binaryAttributesAddButtonListener = new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                BinaryAttributeDialog dialog = new BinaryAttributeDialog( "" );
                if ( Dialog.OK == dialog.open() && dialog.isDirty() )
                {
                    String newAttribute = dialog.getAttribute();
                    if ( newAttribute != null && !"".equals( newAttribute )
                        && !binaryAttributes.contains( newAttribute ) )
                    {
View Full Code Here

Examples of org.apache.directory.studio.apacheds.configuration.dialogs.IndexedAttributeDialog.open()

        if ( !selection.isEmpty() )
        {
            IndexedAttribute indexedAttribute = ( IndexedAttribute ) selection.getFirstElement();

            IndexedAttributeDialog dialog = new IndexedAttributeDialog( indexedAttribute );
            if ( Dialog.OK == dialog.open() && dialog.isDirty() )
            {
                indexedAttributesTableViewer.refresh();
                masterDetailsBlock.setEditorDirty();
                dirty = true;
            }
View Full Code Here

Examples of org.apache.directory.studio.apacheds.configuration.editor.v150.dialogs.AttributeValueDialog.open()

            String oldId = attributeValueObject.getAttribute();
            String oldValue = attributeValueObject.getValue();

            AttributeValueDialog dialog = new AttributeValueDialog( attributeValueObject );
            if ( Dialog.OK == dialog.open() && dialog.isDirty() )
            {
                Attribute attribute = contextEntry.get( oldId );
                if ( attribute != null )
                {
                    attribute.remove( oldValue );
View Full Code Here

Examples of org.apache.directory.studio.apacheds.configuration.editor.v150.dialogs.BinaryAttributeDialog.open()

        SelectionListener binaryAttributesAddButtonListener = new SelectionAdapter()
        {
            public void widgetSelected( SelectionEvent e )
            {
                BinaryAttributeDialog dialog = new BinaryAttributeDialog( "" );
                if ( Dialog.OK == dialog.open() && dialog.isDirty() )
                {
                    String newAttribute = dialog.getAttribute();
                    if ( newAttribute != null && !"".equals( newAttribute )
                        && !binaryAttributes.contains( newAttribute ) )
                    {
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.