X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=eclipse%2Fplugins%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Feditors%2FProcessEditor.java;h=027e7c626516ce627a17045ed98b22419caa39b3;hb=8908d07cc1fd6ac0a274c460bbd40652816ca054;hp=a355ff7d952d3b46413e6dd09362d6fb39f98da2;hpb=880043c9903335002a51778324b82f37f1aa9983;p=gpl%2Fargeo-slc.git diff --git a/eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/editors/ProcessEditor.java b/eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/editors/ProcessEditor.java index a355ff7d9..027e7c626 100644 --- a/eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/editors/ProcessEditor.java +++ b/eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/editors/ProcessEditor.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2007-2012 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.argeo.slc.client.ui.editors; import java.util.HashMap; @@ -40,10 +55,12 @@ public class ProcessEditor extends FormEditor implements private ProcessController processController; private ProcessBuilderPage builderPage; - private ProcessLogPage logPage; + //private ProcessLogPage logPage; private ExecutionModulesManager modulesManager; + //private Boolean switchToLog = false; + @Override public void init(IEditorSite site, IEditorInput input) throws PartInitException { @@ -110,7 +127,8 @@ public class ProcessEditor extends FormEditor implements doSave(null); try { // show log - setActivePage(logPage.getId()); +// if (switchToLog) +// setActivePage(logPage.getId()); ExecutionProcess process = processController.process(processNode); Map properties = new HashMap(); @@ -178,8 +196,8 @@ public class ProcessEditor extends FormEditor implements builderPage = new ProcessBuilderPage(this, processNode); addPage(builderPage); firePropertyChange(PROP_DIRTY); - logPage = new ProcessLogPage(this, processNode); - addPage(logPage); +// logPage = new ProcessLogPage(this, processNode); +// addPage(logPage); } catch (PartInitException e) { throw new SlcException("Cannot add pages", e); }