Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statemachine editor #35

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions de.darmstadt.tu.crossing.CrySL.statemachine.diagram/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/main/java/"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
34 changes: 34 additions & 0 deletions de.darmstadt.tu.crossing.CrySL.statemachine.diagram/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>de.darmstadt.tu.crossing.CrySL.statemachine.diagram</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: de.darmstadt.tu.crossing.CrySL.statemachine.diagram;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: de.darmstadt.tu.crossing.statemachine.diagram.part.StatemachineDiagramEditorPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package: de.darmstadt.tu.crossing.statemachine.diagram.edit.parts,
de.darmstadt.tu.crossing.statemachine.diagram.part,
de.darmstadt.tu.crossing.statemachine.diagram.providers
Require-Bundle: de.darmstadt.tu.crossing.CrySL;visibility:=reexport,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.expressions,
org.eclipse.jface,
org.eclipse.ui.ide,
org.eclipse.ui.views,
org.eclipse.ui.navigator,
org.eclipse.ui.navigator.resources,
org.eclipse.emf.ecore,
org.eclipse.emf.ecore.xmi,
org.eclipse.core.commands,
org.eclipse.draw2d;visibility:=reexport,
org.eclipse.emf.edit.ui,
org.eclipse.gef;visibility:=reexport,
org.eclipse.gmf.runtime.emf.core,
org.eclipse.gmf.runtime.emf.commands.core,
org.eclipse.emf.compare;bundle-version="3.1.0",
org.eclipse.emf.compare.rcp;bundle-version="2.2.0",
org.eclipse.emf.transaction;bundle-version="1.8.0",
org.eclipse.gmf.runtime.emf.ui.properties,
org.eclipse.gmf.runtime.diagram.ui,
org.eclipse.gmf.runtime.diagram.ui.properties,
org.eclipse.gmf.runtime.diagram.ui.providers,
org.eclipse.gmf.runtime.diagram.ui.providers.ide,
org.eclipse.gmf.runtime.diagram.ui.render,
org.eclipse.gmf.runtime.diagram.ui.resources.editor,
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
org.eclipse.gmf.tooling.runtime,
com.google.guava,
org.eclipse.ocl.ecore;visibility:=reexport,
org.eclipse.emf.validation;visibility:=reexport,
org.eclipse.xtext.builder,
org.eclipse.xtend.lib;bundle-version="2.14.0";resolution:=optional,
org.eclipse.xtext.xbase.lib;bundle-version="2.13.0",
org.eclipse.xtext.common.types.ui,
org.eclipse.xtext.xbase.ui,
org.eclipse.xtext.ui,
org.eclipse.xtext.ui.shared,
org.eclipse.xtext.ui.codetemplates.ui,
org.eclipse.emf.common
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source.. = src/main/java/,\
src/test/java/
bin.includes = META-INF/,\
.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

# TODO: manually put keys and values
StatemachineCreationWizardTitle=New Statemachine Diagram
StatemachineCreationWizard_DiagramModelFilePageTitle=Create Statemachine Diagram
StatemachineCreationWizard_DiagramModelFilePageDescription=Select file that will contain diagram model.
StatemachineCreationWizard_DomainModelFilePageTitle=Create Statemachine Domain Model
StatemachineCreationWizard_DomainModelFilePageDescription=Select file that will contain domain model.
StatemachineCreationWizardOpenEditorError=Error opening diagram editor
StatemachineCreationWizardCreationError=Creation Problems
StatemachineCreationWizardPageExtensionError=File name should have {0} extension.
StatemachineDiagramEditorUtil_OpenModelResourceErrorDialogTitle=Error
StatemachineDiagramEditorUtil_OpenModelResourceErrorDialogMessage=Failed to load model file {0}
StatemachineDiagramEditorUtil_CreateDiagramProgressTask=Creating diagram and model files
StatemachineDiagramEditorUtil_CreateDiagramCommandLabel=Creating diagram and model
StatemachineDocumentProvider_isModifiable=Updating cache failed
StatemachineDocumentProvider_handleElementContentChanged=Failed to refresh hierarchy for changed resource
StatemachineDocumentProvider_IncorrectInputError=invalid
StatemachineDocumentProvider_NoDiagramInResourceError=Diagram is not present in resource
StatemachineDocumentProvider_DiagramLoadingError=Error loading diagram
StatemachineDocumentProvider_UnsynchronizedFileSaveError=The file has been changed on the file system
StatemachineDocumentProvider_SaveDiagramTask=Saving diagram
StatemachineDocumentProvider_SaveNextResourceTask=Saving {0}
StatemachineDocumentProvider_SaveAsOperation=Saving {0} diagram as
InitDiagramFile_ResourceErrorDialogTitle=Error
InitDiagramFile_ResourceErrorDialogMessage=Model file loading failed
InitDiagramFile_WizardTitle=Initialize new {0} diagram file
InitDiagramFile_OpenModelFileDialogTitle=Select domain model
StatemachineNewDiagramFileWizard_CreationPageName=Initialize new diagram file
StatemachineNewDiagramFileWizard_CreationPageTitle=Diagram file
StatemachineNewDiagramFileWizard_CreationPageDescription=Create new diagram based on {0} model content
StatemachineNewDiagramFileWizard_RootSelectionPageName=Select diagram root element
StatemachineNewDiagramFileWizard_RootSelectionPageTitle=Diagram root element
StatemachineNewDiagramFileWizard_RootSelectionPageDescription=Select semantic model element to be depicted on diagram
StatemachineNewDiagramFileWizard_RootSelectionPageSelectionTitle=Select diagram root element:
StatemachineNewDiagramFileWizard_RootSelectionPageNoSelectionMessage=Diagram root element is not selected
StatemachineNewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage=Invalid diagram root element is selected
StatemachineNewDiagramFileWizard_InitDiagramCommand=Initializing diagram contents
StatemachineNewDiagramFileWizard_IncorrectRootError=Incorrect model object stored as a root resource object
StatemachineDiagramEditor_SavingDeletedFile=The original file "{0}" has been deleted.
StatemachineDiagramEditor_SaveAsErrorTitle=Problem During Save As...
StatemachineDiagramEditor_SaveAsErrorMessage=Save could not be completed. Target file is already open in another editor.
StatemachineDiagramEditor_SaveErrorTitle=Save Problems
StatemachineDiagramEditor_SaveErrorMessage=Could not save file.
StatemachineElementChooserDialog_SelectModelElementTitle=Select model element
ModelElementSelectionPageMessage=Select model element:
ValidateActionMessage=Validate
Statemachine1Group_title=statemachine
State1CreationTool_title=State
State1CreationTool_desc=Create new State
Transition2CreationTool_title=Transition
Transition2CreationTool_desc=Create new Transition

CommandName_OpenDiagram=Open Diagram
NavigatorGroupName_Statemachine_1000_links=links
NavigatorGroupName_State_2001_incominglinks=incoming links
NavigatorGroupName_State_2001_outgoinglinks=outgoing links
NavigatorGroupName_Transition_4001_target=target
NavigatorGroupName_Transition_4001_source=source
NavigatorActionProvider_OpenDiagramActionName=Open Diagram

MessageFormatParser_InvalidInputError=Invalid input at {0}
StatemachineModelingAssistantProviderTitle=Select domain model element
StatemachineModelingAssistantProviderMessage=Available domain model elements:
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
pluginName=Statemachine GMF Diagram
providerName=itemis AG

editorName=Statemachine Diagram Editing
context.description=Statemachine Diagram Editing
context.name=In Statemachine Diagram Editor
newWizardName=Statemachine Diagram
newWizardDesc=Creates Statemachine diagram.

initDiagramActionLabel=Initialize statemachine_diagram diagram file
UI_DomainmodelEditor_label = Domainmodel Model Editor


navigatorContentName=*.statemachine_diagram diagram contents
domainNavigatorContentName=*.statemachine model contents
update.diagram.name=Update Statemachine diagram
update.diagram.description=Perform Statemachine diagram update


# Property Sheet
tab.appearance=Appearance
tab.diagram=Rulers & Grid
tab.domain=Core

# Preferences
prefpage.org.xtext.example.statemachine.diagram.general=Statemachine Diagram
prefpage.org.xtext.example.statemachine.diagram.appearance=Appearance
prefpage.org.xtext.example.statemachine.diagram.connections=Connections
prefpage.org.xtext.example.statemachine.diagram.printing=Printing
prefpage.org.xtext.example.statemachine.diagram.rulersAndGrid=Rulers And Grid


# Providers
metatype.name.Statemachine_1000=Undefined
metatype.name.State_2001=State
metatype.name.Transition_4001=Transition

# Commands and menu actions
cmdcategory.name=Statemachine Editor Commands
cmdcategory.desc=Statemachine Editor Commands

Loading