Package org.eclipse.ui.forms.editor

Examples of org.eclipse.ui.forms.editor.FormEditor


        {
            SchemaWrapper schemaWrapper = ( SchemaWrapper ) selection;
            try
            {
                IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
                FormEditor editor = ( FormEditor ) page.openEditor(
                    new SchemaEditorInput( schemaWrapper.getMySchema() ), SchemaEditor.ID );
                editor.setActivePage( SchemaEditorSourceCodePage.ID );
            }
            catch ( PartInitException e )
            {
                Logger.getLogger( OpenSchemaSourceCode.class ).debug( "error when opening the editor" ); //$NON-NLS-1$
            }
View Full Code Here


     */
    private void notifyExtModuleSectionToRefresh() {
  try {
      ConnectorPage connectorPage = (ConnectorPage) this.getManagedForm()
        .getContainer();
      FormEditor editor = connectorPage.getEditor();
      IFormPart[] parts = editor.findPage("deploymentpage")
        .getManagedForm().getParts();
      ExtModuleSection extModuleSection = null;
      for (IFormPart part : parts) {
    if (ExtModuleSection.class.isInstance(part)) {
        extModuleSection = (ExtModuleSection) part;
View Full Code Here

     */
    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)) {
        securityRealmSection = (SecurityRealmSection) part;
View Full Code Here

   */
  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)) {
          dbpoolSection = (DBPoolSection) part;
View Full Code Here

     */
    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)) {
        gbeanSection = (GBeanSection) part;
View Full Code Here

TOP

Related Classes of org.eclipse.ui.forms.editor.FormEditor

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.