Package de.ailis.xadrian.components

Examples of de.ailis.xadrian.components.ComplexEditor


    public void actionPerformed(final ActionEvent e)
    {
        final Component component = this.frame.getCurrentTab();
        if (component instanceof ComplexEditor)
        {
            final ComplexEditor editor = (ComplexEditor) component;
            final String templateCode = editor.getComplex().getTemplateCode();
            final Clipboard clipboard = editor.getToolkit().getSystemClipboard();
            clipboard.setContents(new StringSelection(templateCode), null);
        }
    }
View Full Code Here


     * @see MainStateListener#mainStateChanged(MainFrame)
     */
    @Override
    public void mainStateChanged(final MainFrame sender)
    {
        final ComplexEditor editor = (ComplexEditor) sender.getCurrentTab();
        setEnabled(editor != null && !editor.getComplex().isEmpty());
    }
View Full Code Here

     * @see MainStateListener#mainStateChanged(MainFrame)
     */
    @Override
    public void mainStateChanged(final MainFrame sender)
    {
        final ComplexEditor editor = (ComplexEditor) sender.getCurrentTab();
        setEnabled(editor != null && editor.isChanged());
    }
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.components.ComplexEditor

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.