Package org.apache.geronimo.st.v21.ui.pages

Examples of org.apache.geronimo.st.v21.ui.pages.ConnectorOverviewPage


   * If the connectorpage has not been initialized,then catch a
   * NullPointerException and just ignore it.
   */
  private void notifyDBPoolSectionToRefresh() {
    try {
      DeploymentPage deploymentPage = (DeploymentPage) this
          .getManagedForm().getContainer();
      FormEditor editor = deploymentPage.getEditor();
      IFormPart[] parts = editor.findPage("connectorpage")
          .getManagedForm().getParts();
      DBPoolSection dbpoolSection = null;
      for (IFormPart part : parts) {
        if (DBPoolSection.class.isInstance(part)) {
View Full Code Here


     * (non-Javadoc)
     *
     * @see org.apache.geronimo.st.ui.editors.AbstractGeronimoFormContentLoader#addOpenEjbPlanPages()
     */
    public void addOpenEjbPlanPages(FormEditor editor) throws PartInitException {
        editor.addPage(new EjbOverviewPage(editor, "ejboverview", CommonMessages.editorTabGeneral));
        editor.addPage(createNamingFormPage(editor));
        editor.addPage(new SecurityPage(editor, "securitypage", CommonMessages.editorTabSecurity));
        editor.addPage(createDeploymentFormPage(editor));
    }
View Full Code Here

    public void saveDeploymentPlan(JAXBElement deploymentPlan, IFile file) throws Exception {
        JAXBUtils.marshalDeploymentPlan(deploymentPlan, file);
    }

    private NamingFormPage createNamingFormPage(FormEditor editor) {
        return new NamingFormPage(editor, "namingpage", CommonMessages.editorTabNaming);
    }
View Full Code Here

     *
     * @see org.apache.geronimo.st.ui.editors.AbstractGeronimoFormContentLoader#addApplicationPlanPages(org.eclipse.ui.forms.editor.FormEditor)
     */
    public void addApplicationPlanPages(FormEditor editor) throws PartInitException {
        editor.addPage(new AppGeneralPage(editor, "appgeneralpage", CommonMessages.editorTabGeneral));
        editor.addPage(new SecurityPage(editor, "securitypage", CommonMessages.editorTabSecurity));
        editor.addPage(new ConnectorPage(editor,"connectorpage",CommonMessages.editorTabConnector));
        editor.addPage(createDeploymentFormPage(editor));
    }
View Full Code Here

     * @see org.apache.geronimo.st.ui.editors.AbstractGeronimoFormContentLoader#addOpenEjbPlanPages()
     */
    public void addOpenEjbPlanPages(FormEditor editor) throws PartInitException {
        editor.addPage(new EjbOverviewPage(editor, "ejboverview", CommonMessages.editorTabGeneral));
        editor.addPage(createNamingFormPage(editor));
        editor.addPage(new SecurityPage(editor, "securitypage", CommonMessages.editorTabSecurity));
        editor.addPage(createDeploymentFormPage(editor));
    }
View Full Code Here

    public void addWebPlanPages(FormEditor editor) throws PartInitException {
        AbstractGeronimoDeploymentPlanEditor geronimoEditor = (AbstractGeronimoDeploymentPlanEditor)editor;
        JAXBElement plan = geronimoEditor.getDeploymentPlan();
        editor.addPage(new WebGeneralPage(editor, "generalpage", CommonMessages.editorTabGeneral));
        editor.addPage(createNamingFormPage(editor));
        editor.addPage(new SecurityPage(editor, "securitypage", CommonMessages.editorTabSecurity));
        editor.addPage(createDeploymentFormPage(editor));
    }
View Full Code Here

     * If the deploymentpage has not been initialized, catch a
     * NullPointerException and just ignore it.
     */
    private void notifyGBeanSectionToRefresh() {
  try {
      SecurityPage securityPage = (SecurityPage) this.getManagedForm()
        .getContainer();
      FormEditor editor = securityPage.getEditor();
      IFormPart[] parts = editor.findPage("deploymentpage")
        .getManagedForm().getParts();
      GBeanSection gbeanSection = null;
      for (IFormPart part : parts) {
    if (GBeanSection.class.isInstance(part)) {
View Full Code Here

     * @see org.apache.geronimo.st.ui.editors.AbstractGeronimoFormContentLoader#addWebPlanPages()
     */
    public void addWebPlanPages(FormEditor editor) throws PartInitException {
        AbstractGeronimoDeploymentPlanEditor geronimoEditor = (AbstractGeronimoDeploymentPlanEditor)editor;
        JAXBElement plan = geronimoEditor.getDeploymentPlan();
        editor.addPage(new WebGeneralPage(editor, "generalpage", CommonMessages.editorTabGeneral));
        editor.addPage(createNamingFormPage(editor));
        editor.addPage(new SecurityPage(editor, "securitypage", CommonMessages.editorTabSecurity));
        editor.addPage(createDeploymentFormPage(editor));
    }
View Full Code Here

            managedForm.addPart(new ModuleSection(getDeploymentPlan(), body, toolkit, getStyle(), application.getModule()));
            managedForm.addPart(new ExtModuleSection(getDeploymentPlan(), body, toolkit, getStyle(), application.getExtModule()));
        }
        if (Connector.class.isInstance(getDeploymentPlan().getValue())) {
            Connector connector = (Connector)((AbstractGeronimoDeploymentPlanEditor) getEditor()).getDeploymentPlan().getValue();
            managedForm.addPart(new AdminObjectSection(getDeploymentPlan(), body, toolkit, getStyle(), connector.getAdminobject()));
        }
        if (ApplicationClient.class.isInstance(getDeploymentPlan().getValue())) {
            managedForm.addPart(new DependencySection(getDeploymentPlan(), JAXBModelUtils.getEnvironment(getDeploymentPlan(), false), body, toolkit, getStyle(), false));
            managedForm.addPart(new ClassFilterSection(getDeploymentPlan(), JAXBModelUtils.getEnvironment(getDeploymentPlan(), false), body, toolkit, getStyle(), false, true));
            managedForm.addPart(new ClassFilterSection(getDeploymentPlan(), JAXBModelUtils.getEnvironment(getDeploymentPlan(), false), body, toolkit, getStyle(), false, false));
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#fillBody(org.eclipse.ui.forms.IManagedForm)
   */
  protected void fillBody(IManagedForm managedForm) {
    managedForm.addPart(new AppClientClientGeneralSection(body, toolkit, getStyle(), getDeploymentPlan()));
    managedForm.addPart(new AppClientServerGeneralSection(body, toolkit, getStyle(), getDeploymentPlan()));
  }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.st.v21.ui.pages.ConnectorOverviewPage

Copyright © 2018 www.massapicom. 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.