Package com.pcmsolutions.system.paths

Examples of com.pcmsolutions.system.paths.ViewPath


    }

    public static DeviceDesktopElement[] getDeviceDesktopElements(final DeviceContext device) throws Exception {
        DesktopElement[] e = (DesktopElement[]) executeViewTask(new CallbackTaskRunnable() {
            public Object run() throws Exception {
                return ZoeosFrame.getInstance().getZDesktopManager().getDesktopElementTree(new ViewPath(ZDesktopManager.dockWORKSPACE, ViewFactory.provideDefaultDesktopNames(device)));
            }
        });
        DeviceDesktopElement[] de = new DeviceDesktopElement[e.length];
        System.arraycopy(e, 0, de, 0, e.length);
View Full Code Here


* Time: 11:04:26
*/
public class SystemViewFactory {
    public static ViewInstance providePropertiesView() {
        final DesktopName name = new DesktopName(PropertiesPanel.class, SystemPathFactory.providePropertiesPath());
        final ViewPath vp = new ViewPath(ZDesktopManager.dockPROPERTIES, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    PropertiesPanel pp = new PropertiesPanel(ZoeosPreferences.getPropertyList(), Zoeos.getInstance());
                    return pp;
View Full Code Here

    }

    // DEVICE
    public static ViewInstance provideDefaultView(final DeviceContext device) {
        final DesktopName[] names = ViewFactory.provideDefaultDesktopNames(device);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);

        // final DesktopName name = new DesktopName(Object.class, PathFactory.provideDevicePath(device));
        return new ViewInstance() {
           // private transient DefaultDeviceEnclosurePanel view;
View Full Code Here

        return join(provideDefaultDesktopNames(p.getDeviceContext()), new DesktopName(DefaultPresetViewerPanel.class, PathFactory.providePresetPath(p)));
    }

    public static ViewInstance provideDefaultView(final ReadablePreset p) {
        final DesktopName[] names = provideDefaultDesktopNames(p);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
                    dep.init(p.getDeviceContext(), new DefaultPresetViewerPanel(p));
View Full Code Here

        };
    }

    public static ViewInstance provideDefaultView(final ContextEditablePreset p) {
        final DesktopName[] names = provideDefaultDesktopNames(p);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
                    dep.init(p.getDeviceContext(), new DefaultPresetEditorPanel(p));
View Full Code Here

        //      return join(provideDefaultDesktopNames(v.getPreset()), new DesktopName(EditableVoicePanel.class, PathFactory.provideVoicePath(v)));
    }

    public static ViewInstance provideDefaultView(final ReadablePreset.ReadableVoice voice, final boolean empty) {
        final DesktopName[] names = provideDefaultDesktopNames(voice);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
                    if (empty) {
View Full Code Here

        };
    }

    public static ViewInstance provideDefaultView(final ReadablePreset.ReadableVoice voice, final int sections, final TitleProvider tp) {
        final DesktopName[] names = provideDefaultDesktopNames(voice, sections);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
                    VoiceSectionPanel vsp = new VoiceSectionPanel(tp, ViewIndexFactory.getVoiceSectionIndex(sections));
View Full Code Here

        };
    }

    public static ViewInstance provideDefaultView(final ContextEditablePreset.EditableVoice[] voices, final boolean empty) {
        final DesktopName[] names = provideDefaultDesktopNames(voices);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
                    if (empty) {
View Full Code Here

        };
    }

    public static ViewInstance provideDefaultView(final ContextEditablePreset.EditableVoice[] voices, final int sections, final TitleProvider tp) {
        final DesktopName[] names = provideDefaultDesktopNames(voices, sections);
        final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    int gridIndex = 0;
                    DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
View Full Code Here

    }

    // PALETTES
    public static ViewInstance provideDeviceView(final DeviceContext device) {
        final DesktopName name = new DesktopName(DevicePanel.class, PathFactory.provideDevicePath(device));
        final ViewPath vp = new ViewPath(ZDesktopManager.dockDEVICES, name);
        return new ViewInstance() {
            public JComponent getView() throws ComponentGenerationException {
                try {
                    DefaultDeviceEnclosurePanel dep = new DefaultDeviceEnclosurePanel();
                    DevicePanel dp = new DevicePanel(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.