Sfoglia il codice sorgente

Disabled Substate machine property section

Andreas Mülder 14 anni fa
parent
commit
80782e3d28

+ 4 - 4
plugins/org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/propertysheets/StatePropertySection.java

@@ -42,10 +42,10 @@ public class StatePropertySection extends NamePropertySection {
 				IYakinduSctHelpContextIds.SC_PROPERTIES_STATE_EXPRESSION);
 		descriptors.add(expressionsDescriptor);
 		
-		// Submachine reference
-		TextDialogPropertyDescriptor submachineDescriptor = new TextDialogPropertyDescriptor(
-				SGraphPackage.Literals.STATE__SUBSTATECHART, "Submachine:");
-		descriptors.add(submachineDescriptor);
+//		// Submachine reference
+//		TextDialogPropertyDescriptor submachineDescriptor = new TextDialogPropertyDescriptor(
+//				SGraphPackage.Literals.STATE__SUBSTATECHART, "Submachine:");
+//		descriptors.add(submachineDescriptor);
 	}
 	
 

+ 0 - 39
plugins/org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/propertysheets/SubchartStatePropertySection.java

@@ -1,39 +0,0 @@
-package org.yakindu.sct.ui.editor.propertysheets;
-
-import java.util.List;
-
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.widgets.Shell;
-
-import de.itemis.gmf.runtime.commons.properties.descriptors.IFormPropertyDescriptor;
-
-/**
- * 
- * @author andreas muelder - Initial contribution and API
- * 
- */
-public class SubchartStatePropertySection extends NamePropertySection {
-
-	@Override
-	protected void createPropertyDescriptors(
-			List<IFormPropertyDescriptor> descriptors) {
-		super.createPropertyDescriptors(descriptors);
-//		TextDialogPropertyDescriptor descriptor = new TextDialogPropertyDescriptor(
-//				null, "Substatechart:");
-//		descriptors.add(descriptor);
-	}
-
-
-	protected static class OpenDialogSelectionListener implements SelectionListener {
-
-		public void widgetSelected(SelectionEvent e) {
-			MessageDialog.openQuestion(new Shell(), "BLA", "BLUB");
-		}
-
-		public void widgetDefaultSelected(SelectionEvent e) {
-		}
-
-	}
-}