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

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


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

    private DeploymentPage createDeploymentFormPage(FormEditor editor) {
        return new DeploymentPage(editor, "deploymentpage", CommonMessages.editorTabDeployment);
    }
View Full Code Here


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

   * 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

TOP

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

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.