/** * Copyright 2004-2016 Riccardo Solmi. All rights reserved. * This file is part of the Whole Platform. * * The Whole Platform is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Whole Platform is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with the Whole Platform. If not, see <http://www.gnu.org/licenses/>. */ package org.whole.lang.editors.codebase; import org.whole.lang.builders.IBuilderOperation; import org.whole.lang.editors.model.Editor; import org.whole.lang.templates.AbstractTemplateFactory; public class PropertiesTextualEditor extends AbstractTemplateFactory<Editor> { public void apply(IBuilderOperation op) { org.whole.lang.editors.builders.IEditorsBuilder b0 = (org.whole.lang.editors.builders.IEditorsBuilder) op.wGetBuilder(org.whole.lang.editors.reflect.EditorsLanguageKit.URI); b0.Editor_(); b0.Identifier("PropertiesTextual"); org.whole.lang.commons.builders.ICommonsBuilder b1 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI); b1.Resolver(); b0.ModelComponent_(); b0.Identifier("Properties"); b0._ModelComponent(); b0.ViewComponent_(); b0.ViewDeclarations_(2); b0.SimpleFigureDeclaration_(); b0.Identifier("PropertiesFigure"); b0.FoldableTextualFigure_(); b0.TextualFigure_(2); b0.Row_(5); b0.KeywordToken("properties"); b0.ChildPlace(); b0.KeywordToken("defaults"); b0.ChildPlace(); b0.FoldingToggle(); b0._Row(); b0.Row_(2); b0.Indent(); b0.ChildPlace(); b0._Row(); b0._TextualFigure(); b0.TextualFigure_(1); b0.Row_(5); b0.KeywordToken("properties"); b0.ChildPlace(); b0.KeywordToken("defaults"); b0.ChildPlace(); b0.FoldingToggle(); b0._Row(); b0._TextualFigure(); b0._FoldableTextualFigure(); b0._SimpleFigureDeclaration(); b0.SimpleFigureDeclaration_(); b0.Identifier("PropertyFigure"); b0.TextualFigure_(1); b0.Row_(3); b0.ChildPlace(); b0.OperatorToken("="); b0.ChildPlace(); b0._Row(); b0._TextualFigure(); b0._SimpleFigureDeclaration(); b0._ViewDeclarations(); b0._ViewComponent(); b0.ControllerComponent_(); b0.ControllerDeclarations_(2); b0.PartDeclaration_(); b0.Identifier("PropertiesPart"); b0.Identifier("Properties"); b0.Identifier("PropertiesFigure"); b0.EntityFeatures_(3); b0.Identifier("comment"); b0.Identifier("defaults"); b0.Identifier("entries"); b0._EntityFeatures(); b0._PartDeclaration(); b0.PartDeclaration_(); b0.Identifier("PropertyPart"); b0.Identifier("Property"); b0.Identifier("PropertyFigure"); b0.EntityFeatures_(2); b0.Identifier("name"); b0.Identifier("value"); b0._EntityFeatures(); b0._PartDeclaration(); b0._ControllerDeclarations(); b0._ControllerComponent(); b0._Editor(); } }