diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.ui.layout')
15 files changed, 83 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.ui.layout/plugin.xml b/plugins/org.eclipse.etrice.ui.layout/plugin.xml index dee8a4903..c76fbd00a 100644 --- a/plugins/org.eclipse.etrice.ui.layout/plugin.xml +++ b/plugins/org.eclipse.etrice.ui.layout/plugin.xml @@ -83,5 +83,29 @@ name="Structure"> </page> </extension> + <extension + point="org.eclipse.ui.menus"> + <menuContribution + locationURI="popup:org.eclipse.ui.popup.any?after=additions"> + <command + commandId="de.cau.cs.kieler.kiml.ui.command.layout" + label="Layout" + style="push"> + <parameter + name="de.cau.cs.kieler.kiml.ui.layoutScope" + value="selection"> + </parameter> + <visibleWhen + checkEnabled="false"> + <with + variable="activeEditor"> + <test + property="de.cau.cs.kieler.kiml.ui.activeEditorIsSupported"> + </test> + </with> + </visibleWhen> + </command> + </menuContribution> + </extension> </plugin> diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/Activator.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/Activator.java index ad0fab811..90c62aef3 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/Activator.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/Activator.java @@ -1,3 +1,16 @@ +/******************************************************************************* + * Copyright (c) 2012 Jayant Gupta + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * CONTRIBUTORS: + * Jayant Gupta (initial contribution) + * + * + *******************************************************************************/ + package org.eclipse.etrice.ui.layout; import org.eclipse.jface.preference.IPreferenceStore; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorDiagramLayoutManager.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorDiagramLayoutManager.java index 03fb475c5..3ec7fa389 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorDiagramLayoutManager.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorDiagramLayoutManager.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +8,7 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ package org.eclipse.etrice.ui.layout; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorLayoutCommand.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorLayoutCommand.java index a107f13b0..d2eca0848 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorLayoutCommand.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/BehaviorLayoutCommand.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout; import org.eclipse.emf.ecore.EObject; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceDiagramLayoutManager.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceDiagramLayoutManager.java index af474b44c..f9c5821de 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceDiagramLayoutManager.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceDiagramLayoutManager.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +8,7 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ package org.eclipse.etrice.ui.layout; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutCommand.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutCommand.java index dcd58138d..c49940a70 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutCommand.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutCommand.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +8,7 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ package org.eclipse.etrice.ui.layout; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutConfig.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutConfig.java index 970182d09..69052564c 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutConfig.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/ETriceLayoutConfig.java @@ -1,3 +1,16 @@ +/******************************************************************************* + * Copyright (c) 2012 Jayant Gupta + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * CONTRIBUTORS: + * Jayant Gupta (initial contribution) + * + * + *******************************************************************************/ + package org.eclipse.etrice.ui.layout; import org.eclipse.emf.ecore.EObject; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureDiagramLayoutManager.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureDiagramLayoutManager.java index 0482ac04b..0210e3988 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureDiagramLayoutManager.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureDiagramLayoutManager.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout; import org.eclipse.draw2d.geometry.Dimension; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureLayoutCommand.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureLayoutCommand.java index 9955e58f1..14e9c9e3d 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureLayoutCommand.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/StructureLayoutCommand.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout; import org.eclipse.emf.ecore.EObject; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceBehaviorPreferencePage.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceBehaviorPreferencePage.java index 723c5aafa..b989da79a 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceBehaviorPreferencePage.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceBehaviorPreferencePage.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout.preferences; import java.util.Arrays; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceDomainModelElement.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceDomainModelElement.java index 1276dbd79..493a16d85 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceDomainModelElement.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceDomainModelElement.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout.preferences; import java.util.ArrayList; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceLayoutPreferencePage.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceLayoutPreferencePage.java index abdb1aedb..45df03b42 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceLayoutPreferencePage.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETriceLayoutPreferencePage.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout.preferences; import org.eclipse.etrice.ui.layout.Activator; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java index 4bf61c7ff..b19b789bb 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/ETricePreferenceUtil.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout.preferences; import java.util.ArrayList; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/EtriceStructurePreferencePage.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/EtriceStructurePreferencePage.java index 678c9f22c..d2b2bfd68 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/EtriceStructurePreferencePage.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/EtriceStructurePreferencePage.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout.preferences; import java.util.Arrays; diff --git a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/PreferenceInitializer.java b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/PreferenceInitializer.java index a5e95ed0a..534c144b5 100644 --- a/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/PreferenceInitializer.java +++ b/plugins/org.eclipse.etrice.ui.layout/src/org/eclipse/etrice/ui/layout/preferences/PreferenceInitializer.java @@ -1,4 +1,5 @@ /******************************************************************************* + * Copyright (c) 2012 Jayant Gupta * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,7 +8,9 @@ * CONTRIBUTORS: * Jayant Gupta (initial contribution) * + * *******************************************************************************/ + package org.eclipse.etrice.ui.layout.preferences; import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; |