java.lang.Object
com._1c.g5.v8.dt.form.presentation.core.projection.extensible.ExtensibleProjection.Context<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature,PresentationForm,PresentationChildren<? extends Presentation>,Presentation,Layout,org.eclipse.emf.ecore.EStructuralFeature,Layout,Layout,Layout>
com._1c.g5.v8.dt.form.internal.presentation.layout.hippo.HippoLayoutContext
All Implemented Interfaces:
IDomainContext<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>, IModelContext<Layout,org.eclipse.emf.ecore.EStructuralFeature,Layout,Layout>, IObjectContext<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature,Layout,org.eclipse.emf.ecore.EStructuralFeature>, IObjectTreeContext<Layout,org.eclipse.emf.ecore.EStructuralFeature,Layout,Layout,Layout>, IProjectionContext<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature,PresentationForm,PresentationChildren<? extends Presentation>,Presentation,Layout,org.eclipse.emf.ecore.EStructuralFeature,Layout,Layout,Layout>, IProjectionTreeContext<org.eclipse.emf.ecore.EObject,Layout,Layout>

public class HippoLayoutContext extends ExtensibleProjection.Context<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature,PresentationForm,PresentationChildren<? extends Presentation>,Presentation,Layout,org.eclipse.emf.ecore.EStructuralFeature,Layout,Layout,Layout>
  • Constructor Details

  • Method Details

    • getLanguageCode

      public String getLanguageCode()
    • setLanguageCode

      public void setLanguageCode(String languageCode)
    • getTheme

      public IPresentationTheme getTheme()
    • setTheme

      public void setTheme(IPresentationTheme theme)
    • isLargeFontMode

      public boolean isLargeFontMode()
    • getCompatibilityMode

      public CompatibilityMode getCompatibilityMode()
    • getInterfaceVariant

      public ClientInterfaceVariant getInterfaceVariant()
    • getModel

      public IPresentationModel getModel()
    • setModel

      public void setModel(IPresentationModel model)
    • getSkin

      public <T extends ThemeSkin> T getSkin(HippoLayElementBase domain, Class<T> skinClass)
    • runHippoLayout

      public void runHippoLayout(PresentationForm presentationForm)
    • runLogicLayout

      public void runLogicLayout()
      Runs logic layout.

      It performs the final placement of the elements, sets controls bounds.

    • getHippoElement

      public <T extends HippoLayElementBase> T getHippoElement(Presentation presentation, Class<T> class_)
    • getPresentation

      public <T extends org.eclipse.emf.ecore.EObject> T getPresentation(HippoLayElementBase element, Class<T> class_)
    • getLayout

      public Layout getLayout(int layId)
    • setBounds

      public void setBounds(Layout model, int left, int top, int width, int height)
    • setBounds

      public void setBounds(Presentation domain, int left, int top, int width, int height)