Package fr.soleil.salsa.entity.impl

Examples of fr.soleil.salsa.entity.impl.ContextImpl


            configTreeController.getView().pasteNodes();
        }
    }

    private IContext generateContext() {
        ContextImpl context = new ContextImpl();
        if (getDevicePreferences() != null) {
            context.setScanServerName(devicePreferences.getScanServer());
            context.setUserLogFile(devicePreferences.getUserLogFile());
            context.setMaxLineNumber(devicePreferences.getMaxLineNumber());
        }
        return context;
    }
View Full Code Here


    public void notifyPasteAction() {
        configTreeController.notifyPaste();
    }

    private IContext generateContext() {
        ContextImpl context = new ContextImpl();
        if (getDevicePreferences() != null) {
            context.setScanServerName(devicePreferences.getScanServer());
            context.setUserLogFile(devicePreferences.getUserLogFile());
            context.setMaxLineNumber(devicePreferences.getMaxLineNumber());
        }
        return context;
    }
View Full Code Here

     *         <code>null</code>
     */
    public static IContext extractContext(DevicePreferences preferences) {
        IContext result = null;
        if (preferences != null) {
            result = new ContextImpl();
            result.setScanServerName(preferences.getScanServer());
            result.setUserLogFile(preferences.getUserLogFile());
            result.setMaxLineNumber(preferences.getMaxLineNumber());
        }
        return result;
View Full Code Here

    public void notifyPasteAction() {
        configTreeController.notifyPaste();
    }

    private IContext generateContext() {
        ContextImpl context = new ContextImpl();
        if (getDevicePreferences() != null) {
            context.setScanServerName(devicePreferences.getScanServer());
            context.setUserLogFile(devicePreferences.getUserLogFile());
            context.setMaxLineNumber(devicePreferences.getMaxLineNumber());
        }
        return context;
    }
View Full Code Here

     *         <code>null</code>
     */
    public static IContext extractContext(DevicePreferences preferences) {
        IContext result = null;
        if (preferences != null) {
            result = new ContextImpl();
            result.setScanServerName(preferences.getScanServer());
            result.setUserLogFile(preferences.getUserLogFile());
            result.setMaxLineNumber(preferences.getMaxLineNumber());
        }
        return result;
View Full Code Here

    public void notifyPasteAction() {
        configTreeController.notifyPaste();
    }

    private IContext generateContext() {
        ContextImpl context = new ContextImpl();
        if (getDevicePreferences() != null) {
            context.setScanServerName(devicePreferences.getScanServer());
            context.setUserLogFile(devicePreferences.getUserLogFile());
            context.setMaxLineNumber(devicePreferences.getMaxLineNumber());
        }
        return context;
    }
View Full Code Here

     *         <code>null</code>
     */
    public static IContext extractContext(DevicePreferences preferences) {
        IContext result = null;
        if (preferences != null) {
            result = new ContextImpl();
            result.setScanServerName(preferences.getScanServer());
            result.setUserLogFile(preferences.getUserLogFile());
            result.setMaxLineNumber(preferences.getMaxLineNumber());
        }
        return result;
View Full Code Here

    public void notifyPasteAction() {
        configTreeController.notifyPaste();
    }

    private IContext generateContext() {
        ContextImpl context = new ContextImpl();
        if (getDevicePreferences() != null) {
            context.setScanServerName(devicePreferences.getScanServer());
            context.setUserLogFile(devicePreferences.getUserLogFile());
            context.setMaxLineNumber(devicePreferences.getMaxLineNumber());
        }
        return context;
    }
View Full Code Here

    public void notifyPasteAction() {
        configTreeController.notifyPaste();
    }

    private IContext generateContext() {
        ContextImpl context = new ContextImpl();
        context.setScanServerName(ModelPreferences.getInstance().getScanServer());
        context.setUserLogFile(ModelPreferences.getInstance().getUserLogFile());
        context.setMaxLineNumber(ModelPreferences.getInstance().getMaxLineNumber());
        return context;
    }
View Full Code Here

     *
     * @throws Exception
     */
    public void notifyClear() throws Exception {

        ContextImpl context = new ContextImpl();
        context.setMaxLineNumber(ModelPreferences.getInstance().getMaxLineNumber());
        context.setUserLogFile(ModelPreferences.getInstance().getUserLogFile());
        if (context.getUserLogFile().isEmpty()) {
            return;
        }
        ScanApi.clearHistoricLog(context);
        refresh();
    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.ContextImpl

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.