Package com.pcmsolutions.system.paths

Examples of com.pcmsolutions.system.paths.ViewPath


        };
    }

    public static ViewInstance providePropertiesView(final DeviceContext device) {
        final DesktopName name = new DesktopName(PropertiesPanel.class, PathFactory.providePropertiesPath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockPROPERTIES, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    ArrayList props = new ArrayList();
                    props.addAll(device.getDevicePreferences().getPropertyList());
View Full Code Here


        };
    }

    public static ViewInstance provideDefaultPresetContextView(final DeviceContext device) {
        final DesktopName name = new DesktopName(PresetContextEnclosurePanel.class, PathFactory.providePresetsPath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockPRESETS, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    PresetContextEnclosurePanel pcep = new PresetContextEnclosurePanel();
                    pcep.init(device);
View Full Code Here

        };
    }

    public static ViewInstance provideDefaultSampleContextView(final DeviceContext device) {
        final DesktopName name = new DesktopName(SampleContextEnclosurePanel.class, PathFactory.provideSamplesPath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockSAMPLES, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    SampleContextEnclosurePanel scep = new SampleContextEnclosurePanel();
                    scep.init(device);
View Full Code Here

        };
    }

    public static ViewInstance provideMultiModeView(final DeviceContext device) {
        final DesktopName name = new DesktopName(MultiModeEnclosurePanel.class, PathFactory.provideMultiModePath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockMULTI, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    MultiModeEnclosurePanel mmep = new MultiModeEnclosurePanel();
                    mmep.init(device);
View Full Code Here

        };
    }

    public static ViewInstance provideMasterView(final DeviceContext device) {
        final DesktopName name = new DesktopName(MasterEnclosurePanel.class, PathFactory.provideMasterPath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockMASTER, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    MasterEnclosurePanel mep = new MasterEnclosurePanel();
                    mep.init(device);
View Full Code Here

TOP

Related Classes of com.pcmsolutions.system.paths.ViewPath

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.