Package de.innovationgate.eclipse.editors.design.dialogs

Examples of de.innovationgate.eclipse.editors.design.dialogs.AddContentTypeMetaDefinitionDialog.open()


    protected void handleAddMetaDataDefinition() {
        WGContentTypeDefinition cTypeDef = retrieveCurrentContentTypeDefinition();
        if (cTypeDef != null) {
            AddContentTypeMetaDefinitionDialog dialog = new AddContentTypeMetaDefinitionDialog(Display.getCurrent().getActiveShell(), cTypeDef);
            dialog.setTitle("Content Type properties");
            int result = dialog.open();
            if (result == Dialog.OK) {
                if (dialog.getDefinitionsToAdd().size() > 0) {
                    List<WGMetaFieldDefinition> defs = dialog.getDefinitionsToAdd();
                    Collections.sort(defs, new Comparator<WGMetaFieldDefinition>() {
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.