Examples of EditorPanel


Examples of com.it.loratek.sski.view.panels.EditorPanel

    OpenFileAction open = new OpenFileAction();
    filemenu.add(open);
    filemenu.add(quit);

    editContainer = new JPanel();
    editPanel = new EditorPanel();

    statPanel = new StatPanel();

    // statPanel.setPreferredSize(new Dimension(50, 550));
View Full Code Here

Examples of net.sourceforge.cruisecontrol.gui.panels.EditorPanel

      Element theSelectedElement = (Element) theSelectedNode.getUserObject();
     
      try {
        String thePanelKey = theSelectedElement.getName();

        EditorPanel theEditorPanel = (EditorPanel) builtPanels.get( thePanelKey );
       
        // if not found, create panel
        if ( theEditorPanel == null ) {
          // try the generator
          theEditorPanel = panelGenerator.getPanelFor( theSelectedElement );
         
          // if none found, use default
          if ( theEditorPanel == null ) {
           
            // get the cc plugin class
            Class theBuilderClass = getRegistry().getPluginClass( thePanelKey );
           
            // if no builder class, just show the default panel
            if ( theBuilderClass == null ) {
              showNullEditor();
              detailsPanel.scrollToAnchor( theSelectedElement.getName() );
              return;
            }
           
            theEditorPanel = new DefaultElementPanel( theBuilderClass );
          }
          else {
            theEditorPanel.setProjectBrowser( this );
          }
         
          builtPanels.put( thePanelKey, theEditorPanel );
         
          // wrap with standard navigation panel
          //DefaultNavigationPanel theNavigationPanel = new DefaultNavigationPanel(this, (PropertiesPanel) theEditorPanel );
         
          addPanel( (JPanel) theEditorPanel, thePanelKey );
        }
       
        theEditorPanel.setElement( theSelectedElement );
        showPanel( thePanelKey );
        detailsPanel.scrollToAnchor( theSelectedElement.getName() );
      }
      catch ( Exception e ) {
       
View Full Code Here

Examples of org.apache.harmony.jretools.policytool.view.EditorPanel

    /**
     * Handles change events of the editors tabbed pane.
     * @param ce details of the change event
     */
    public void stateChanged( final ChangeEvent ce ) {
        final EditorPanel newActiveEditorPanel = (EditorPanel) ( (JTabbedPane) ce.getSource() ).getSelectedComponent();

        newActiveEditorPanel.loadPolicyText( activeEditorPanel.getPolicyText() );
        newActiveEditorPanel.setHasDirty   ( activeEditorPanel.getHasDirty  () );
        activeEditorPanel = newActiveEditorPanel;

        keystoreEditMenuItem.setEnabled( activeEditorPanel.supportsGraphicalKeystoreEdit() );
    }
View Full Code Here

Examples of org.apache.harmony.tools.policytool.view.EditorPanel

    /**
     * Handles change events of the editors tabbed pane.
     * @param ce details of the change event
     */
    public void stateChanged( final ChangeEvent ce ) {
        final EditorPanel newActiveEditorPanel = (EditorPanel) ( (JTabbedPane) ce.getSource() ).getSelectedComponent();

        newActiveEditorPanel.loadPolicyText( activeEditorPanel.getPolicyText() );
        newActiveEditorPanel.setHasDirty   ( activeEditorPanel.getHasDirty  () );
        activeEditorPanel = newActiveEditorPanel;

        keystoreEditMenuItem.setEnabled( activeEditorPanel.supportsGraphicalKeystoreEdit() );
    }
View Full Code Here

Examples of org.cyclop.web.panels.queryeditor.editor.EditorPanel

    queryResultPanel = new SwitchableQueryResultPanel("queryResultPanel", queryResultModel,
        ViewType.fromOrientation(preferences.getResultOrientation()));
    add(queryResultPanel);
    queryResultPanel.setOutputMarkupPlaceholderTag(true);

    EditorPanel queryEditorPanel = initQueryEditorPanel(params);
    Form<String> editorForm = initForm(queryEditorPanel);
    initButtons(queryEditorPanel, editorForm);

    queryResultExport = new QueryResultExport(this, exporter);
View Full Code Here

Examples of org.cyclop.web.panels.queryeditor.editor.EditorPanel

  private EditorPanel initQueryEditorPanel(PageParameters params) {
    StringValue editorContentVal = params.get("cql");
    String editorContent = editorContentVal == null ? null : editorContentVal.toString();

    EditorPanel queryEditorPanel = new EditorPanel("queryEditorPanel", editorContent);
    add(queryEditorPanel);
    queryEditorPanel.setOutputMarkupPlaceholderTag(true);

    queryEditorPanel.registerCompletionChangeListener(new CompletionChangeHelp());
    queryEditorPanel.registerCompletionChangeListener(new CompletionChangeHint());
    return queryEditorPanel;
  }
View Full Code Here

Examples of org.jitterbit.application.ui.window.editor.EditorPanel

                    EntityFilter filter,
                    boolean requireSelection) {
        super(id, wizard, title);
        checkNotNull(type, "type");
        this.requireSelection = requireSelection;
        editorPanelService = new EditorPanelService(support, new EditorPanel());
        this.support = editorPanelService.getProjectExplorer();
        inputPanel = new InputPanel();
        selectionWidget = createSelectionWidget(type, entityClass, filter);
        registerListeners();
        installUndoRedo();
View Full Code Here

Examples of org.jitterbit.application.ui.window.editor.EditorPanel

    private final TextTargetPageUi<DatabaseStructure> ui;

    public TargetTextStructurePage(DatabaseToTextWizard wizard, ApplicationWindow appWin, EntityExplorerSupport explorer) {
        super("Db2TextConnect.TargetText", wizard, "Target Text Structure");
        ui = new TextTargetPageUi<DatabaseStructure>(explorer, new TableToTextStructureFactory(wizard.getFolders()),
                        new EditorPanel(appWin), "Jitterbit can create a Text Structure that matches your source table.");
        ui.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                updateCanContinue();
View Full Code Here

Examples of org.wicketstuff.jmx.markup.html.EditorPanel

      {
        editor = new Label(id, toString(model.getObject()));
      }
      else
      {
        editor = new EditorPanel("editor", model, new Model(attribute.getName()), type,
            true);
      }
    }
    editor.add(new AttributeModifier("class", true, new AbstractReadOnlyModel()
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.