├── BCEL Library ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties ├── release │ └── modules │ │ └── ext │ │ └── bcel-5.2.jar └── src │ └── org │ └── apache │ └── bcel │ └── Bundle.properties ├── Block View ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── block │ └── view │ ├── BlockTableModel.java │ ├── BlockViewTopComponent.java │ ├── BlockViewTopComponentSettings.xml │ ├── BlockViewTopComponentWstcref.xml │ ├── Bundle.properties │ ├── ShowBlockViewAction.java │ └── layer.xml ├── Bytecode Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── bc │ ├── BCEditor.java │ ├── BCEditorKit.java │ ├── BCEditorSupport.java │ ├── Bundle.properties │ ├── action │ └── ShowBCEditorAction.java │ ├── icons │ ├── Icons.java │ └── bytecode.gif │ ├── layer.xml │ └── model │ ├── BCExample │ ├── BCScanner.java │ ├── BCTextBuilder.java │ ├── BCTokenContext.java │ └── NetBeans-BC-fontsColors.xml ├── Bytecode Model ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ ├── META-INF │ └── services │ │ └── at.ssw.visualizer.bc.model.BytecodeModel │ └── at │ └── ssw │ └── visualizer │ └── bc │ ├── model │ ├── Bundle.properties │ ├── BytecodeModel.java │ └── layer.xml │ ├── modelimpl │ ├── BytecodeModelImpl.java │ ├── BytecodesImpl.java │ ├── BytecodesParser.java │ └── MethodName.java │ └── options │ ├── BC-classpaths │ ├── BCOptionPanel.form │ ├── BCOptionPanel.java │ ├── BCOptions.java │ ├── BCOptionsPanelController.java │ └── icons │ ├── Icons.java │ └── package.gif ├── Bytecode View ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── bc │ └── view │ ├── BCViewTopComponent.java │ ├── BCViewTopComponentSettings.xml │ ├── BCViewTopComponentWstcref.xml │ ├── Bundle.properties │ ├── ShowBCViewAction.java │ └── layer.xml ├── Compilation Model ├── Coco.jar ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── platform.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ ├── META-INF │ └── services │ │ └── at.ssw.visualizer.model.CompilationModel │ └── at │ └── ssw │ └── visualizer │ ├── model │ ├── Bundle.properties │ ├── Compilation.java │ ├── CompilationElement.java │ ├── CompilationModel.java │ ├── bc │ │ └── Bytecodes.java │ ├── cfg │ │ ├── BasicBlock.java │ │ ├── ControlFlowGraph.java │ │ ├── IRInstruction.java │ │ ├── State.java │ │ └── StateEntry.java │ ├── interval │ │ ├── ChildInterval.java │ │ ├── Interval.java │ │ ├── IntervalList.java │ │ ├── Range.java │ │ └── UsePosition.java │ └── nc │ │ └── NativeMethod.java │ ├── modelimpl │ ├── CompilationElementImpl.java │ ├── CompilationImpl.java │ ├── CompilationModelImpl.java │ ├── bc │ │ └── BytecodesImpl.java │ ├── cfg │ │ ├── BasicBlockImpl.java │ │ ├── ControlFlowGraphImpl.java │ │ ├── IRInstructionImpl.java │ │ ├── StateEntryImpl.java │ │ └── StateImpl.java │ ├── interval │ │ ├── ChildIntervalImpl.java │ │ ├── IntervalImpl.java │ │ ├── IntervalListImpl.java │ │ ├── RangeImpl.java │ │ └── UsePositionImpl.java │ └── nc │ │ └── NativeMethodImpl.java │ └── parser │ ├── BBHelper.java │ ├── CFGHelper.java │ ├── CompilationHelper.java │ ├── CompilationParser.java │ ├── CompilerOutput.atg │ ├── IntervalHelper.java │ ├── IntervalListHelper.java │ ├── Parser.frame │ └── Scanner.frame ├── Compilation View ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── compilation │ └── view │ ├── Bundle.properties │ ├── CompilationModelNode.java │ ├── CompilationViewTopComponent.java │ ├── CompilationViewTopComponentSettings.xml │ ├── CompilationViewTopComponentWstcref.xml │ ├── ShowCompilationViewAction.java │ ├── action │ ├── OpenCompilationAction.java │ ├── RemoveAllCompilationsAction.java │ └── RemoveCompilationAction.java │ ├── icons │ ├── Icons.java │ ├── cfg.gif │ ├── collapseall.gif │ ├── compilations.gif │ ├── filter.gif │ ├── folder.gif │ ├── intervals.gif │ ├── open.gif │ ├── package.gif │ ├── remove.gif │ ├── removeall.gif │ └── sort.gif │ └── layer.xml ├── Control Flow Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── cfg │ ├── Bundle.properties │ ├── CfgEditorContext.java │ ├── action │ ├── AbstractCfgEditorAction.java │ ├── AbstractRouterAction.java │ ├── ColorAction.java │ ├── ExportAction.java │ ├── HideEdgesAction.java │ ├── HierarchicalCompoundLayoutAction.java │ ├── HierarchicalNodeLayoutAction.java │ ├── ShowAllAction.java │ ├── ShowCFGEditorAction.java │ ├── ShowEdgesAction.java │ ├── SwitchLoopClustersAction.java │ ├── UseBezierRouterAction.java │ ├── UseDirectLineRouterAction.java │ ├── ZoominAction.java │ └── ZoomoutAction.java │ ├── editor │ ├── CfgEditorSupport.java │ └── CfgEditorTopComponent.java │ ├── graph │ ├── CfgEventListener.java │ ├── CfgScene.java │ ├── EdgeSwitchWidget.java │ ├── EdgeWidget.java │ ├── LoopClusterWidget.java │ ├── NodeWidget.java │ ├── SelectionWidget.java │ ├── SymmetricAnchor.java │ └── layout │ │ ├── HierarchicalCompoundLayout.java │ │ └── HierarchicalNodeLayout.java │ ├── icons │ ├── Icons.java │ ├── arrangebfs.gif │ ├── arrangehier.gif │ ├── arrangeloop.gif │ ├── autosize.gif │ ├── autosize_selection.gif │ ├── bezierrouter.gif │ ├── cfg.gif │ ├── cfg32.gif │ ├── cluster.gif │ ├── color.gif │ ├── combine.gif │ ├── combine_disabled.gif │ ├── disk.gif │ ├── fanrouter.gif │ ├── hideedges.gif │ ├── hideedges_disabled.gif │ ├── manhattanrouter.gif │ ├── showedges.gif │ ├── showedges_disabled.gif │ ├── split.gif │ ├── split_disabled.gif │ ├── zoomin.gif │ └── zoomout.gif │ ├── layer.xml │ ├── model │ ├── CfgEdge.java │ ├── CfgEdgeImpl.java │ ├── CfgEnv.java │ ├── CfgNode.java │ ├── CfgNodeImpl.java │ └── LoopInfo.java │ ├── preferences │ ├── CFGOptionsCategory.java │ ├── CFGOptionsPanel.java │ ├── CFGOptionsPanelController.java │ ├── CfgPreferences.java │ ├── CfgPreferencesDefaults.java │ ├── ColorChooserButton.java │ ├── FlagsEditorPanel.java │ ├── FlagsSetting.java │ └── FontChooserDialog.java │ └── visual │ ├── BezierWidget.java │ ├── PolylineRouter.java │ ├── PolylineRouterV2.java │ ├── SplineConnectionWidget.java │ └── WidgetCollisionCollector.java ├── Data Flow Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── platform.properties │ ├── project.properties │ └── project.xml └── src │ └── at │ └── ssw │ └── visualizer │ └── dataflow │ ├── Bundle.properties │ ├── action │ └── ShowDataFlowEditorAction.java │ ├── editor │ ├── DFEditorSupport.java │ └── DataFlowEditorTopComponent.java │ ├── icons │ ├── animate.gif │ ├── arrangeforce.gif │ ├── arrangeforcecluster.gif │ ├── arrangehier.gif │ ├── arrangehieradvanced.gif │ ├── arrangehiercluster.gif │ ├── autolayout.gif │ ├── cluster.gif │ ├── clusterhigh.gif │ ├── currentnode.gif │ ├── dfg.gif │ ├── directedforce.gif │ ├── disk.gif │ ├── expall.gif │ ├── expandblock.gif │ ├── expblocks.gif │ ├── fanrouter.gif │ ├── hideall.gif │ ├── hideconst.gif │ ├── hideoperation.gif │ ├── hideparam.gif │ ├── hidephi.gif │ ├── layout.gif │ ├── layoutinvisible.gif │ ├── linkgrayed.gif │ ├── options.gif │ ├── showall.gif │ ├── showconst.gif │ ├── showoperation.gif │ ├── showparam.gif │ ├── showphi.gif │ ├── zoomin.gif │ └── zoomout.gif │ └── layer.xml ├── Data Flow Graph ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── platform.properties │ ├── project.properties │ └── project.xml └── src │ └── at │ └── ssw │ ├── positionmanager │ └── impl │ │ ├── GraphCluster.java │ │ ├── GraphLink.java │ │ ├── GraphPort.java │ │ └── GraphVertex.java │ └── visualizer │ └── dataflow │ ├── attributes │ ├── ExpandNodeSwitchAttribute.java │ ├── ExpandStructureAttribute.java │ ├── IAdditionalWidgetAttribute.java │ ├── IExpandNodeAttribute.java │ ├── IInvisibilityAttribute.java │ ├── INodeAttribute.java │ ├── IPathHighlightAttribute.java │ ├── IPopupContributorAttribute.java │ ├── ISwitchAttribute.java │ ├── InvisibleAttribute.java │ ├── InvisibleNeighbourAttribute.java │ ├── SelfSwitchingExpandAttribute.java │ ├── TBExpandAllAttribute.java │ ├── TBInvisibilityAttribute.java │ └── TBShowBlockAttribute.java │ ├── graph │ ├── Bundle.properties │ ├── ClusterWidget.java │ ├── DirectLineRouter.java │ ├── HiddenNodesWidget.java │ ├── InscribeNodeWidget.java │ ├── InstructionConnectionWidget.java │ ├── InstructionNodeGraphScene.java │ ├── InstructionNodeWidget.java │ ├── InstructionSceneListener.java │ └── SetLocationAnimator.java │ └── instructions │ ├── Instruction.java │ ├── InstructionSet.java │ └── InstructionSetGenerator.java ├── Data Flow View ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── platform.properties │ ├── project.properties │ └── project.xml └── src │ └── at │ └── ssw │ └── visualizer │ └── dataflow │ └── view │ ├── Bundle.properties │ ├── DataflowTableModel.java │ ├── DataflowViewTopComponent.java │ ├── DataflowViewTopComponentSettings.xml │ ├── DataflowViewTopComponentWstcref.xml │ ├── ShowDataflowViewAction.java │ └── layer.xml ├── Draw2D Library ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties ├── release │ └── modules │ │ └── ext │ │ └── org.eclipse.draw2d_3.1.0.jar └── src │ └── org │ └── eclipse │ └── draw2d │ └── Bundle.properties ├── FreeHep ├── LGPL.txt ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties ├── release │ └── modules │ │ └── ext │ │ └── freeHep.jar └── src │ └── org │ └── freehep │ └── Bundle.properties ├── Graph Helper ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── graphhelper │ ├── Block.java │ ├── Bundle.properties │ ├── DiGraph.java │ ├── Edge.java │ ├── Embedding.java │ └── Node.java ├── Graph Layout API ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── positionmanager │ ├── Bundle.properties │ ├── Cluster.java │ ├── LayoutGraph.java │ ├── LayoutManager.java │ ├── Link.java │ ├── Port.java │ ├── Vertex.java │ └── export │ ├── GMLFileExport.java │ └── LayoutGraphExporter.java ├── Graph Layout Impl ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ ├── dataflow │ ├── Bundle.properties │ ├── layout │ │ ├── CompoundForceLayouter.java │ │ ├── CompoundHierarchicalNodesLayouter.java │ │ ├── ExternalGraphLayoutWrapper.java │ │ ├── ExternalGraphLayouter.java │ │ ├── ForceLayouter.java │ │ ├── HierarchicalNodesLayouter.java │ │ ├── MagneticSpringForceLayouter.java │ │ ├── RoutingHelper.java │ │ └── doublePoint.java │ └── options │ │ ├── BooleanStringValidator.java │ │ ├── DoubleStringValidator.java │ │ ├── IntStringValidator.java │ │ ├── OptionEditor.java │ │ ├── OptionProvider.java │ │ └── Validator.java │ └── graphanalyzer │ └── positioning │ ├── BasicLineGenerator.java │ ├── BezierLineGenerator.java │ ├── ClusterEdge.java │ ├── ClusterIngoingConnection.java │ ├── ClusterInputSlotNode.java │ ├── ClusterNode.java │ ├── ClusterOutgoingConnection.java │ ├── ClusterOutputSlotNode.java │ ├── Curves.java │ ├── Edge.java │ ├── Graph.java │ ├── HierarchicalClusterLayoutManager.java │ ├── HierarchicalLayoutManager.java │ ├── InterClusterConnection.java │ ├── LineGenerator.java │ ├── Node.java │ └── SplineLineGenerator.java ├── Intermediate Code Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── ir │ ├── Bundle.properties │ ├── IREditor.java │ ├── IREditorKit.java │ ├── IREditorSupport.java │ ├── action │ ├── CollapseAllAction.java │ ├── ExpandAllAction.java │ ├── ExpandHIRAction.java │ ├── ExpandLIRAction.java │ └── ShowIREditorAction.java │ ├── icons │ ├── Icons.java │ ├── collapseall.gif │ ├── expandall.gif │ ├── expandhir.gif │ ├── expandlir.gif │ └── ir.gif │ ├── layer.xml │ └── model │ ├── IRExample │ ├── IRScanner.java │ ├── IRTextBuilder.java │ ├── IRTokenContext.java │ └── NetBeans-IR-fontsColors.xml ├── Intermediate Code Views ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── ir │ └── view │ ├── Bundle.properties │ ├── HIRViewTopComponent.java │ ├── HIRViewTopComponentSettings.xml │ ├── HIRViewTopComponentWstcref.xml │ ├── LIRViewTopComponent.java │ ├── LIRViewTopComponentSettings.xml │ ├── LIRViewTopComponentWstcref.xml │ ├── ShowHIRViewAction.java │ ├── ShowLIRViewAction.java │ ├── ShowStateViewAction.java │ ├── StateViewTopComponent.java │ ├── StateViewTopComponentSettings.xml │ ├── StateViewTopComponentWstcref.xml │ └── layer.xml ├── Interval Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── interval │ ├── Bundle.properties │ ├── IntervalCanvas.java │ ├── IntervalEditorSupport.java │ ├── IntervalEditorTopComponent.java │ ├── ShowIntervalEditorAction.java │ ├── ViewSettings.java │ ├── icons │ ├── Icons.java │ ├── hsizelarge.gif │ ├── hsizemedium.gif │ ├── hsizesmall.gif │ ├── intervals.gif │ ├── vsizelarge.gif │ ├── vsizemedium.gif │ └── vsizesmall.gif │ └── layer.xml ├── Interval View ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── interval │ └── view │ ├── Bundle.properties │ ├── IntervalViewTopComponentSettings.xml │ ├── IntervalViewTopComponentWstcref.xml │ └── layer.xml ├── Native Code Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties ├── release │ └── modules │ │ └── ext │ │ └── hcfdis.jar └── src │ └── at │ └── ssw │ └── visualizer │ └── nc │ ├── Bundle.properties │ ├── NCEditor.java │ ├── NCEditorKit.java │ ├── NCEditorSupport.java │ ├── action │ ├── CollapseCommentsAction.java │ ├── ExpandCommentsAction.java │ └── ShowNCEditorAction.java │ ├── icons │ ├── Icons.java │ ├── collapselir.gif │ ├── expandlir.gif │ └── nativecode.gif │ ├── layer.xml │ └── model │ ├── HexCodeFileSupport.java │ ├── NCExample │ ├── NCScanner.java │ ├── NCTextBuilder.java │ ├── NCTokenContext.java │ └── NetBeans-NC-fontsColors.xml ├── Native Code View ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── platform.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── nc │ └── view │ ├── Bundle.properties │ ├── NCViewAction.java │ ├── NCViewTopComponent.java │ ├── NCViewTopComponentSettings.xml │ ├── NCViewTopComponentWstcref.xml │ └── layer.xml ├── Text Editor ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── platform.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ └── texteditor │ ├── Bundle.properties │ ├── Editor.java │ ├── EditorKit.java │ ├── EditorSupport.java │ ├── fold │ └── FoldManager.java │ ├── highlight │ └── HighlightsContainer.java │ ├── hyperlink │ └── HyperlinkProvider.java │ ├── layer.xml │ ├── model │ ├── BlockRegion.java │ ├── FoldingRegion.java │ ├── HoverParser.java │ ├── Scanner.java │ ├── Text.java │ ├── TextBuilder.java │ └── TextRegion.java │ ├── preferences.xml │ ├── tooltip │ ├── StyledToolTip.java │ └── ToolTipAction.java │ └── view │ └── AbstractTextViewTopComponent.java ├── Visualizer UI ├── build.xml ├── manifest.mf ├── nbproject │ ├── build-impl.xml │ ├── genfiles.properties │ ├── project.properties │ ├── project.xml │ └── suite.properties └── src │ └── at │ └── ssw │ └── visualizer │ ├── Bundle.properties │ ├── DefaultExample │ ├── NetBeans-editor.xml │ ├── NetBeans-fontsColors.xml │ ├── bottomLeftWsmode.xml │ ├── bottomRightWsmode.xml │ ├── core │ ├── focus │ │ └── Focus.java │ └── selection │ │ ├── Selection.java │ │ ├── SelectionManager.java │ │ └── SelectionProvider.java │ ├── layer.xml │ └── leftWsmode.xml ├── branding.jnlp ├── branding ├── core │ └── core.jar │ │ └── org │ │ └── netbeans │ │ └── core │ │ └── startup │ │ ├── Bundle.properties │ │ ├── frame.gif │ │ ├── frame48.gif │ │ └── splash.gif └── modules │ └── org-netbeans-core-windows.jar │ └── org │ └── netbeans │ └── core │ └── windows │ └── view │ └── ui │ └── Bundle.properties ├── build.xml ├── master.jnlp └── nbproject ├── build-impl.xml ├── genfiles.properties ├── platform.properties ├── platform.xml ├── project.properties └── project.xml /BCEL Library/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project org.apache.bcel. 7 | 8 | 9 | -------------------------------------------------------------------------------- /BCEL Library/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: org.apache.bcel 3 | OpenIDE-Module-Localizing-Bundle: org/apache/bcel/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /BCEL Library/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=5a3a587f 2 | build.xml.script.CRC32=2d6df9eb 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=5a3a587f 7 | nbproject/build-impl.xml.script.CRC32=a6134205 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /BCEL Library/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | is.autoload=true 2 | -------------------------------------------------------------------------------- /BCEL Library/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.apisupport.project 4 | 5 | 6 | org.apache.bcel 7 | 8 | 9 | 10 | org.apache.bcel 11 | org.apache.bcel.classfile 12 | org.apache.bcel.generic 13 | org.apache.bcel.util 14 | org.apache.bcel.verifier 15 | org.apache.bcel.verifier.exc 16 | org.apache.bcel.verifier.statics 17 | org.apache.bcel.verifier.structurals 18 | 19 | 20 | ext/bcel-5.2.jar 21 | release/modules/ext/bcel-5.2.jar 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /BCEL Library/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /BCEL Library/release/modules/ext/bcel-5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/BCEL Library/release/modules/ext/bcel-5.2.jar -------------------------------------------------------------------------------- /BCEL Library/src/org/apache/bcel/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=BCEL Library 2 | -------------------------------------------------------------------------------- /Block View/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.block.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Block View/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.block.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/block/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/block/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Block View/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=a68e1300 2 | build.xml.script.CRC32=049e0683 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=a68e1300 7 | nbproject/build-impl.xml.script.CRC32=9e2663e2 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Block View/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Block View/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Block View/src/at/ssw/visualizer/block/view/BlockViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Block View/src/at/ssw/visualizer/block/view/BlockViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Block View/src/at/ssw/visualizer/block/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Block View 2 | -------------------------------------------------------------------------------- /Block View/src/at/ssw/visualizer/block/view/ShowBlockViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.block.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows BlockView component. 9 | * 10 | * @author Bernhard Stiftner 11 | */ 12 | public class ShowBlockViewAction extends AbstractAction { 13 | public ShowBlockViewAction() { 14 | super("Blocks View"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | TopComponent win = BlockViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Block View/src/at/ssw/visualizer/block/view/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Bytecode Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.bc. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bytecode Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.bc 3 | OpenIDE-Module-Layer: at/ssw/visualizer/bc/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/bc/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Bytecode Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=6555ca43 2 | build.xml.script.CRC32=68e9ec96 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.45.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=6555ca43 7 | nbproject/build-impl.xml.script.CRC32=2275c9b2 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1 9 | -------------------------------------------------------------------------------- /Bytecode Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Bytecode Editor/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/BCEditor.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.bc; 2 | 3 | import at.ssw.visualizer.texteditor.Editor; 4 | import org.openide.windows.CloneableTopComponent; 5 | 6 | /** 7 | * Editor associated to the BCEditorSupport. 8 | * 9 | * @author Alexander Reder 10 | * @author Christian Wimmer 11 | */ 12 | public class BCEditor extends Editor { 13 | 14 | /** 15 | * Creates a new CloneableEditor for the ClonableEditorSupport. 16 | * 17 | * @param support ClonableEditor to attach 18 | */ 19 | public BCEditor(BCEditorSupport support) { 20 | super(support); 21 | } 22 | 23 | @Override 24 | protected CloneableTopComponent createClonedObject() { 25 | BCEditor editor = new BCEditor((BCEditorSupport) cloneableEditorSupport()); 26 | editor.setActivatedNodes(getActivatedNodes()); 27 | return editor; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/BCEditorKit.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.bc; 2 | 3 | import at.ssw.visualizer.bc.model.BCScanner; 4 | import at.ssw.visualizer.texteditor.EditorKit; 5 | import javax.swing.text.Document; 6 | import org.netbeans.editor.Syntax; 7 | 8 | /** 9 | * A EditorKit for the bytecode, mime type text/x-compilation-bc, providing 10 | * the syntax for the bytecode. 11 | * 12 | * @author Alexander Reder 13 | */ 14 | public class BCEditorKit extends EditorKit { 15 | 16 | @Override 17 | public Syntax createSyntax(Document document) { 18 | return new BCScanner(); 19 | } 20 | 21 | /** 22 | * Returns the mime type which identifies the bytecode for this EditorKit. 23 | * 24 | * @return the mime type from the EditorSupport (text/x-compilation-bc) 25 | */ 26 | @Override 27 | public String getContentType() { 28 | return BCEditorSupport.MIME_TYPE; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Bytecode Editor 2 | 3 | text/x-compilation-bc=Bytecodes 4 | bc-bci=Bytecode index 5 | bc-bci_reference=Bytecode index reference 6 | bc-bytecode_description=Bytecode description 7 | bc-var_reference=Variable reference 8 | bc-block=Block 9 | bc-block_reference=Block reference 10 | bc-whitespace=Whitespace 11 | bc-other=Other 12 | bc-default=Default 13 | -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.bc.icons; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public class Icons { 8 | private static final String PATH = "at/ssw/visualizer/bc/icons/"; 9 | 10 | public static final String BYTECODE = PATH + "bytecode.gif"; 11 | } 12 | -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/icons/bytecode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Bytecode Editor/src/at/ssw/visualizer/bc/icons/bytecode.gif -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/model/BCExample: -------------------------------------------------------------------------------- 1 | Code(max_stack = 3, max_locals = 6, code_length = 60) 2 | 3 | B0 -> B1,B2 std 4 | 0: aload_0 5 | 1: getfield java.lang.String.hash I (349) 6 | 4: istore_1 7 | 5: iload_1 8 | 6: ifne #58 9 | B3 <- B1,B4 -> B4,B5 plh 10 | 28: iload %5 11 | 30: iload %4 12 | 32: if_icmpge #53 13 | B4 <- B3 -> B3 14 | 41: iinc %2 1 15 | 16 | 17 | Attribute(s) = 18 | LineNumber(0, 1483), LineNumber(5, 1484), LineNumber(9, 1485), LineNumber(14, 1486) 19 | -------------------------------------------------------------------------------- /Bytecode Editor/src/at/ssw/visualizer/bc/model/NetBeans-BC-fontsColors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Bytecode Model/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.bc.model. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bytecode Model/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.bc.model 3 | OpenIDE-Module-Layer: at/ssw/visualizer/bc/model/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/bc/model/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Bytecode Model/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=70bb7267 2 | build.xml.script.CRC32=e0b9d005 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=70bb7267 7 | nbproject/build-impl.xml.script.CRC32=97e97b8a 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Bytecode Model/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Bytecode Model/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Bytecode Model/src/META-INF/services/at.ssw.visualizer.bc.model.BytecodeModel: -------------------------------------------------------------------------------- 1 | at.ssw.visualizer.bc.modelimpl.BytecodeModelImpl 2 | -------------------------------------------------------------------------------- /Bytecode Model/src/at/ssw/visualizer/bc/model/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Bytecode Model 2 | -------------------------------------------------------------------------------- /Bytecode Model/src/at/ssw/visualizer/bc/model/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Bytecode Model/src/at/ssw/visualizer/bc/options/BC-classpaths: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Bytecode Model/src/at/ssw/visualizer/bc/options/BC-classpaths -------------------------------------------------------------------------------- /Bytecode Model/src/at/ssw/visualizer/bc/options/BCOptions.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.bc.options; 2 | 3 | import at.ssw.visualizer.bc.options.icons.Icons; 4 | import javax.swing.Icon; 5 | import javax.swing.ImageIcon; 6 | import org.netbeans.spi.options.OptionsCategory; 7 | import org.netbeans.spi.options.OptionsPanelController; 8 | import org.openide.util.ImageUtilities; 9 | 10 | /** 11 | * This class configures the OptionPanel. 12 | * 13 | * @author Alexander Reder 14 | */ 15 | public final class BCOptions extends OptionsCategory { 16 | 17 | public OptionsPanelController create() { 18 | return new BCOptionsPanelController(); 19 | } 20 | 21 | public String getCategoryName() { 22 | return "Bytecodes"; 23 | } 24 | 25 | public String getTitle() { 26 | return "Bytecodes"; 27 | } 28 | 29 | @Override 30 | public Icon getIcon() { 31 | return new ImageIcon(ImageUtilities.loadImage(Icons.BC_OPTION)); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Bytecode Model/src/at/ssw/visualizer/bc/options/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.bc.options.icons; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public class Icons { 8 | 9 | private static final String PATH = "at/ssw/visualizer/bc/options/icons/"; 10 | 11 | public static final String BC_OPTION = PATH + "package.gif"; 12 | } 13 | -------------------------------------------------------------------------------- /Bytecode Model/src/at/ssw/visualizer/bc/options/icons/package.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Bytecode Model/src/at/ssw/visualizer/bc/options/icons/package.gif -------------------------------------------------------------------------------- /Bytecode View/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.bc.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bytecode View/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.bc.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/bc/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/bc/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Bytecode View/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=825600be 2 | build.xml.script.CRC32=34e9ac6d 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.45.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=825600be 7 | nbproject/build-impl.xml.script.CRC32=1a235411 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1 9 | -------------------------------------------------------------------------------- /Bytecode View/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Bytecode View/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Bytecode View/src/at/ssw/visualizer/bc/view/BCViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Bytecode View/src/at/ssw/visualizer/bc/view/BCViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Bytecode View/src/at/ssw/visualizer/bc/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Bytecode View 2 | -------------------------------------------------------------------------------- /Bytecode View/src/at/ssw/visualizer/bc/view/ShowBCViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.bc.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows BCView component. 9 | * 10 | * @author Alexander Reder 11 | */ 12 | public class ShowBCViewAction extends AbstractAction { 13 | public ShowBCViewAction() { 14 | super("Bytecodes"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent evt) { 18 | TopComponent win = BCViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Bytecode View/src/at/ssw/visualizer/bc/view/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Compilation Model/Coco.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation Model/Coco.jar -------------------------------------------------------------------------------- /Compilation Model/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.model. 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Compilation Model/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.model 3 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/model/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | -------------------------------------------------------------------------------- /Compilation Model/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=c026fbff 2 | build.xml.script.CRC32=c28e01f7 3 | build.xml.stylesheet.CRC32=05353c81 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=e5e6bd98 7 | nbproject/build-impl.xml.script.CRC32=600e275c 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Compilation Model/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Compilation Model/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Compilation Model/src/META-INF/services/at.ssw.visualizer.model.CompilationModel: -------------------------------------------------------------------------------- 1 | at.ssw.visualizer.modelimpl.CompilationModelImpl -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Compilation Model 2 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/Compilation.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model; 2 | 3 | import java.util.Date; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface Compilation extends CompilationElement { 10 | public CompilationModel getCompilationModel(); 11 | 12 | public String getMethod(); 13 | 14 | public Date getDate(); 15 | } 16 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/CompilationElement.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface CompilationElement { 10 | public Compilation getCompilation(); 11 | 12 | public CompilationElement getParent(); 13 | 14 | public List getElements(); 15 | 16 | public String getShortName(); 17 | 18 | public String getName(); 19 | } 20 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/CompilationModel.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model; 2 | 3 | import java.util.List; 4 | import javax.swing.event.ChangeListener; 5 | 6 | /** 7 | * 8 | * @author Christian Wimmer 9 | */ 10 | public interface CompilationModel { 11 | public List getCompilations(); 12 | 13 | public String parseInputFile(String fileName); 14 | 15 | public void removeCompilation(Compilation compilation); 16 | 17 | public void clear(); 18 | 19 | public void addChangedListener(ChangeListener listener); 20 | 21 | public void removeChangedListener(ChangeListener listener); 22 | } 23 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/bc/Bytecodes.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.bc; 2 | 3 | import at.ssw.visualizer.model.cfg.ControlFlowGraph; 4 | 5 | /** 6 | * This class holds the bytecode of a method and provides severel methods 7 | * accessing the details. 8 | * 9 | * @author Alexander Reder 10 | * @author Christian Wimmer 11 | */ 12 | public interface Bytecodes { 13 | /** 14 | * Back-link to the control flow graph where the bytecodes were loaded from. 15 | */ 16 | public ControlFlowGraph getControlFlowGraph(); 17 | 18 | /** 19 | * Called before the first call of getBytecodes() or getEpilogue(). Can be called multiple times. 20 | */ 21 | public void parseBytecodes(); 22 | 23 | /** 24 | * The bytecodes of the method in the given bytecode range. 25 | * 26 | * @param fromBCI starting BCI (including this bci) 27 | * @param toBCI ending BCI (not including this bci) 28 | * @return string representation of the bytecodes 29 | */ 30 | public String getBytecodes(int fromBCI, int toBCI); 31 | 32 | public String getEpilogue(); 33 | } 34 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/cfg/BasicBlock.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.cfg; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface BasicBlock { 10 | public ControlFlowGraph getParent(); 11 | 12 | public String getName(); 13 | 14 | public int getFromBci(); 15 | 16 | public int getToBci(); 17 | 18 | public List getPredecessors(); 19 | 20 | public List getSuccessors(); 21 | 22 | public List getXhandlers(); 23 | 24 | public List getFlags(); 25 | 26 | public BasicBlock getDominator(); 27 | 28 | public int getLoopIndex(); 29 | 30 | public int getLoopDepth(); 31 | 32 | public int getFirstLirId(); 33 | 34 | public int getLastLirId(); 35 | 36 | public double getProbability(); 37 | 38 | public boolean hasState(); 39 | 40 | public List getStates(); 41 | 42 | public boolean hasHir(); 43 | 44 | public List getHirInstructions(); 45 | 46 | public boolean hasLir(); 47 | 48 | public List getLirOperations(); 49 | } 50 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/cfg/ControlFlowGraph.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.cfg; 2 | 3 | import at.ssw.visualizer.model.CompilationElement; 4 | import at.ssw.visualizer.model.bc.Bytecodes; 5 | import at.ssw.visualizer.model.nc.NativeMethod; 6 | import java.util.List; 7 | 8 | /** 9 | * 10 | * @author Christian Wimmer 11 | */ 12 | public interface ControlFlowGraph extends CompilationElement { 13 | public List getBasicBlocks(); 14 | 15 | public BasicBlock getBasicBlockByName(String name); 16 | 17 | public Bytecodes getBytecodes(); 18 | 19 | public NativeMethod getNativeMethod(); 20 | 21 | public boolean hasState(); 22 | 23 | public boolean hasHir(); 24 | 25 | public boolean hasLir(); 26 | } 27 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/cfg/IRInstruction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.cfg; 2 | 3 | import java.util.Collection; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface IRInstruction { 10 | public static String HIR_NAME = "tid"; 11 | public static String HIR_TEXT = "instruction"; 12 | public static String HIR_OPERAND = "result"; 13 | 14 | public static String LIR_NUMBER = "nr"; 15 | public static String LIR_TEXT = "instruction"; 16 | 17 | public Collection getNames(); 18 | public String getValue(String name); 19 | } 20 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/cfg/State.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.cfg; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface State { 10 | public String getKind(); 11 | 12 | public int getSize(); 13 | 14 | public String getMethod(); 15 | 16 | public List getEntries(); 17 | } 18 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/cfg/StateEntry.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.cfg; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface StateEntry { 10 | public int getIndex(); 11 | 12 | public String getName(); 13 | 14 | public boolean hasPhiOperands(); 15 | 16 | public List getPhiOperands(); 17 | 18 | public String getOperand(); 19 | } 20 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/interval/ChildInterval.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.interval; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface ChildInterval { 10 | public Interval getParent(); 11 | 12 | public String getRegNum(); 13 | 14 | public String getType(); 15 | 16 | public String getOperand(); 17 | 18 | public String getSpillState(); 19 | 20 | public ChildInterval getRegisterHint(); 21 | 22 | public List getRanges(); 23 | 24 | public List getUsePositions(); 25 | 26 | public int getFrom(); 27 | 28 | public int getTo(); 29 | } 30 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/interval/Interval.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.interval; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public interface Interval { 10 | public IntervalList getParent(); 11 | 12 | public List getChildren(); 13 | 14 | public String getRegNum(); 15 | 16 | public int getFrom(); 17 | 18 | public int getTo(); 19 | } 20 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/interval/IntervalList.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.interval; 2 | 3 | import at.ssw.visualizer.model.CompilationElement; 4 | import at.ssw.visualizer.model.cfg.ControlFlowGraph; 5 | import java.util.List; 6 | 7 | /** 8 | * 9 | * @author Christian Wimmer 10 | */ 11 | public interface IntervalList extends CompilationElement { 12 | public List getIntervals(); 13 | 14 | public ControlFlowGraph getControlFlowGraph(); 15 | 16 | public int getNumLIROperations(); 17 | } 18 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/interval/Range.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.interval; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public interface Range { 8 | public int getFrom(); 9 | 10 | public int getTo(); 11 | } 12 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/interval/UsePosition.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.interval; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public interface UsePosition { 8 | public char getKind(); 9 | 10 | public int getPosition(); 11 | } 12 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/model/nc/NativeMethod.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.model.nc; 2 | 3 | import at.ssw.visualizer.model.cfg.ControlFlowGraph; 4 | 5 | /** 6 | * 7 | * @author Alexander Reder 8 | */ 9 | public interface NativeMethod { 10 | 11 | public ControlFlowGraph getControlFlowGraph(); 12 | 13 | public String getMethodText(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/modelimpl/cfg/StateEntryImpl.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.modelimpl.cfg; 2 | 3 | import at.ssw.visualizer.model.cfg.StateEntry; 4 | import java.util.Arrays; 5 | import java.util.Collections; 6 | import java.util.List; 7 | 8 | /** 9 | * 10 | * @author Christian Wimmer 11 | */ 12 | public class StateEntryImpl implements StateEntry { 13 | private int index; 14 | private String name; 15 | private String[] phiOperands; 16 | private String operand; 17 | 18 | public StateEntryImpl(int index, String name, String[] phiOperands, String operand) { 19 | this.index = index; 20 | this.name = name; 21 | this.phiOperands = phiOperands; 22 | this.operand = operand; 23 | } 24 | 25 | public int getIndex() { 26 | return index; 27 | } 28 | 29 | public String getName() { 30 | return name; 31 | } 32 | 33 | public boolean hasPhiOperands() { 34 | return phiOperands != null; 35 | } 36 | 37 | public List getPhiOperands() { 38 | return Collections.unmodifiableList(Arrays.asList(phiOperands)); 39 | } 40 | 41 | public String getOperand() { 42 | return operand; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/modelimpl/cfg/StateImpl.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.modelimpl.cfg; 2 | 3 | import at.ssw.visualizer.model.cfg.State; 4 | import at.ssw.visualizer.model.cfg.StateEntry; 5 | import java.util.Arrays; 6 | import java.util.Collections; 7 | import java.util.List; 8 | 9 | /** 10 | * 11 | * @author Christian Wimmer 12 | */ 13 | public class StateImpl implements State { 14 | private String kind; 15 | private int size; 16 | private String method; 17 | private StateEntry[] entries; 18 | 19 | public StateImpl(String kind, int size, String method, StateEntryImpl[] entries) { 20 | this.kind = kind; 21 | this.size = size; 22 | this.method = method; 23 | this.entries = entries; 24 | } 25 | 26 | public String getKind() { 27 | return kind; 28 | } 29 | 30 | public int getSize() { 31 | return size; 32 | } 33 | 34 | public String getMethod() { 35 | return method; 36 | } 37 | 38 | public List getEntries() { 39 | return Collections.unmodifiableList(Arrays.asList(entries)); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/modelimpl/interval/RangeImpl.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.modelimpl.interval; 2 | 3 | import at.ssw.visualizer.model.interval.Range; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public class RangeImpl implements Range, Comparable { 10 | private int from; 11 | private int to; 12 | 13 | public RangeImpl(int from, int to) { 14 | this.from = from; 15 | this.to = to; 16 | } 17 | 18 | 19 | public int getFrom() { 20 | return from; 21 | } 22 | 23 | public int getTo() { 24 | return to; 25 | } 26 | 27 | 28 | public int compareTo(RangeImpl other) { 29 | return getFrom() - other.getFrom(); 30 | } 31 | 32 | @Override 33 | public String toString() { 34 | return "[" + from + ", " + to + "]"; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/modelimpl/interval/UsePositionImpl.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.modelimpl.interval; 2 | 3 | import at.ssw.visualizer.model.interval.UsePosition; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public class UsePositionImpl implements UsePosition, Comparable { 10 | private int position; 11 | private char kind; 12 | 13 | public UsePositionImpl(int position, char kind) { 14 | this.position = position; 15 | this.kind = kind; 16 | } 17 | 18 | 19 | public char getKind() { 20 | return kind; 21 | } 22 | 23 | public int getPosition() { 24 | return position; 25 | } 26 | 27 | 28 | public int compareTo(UsePositionImpl other) { 29 | return getPosition() - other.getPosition(); 30 | } 31 | 32 | @Override 33 | public String toString() { 34 | return position + "(" + kind + ")"; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/modelimpl/nc/NativeMethodImpl.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.modelimpl.nc; 2 | 3 | import at.ssw.visualizer.model.cfg.ControlFlowGraph; 4 | import at.ssw.visualizer.model.nc.NativeMethod; 5 | 6 | /** 7 | * 8 | * @author Alexander Reder 9 | */ 10 | public class NativeMethodImpl implements NativeMethod { 11 | 12 | private ControlFlowGraph controlFlowGraph; 13 | private String methodText; 14 | 15 | public NativeMethodImpl(ControlFlowGraph controlFlowGraph, String methodText) { 16 | this.controlFlowGraph = controlFlowGraph; 17 | this.methodText = methodText; 18 | } 19 | 20 | public ControlFlowGraph getControlFlowGraph() { 21 | return controlFlowGraph; 22 | } 23 | 24 | public String getMethodText() { 25 | return methodText; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/parser/CompilationHelper.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.parser; 2 | 3 | import java.util.ArrayList; 4 | import java.util.Date; 5 | import java.util.List; 6 | import at.ssw.visualizer.modelimpl.CompilationElementImpl; 7 | import at.ssw.visualizer.modelimpl.CompilationImpl; 8 | import java.util.HashMap; 9 | import java.util.Map; 10 | 11 | /** 12 | * 13 | * @author Christian Wimmer 14 | */ 15 | public class CompilationHelper { 16 | protected String shortName; 17 | protected String name; 18 | protected String method; 19 | protected Date date; 20 | protected List elements = new ArrayList(); 21 | 22 | protected Map idToCFG = new HashMap(); 23 | 24 | protected CompilationImpl resolve() { 25 | CompilationImpl compilation = new CompilationImpl(shortName, name, method, date); 26 | 27 | compilation.setElements(elements.toArray(new CompilationElementImpl[elements.size()]), compilation); 28 | for (CFGHelper cfg : idToCFG.values()) { 29 | cfg.resolved.setElements(cfg.elements.toArray(new CompilationElementImpl[cfg.elements.size()]), compilation); 30 | } 31 | 32 | return compilation; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Compilation Model/src/at/ssw/visualizer/parser/IntervalHelper.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.parser; 2 | 3 | import java.util.SortedSet; 4 | import java.util.TreeSet; 5 | import at.ssw.visualizer.model.interval.Range; 6 | import at.ssw.visualizer.model.interval.UsePosition; 7 | import at.ssw.visualizer.modelimpl.interval.ChildIntervalImpl; 8 | 9 | /** 10 | * 11 | * @author Christian Wimmer 12 | */ 13 | public class IntervalHelper implements Comparable { 14 | protected String regNum; 15 | protected String type; 16 | protected String operand = ""; // avoid null values if not defined 17 | protected String splitParent; 18 | protected String spillState; 19 | protected String registerHint; 20 | 21 | protected SortedSet ranges = new TreeSet(); 22 | protected SortedSet usePositions = new TreeSet(); 23 | 24 | protected ChildIntervalImpl childInterval = new ChildIntervalImpl(); 25 | protected SortedSet splitChildren = new TreeSet(); 26 | 27 | public int compareTo(IntervalHelper other) { 28 | return ranges.first().getFrom() - other.ranges.first().getFrom(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Compilation View/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.compilation.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Compilation View/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.compilation.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/compilation/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/compilation/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Compilation View/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=31a04199 2 | build.xml.script.CRC32=8ff659ba 3 | build.xml.stylesheet.CRC32=a56c6a5b@2.56.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=31a04199 7 | nbproject/build-impl.xml.script.CRC32=7e495c2b 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.56.1 9 | -------------------------------------------------------------------------------- /Compilation View/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Compilation View/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Compilation View 2 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/CompilationViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/CompilationViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/ShowCompilationViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.compilation.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows Compilation component. 9 | * 10 | * @author Bernhard Stiftner 11 | */ 12 | public class ShowCompilationViewAction extends AbstractAction { 13 | public ShowCompilationViewAction() { 14 | super("Compiled Methods"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | TopComponent win = CompilationViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/action/RemoveAllCompilationsAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.compilation.view.action; 2 | 3 | import at.ssw.visualizer.compilation.view.icons.Icons; 4 | import at.ssw.visualizer.model.CompilationModel; 5 | import java.awt.event.ActionEvent; 6 | import javax.swing.AbstractAction; 7 | import javax.swing.Action; 8 | import javax.swing.ImageIcon; 9 | import org.openide.util.ImageUtilities; 10 | import org.openide.util.Lookup; 11 | 12 | /** 13 | * Action for removing all compilations from the workspace. 14 | * 15 | * @author Bernhard Stiftner 16 | * @author Christian Wimmer 17 | */ 18 | public final class RemoveAllCompilationsAction extends AbstractAction { 19 | public RemoveAllCompilationsAction() { 20 | super("Remove All Methods", new ImageIcon(ImageUtilities.loadImage(Icons.REMOVE_ALL))); 21 | putValue(Action.SHORT_DESCRIPTION, "Remove All Methods"); 22 | } 23 | 24 | public void actionPerformed(ActionEvent event) { 25 | CompilationModel model = Lookup.getDefault().lookup(CompilationModel.class); 26 | model.clear(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.compilation.view.icons; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public class Icons { 8 | private static final String PATH = "at/ssw/visualizer/compilation/view/icons/"; 9 | 10 | public static final String OPEN = PATH + "open.gif"; 11 | public static final String REMOVE = PATH + "remove.gif"; 12 | public static final String REMOVE_ALL = PATH + "removeall.gif"; 13 | 14 | public static final String FOLDER = PATH + "folder.gif"; 15 | public static final String COMPILATIONS = PATH + "compilations.gif"; 16 | public static final String CFG = PATH + "cfg.gif"; 17 | public static final String INTERVALS = PATH + "intervals.gif"; 18 | 19 | public static final String FILTER = PATH + "filter.gif"; 20 | public static final String SORT = PATH + "sort.gif"; 21 | public static final String PACKAGE = PATH + "package.gif"; 22 | public static final String COLLAPSE_ALL = PATH + "collapseall.gif"; 23 | 24 | private Icons() { 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/cfg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/cfg.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/collapseall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/collapseall.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/compilations.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/compilations.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/filter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/filter.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/folder.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/intervals.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/intervals.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/open.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/open.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/package.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/package.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/remove.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/remove.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/removeall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/removeall.gif -------------------------------------------------------------------------------- /Compilation View/src/at/ssw/visualizer/compilation/view/icons/sort.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Compilation View/src/at/ssw/visualizer/compilation/view/icons/sort.gif -------------------------------------------------------------------------------- /Control Flow Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.cfg. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Control Flow Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.cfg 3 | OpenIDE-Module-Layer: at/ssw/visualizer/cfg/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/cfg/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Control Flow Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=a07ff679 2 | build.xml.script.CRC32=ec651852 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=a07ff679 7 | nbproject/build-impl.xml.script.CRC32=d9cb852b 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Control Flow Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Control Flow Editor/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Control Flow Editor 2 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/CfgEditorContext.java: -------------------------------------------------------------------------------- 1 | 2 | package at.ssw.visualizer.cfg; 3 | 4 | public abstract class CfgEditorContext { 5 | 6 | public static final int LAYOUT_HIERARCHICALNODELAYOUT = 1; 7 | public static final int LAYOUT_HIERARCHICALCOMPOUNDLAYOUT = 2; 8 | 9 | public static final int ROUTING_DIRECTLINES = 1; 10 | public static final int ROUTING_BEZIER = 2; 11 | 12 | public static final int MAX_AUTOEDGESVISIBLE = 8; 13 | } 14 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/HierarchicalCompoundLayoutAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.CfgEditorContext; 4 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 5 | import at.ssw.visualizer.cfg.graph.CfgScene; 6 | import org.openide.util.HelpCtx; 7 | 8 | 9 | public class HierarchicalCompoundLayoutAction extends AbstractCfgEditorAction { 10 | 11 | public void performAction() { 12 | CfgEditorTopComponent tc = getEditor(); 13 | if (tc != null) { 14 | CfgScene scene = tc.getCfgScene(); 15 | scene.setSceneLayout(CfgEditorContext.LAYOUT_HIERARCHICALCOMPOUNDLAYOUT); 16 | scene.applyLayout(); 17 | } 18 | } 19 | 20 | public String getName() { 21 | return "Hierarchical Compound Layout"; 22 | } 23 | 24 | 25 | @Override 26 | protected String iconResource() { 27 | return "at/ssw/visualizer/cfg/icons/arrangeloop.gif"; 28 | } 29 | 30 | public HelpCtx getHelpCtx() { 31 | return HelpCtx.DEFAULT_HELP; 32 | } 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/HierarchicalNodeLayoutAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.CfgEditorContext; 4 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 5 | import at.ssw.visualizer.cfg.graph.CfgScene; 6 | import org.openide.util.HelpCtx; 7 | 8 | 9 | public class HierarchicalNodeLayoutAction extends AbstractCfgEditorAction { 10 | 11 | @Override 12 | public void performAction() { 13 | CfgEditorTopComponent tc = getEditor(); 14 | if (tc != null) { 15 | CfgScene scene = tc.getCfgScene(); 16 | scene.setSceneLayout(CfgEditorContext.LAYOUT_HIERARCHICALNODELAYOUT); 17 | scene.applyLayout(); 18 | } 19 | } 20 | 21 | public String getName() { 22 | return "Hierarchical Node Layout"; 23 | } 24 | 25 | 26 | @Override 27 | protected String iconResource() { 28 | return "at/ssw/visualizer/cfg/icons/arrangehier.gif"; 29 | } 30 | 31 | public HelpCtx getHelpCtx() { 32 | return HelpCtx.DEFAULT_HELP; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/ShowAllAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 4 | import at.ssw.visualizer.cfg.graph.CfgScene; 5 | import org.openide.util.HelpCtx; 6 | 7 | 8 | /** 9 | * Adjusts the Zoom factor of the Scene to the bounds of Scroll panel 10 | * to get a clean view on the whole graph. 11 | * 12 | */ 13 | public class ShowAllAction extends AbstractCfgEditorAction { 14 | 15 | @Override 16 | public void performAction() { 17 | CfgEditorTopComponent tc = getEditor(); 18 | if (tc != null) { 19 | CfgScene scene = tc.getCfgScene(); 20 | scene.zoomScene(); 21 | 22 | } 23 | } 24 | 25 | @Override 26 | public HelpCtx getHelpCtx() { 27 | return HelpCtx.DEFAULT_HELP; 28 | } 29 | 30 | @Override 31 | public String getName() { 32 | return "Fit Scene to Window"; 33 | } 34 | 35 | @Override 36 | protected String iconResource() { 37 | return "at/ssw/visualizer/cfg/icons/autosize.gif"; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/UseBezierRouterAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.CfgEditorContext; 4 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 5 | import org.openide.util.HelpCtx; 6 | 7 | 8 | public class UseBezierRouterAction extends AbstractRouterAction { 9 | 10 | @Override 11 | protected void setLinkRouter(CfgEditorTopComponent editor) { 12 | editor.getCfgScene().setRouter(CfgEditorContext.ROUTING_BEZIER); 13 | } 14 | 15 | @Override 16 | public String getName() { 17 | return "Use Bezier Router"; 18 | } 19 | 20 | @Override 21 | protected String iconResource() { 22 | return "at/ssw/visualizer/cfg/icons/bezierrouter.gif"; 23 | } 24 | 25 | public HelpCtx getHelpCtx() { 26 | return HelpCtx.DEFAULT_HELP; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/UseDirectLineRouterAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.CfgEditorContext; 4 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 5 | import org.openide.util.HelpCtx; 6 | 7 | 8 | public class UseDirectLineRouterAction extends AbstractRouterAction { 9 | 10 | @Override 11 | protected void setLinkRouter(CfgEditorTopComponent editor) { 12 | editor.getCfgScene().setRouter(CfgEditorContext.ROUTING_DIRECTLINES); 13 | } 14 | 15 | @Override 16 | public String getName() { 17 | return "User Direct Router"; 18 | } 19 | 20 | @Override 21 | protected String iconResource() { 22 | return "at/ssw/visualizer/cfg/icons/fanrouter.gif"; 23 | } 24 | 25 | public HelpCtx getHelpCtx() { 26 | return HelpCtx.DEFAULT_HELP; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/ZoominAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 4 | import at.ssw.visualizer.cfg.graph.CfgScene; 5 | import org.openide.util.HelpCtx; 6 | 7 | 8 | public class ZoominAction extends AbstractCfgEditorAction { 9 | 10 | @Override 11 | public void performAction() { 12 | CfgEditorTopComponent tc = getEditor(); 13 | if (tc != null) { 14 | CfgScene scene = tc.getCfgScene(); 15 | scene.animateZoom(1.1); 16 | } 17 | } 18 | 19 | @Override 20 | protected String iconResource() { 21 | return "at/ssw/visualizer/cfg/icons/zoomin.gif"; 22 | } 23 | 24 | @Override 25 | public String getName() { 26 | return "Zoomin"; 27 | } 28 | 29 | @Override 30 | public HelpCtx getHelpCtx() { 31 | return HelpCtx.DEFAULT_HELP; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/action/ZoomoutAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.action; 2 | 3 | import at.ssw.visualizer.cfg.editor.CfgEditorTopComponent; 4 | import at.ssw.visualizer.cfg.graph.CfgScene; 5 | import org.openide.util.HelpCtx; 6 | 7 | public class ZoomoutAction extends AbstractCfgEditorAction { 8 | 9 | @Override 10 | public void performAction() { 11 | CfgEditorTopComponent tc = getEditor(); 12 | if (tc != null) { 13 | CfgScene scene = tc.getCfgScene(); 14 | scene.animateZoom(0.9); 15 | } 16 | } 17 | 18 | @Override 19 | protected String iconResource() { 20 | return "at/ssw/visualizer/cfg/icons/zoomout.gif"; 21 | } 22 | 23 | @Override 24 | public String getName() { 25 | return "Zoomout"; 26 | } 27 | 28 | @Override 29 | public HelpCtx getHelpCtx() { 30 | return HelpCtx.DEFAULT_HELP; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/graph/CfgEventListener.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.graph; 2 | 3 | import java.util.EventListener; 4 | 5 | 6 | public interface CfgEventListener extends EventListener { 7 | 8 | /** 9 | * the node or the edge selection got changed 10 | */ 11 | public void selectionChanged(CfgScene scene); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.icons; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public class Icons { 8 | private static final String PATH = "at/ssw/visualizer/cfg/icons/"; 9 | 10 | public static final String CFG = PATH + "cfg.gif"; 11 | 12 | public static final String ICON_ZOOMIN = PATH + "zoomin.gif"; 13 | public static final String ICON_ZOOMOUT = PATH + "zoomout.gif"; 14 | public static final String ICON_DEFAULT = PATH + "arrangebfs.gif"; 15 | 16 | private Icons() { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/arrangebfs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/arrangebfs.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/arrangehier.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/arrangehier.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/arrangeloop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/arrangeloop.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/autosize.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/autosize.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/autosize_selection.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/autosize_selection.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/bezierrouter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/bezierrouter.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/cfg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/cfg.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/cfg32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/cfg32.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/cluster.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/cluster.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/color.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/color.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/combine.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/combine.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/combine_disabled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/combine_disabled.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/disk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/disk.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/fanrouter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/fanrouter.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/hideedges.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/hideedges.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/hideedges_disabled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/hideedges_disabled.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/manhattanrouter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/manhattanrouter.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/showedges.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/showedges.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/showedges_disabled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/showedges_disabled.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/split.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/split.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/split_disabled.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/split_disabled.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/zoomin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/zoomin.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/icons/zoomout.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Control Flow Editor/src/at/ssw/visualizer/cfg/icons/zoomout.gif -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/model/CfgEdge.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.model; 2 | 3 | public interface CfgEdge { 4 | public CfgNode getSourceNode(); 5 | public CfgNode getTargetNode(); 6 | public boolean isXhandler(); 7 | public boolean isBackEdge(); 8 | public boolean isSymmetric(); 9 | public boolean isReflexive(); 10 | } 11 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/model/CfgNode.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.model; 2 | 3 | import at.ssw.visualizer.model.cfg.BasicBlock; 4 | 5 | 6 | public interface CfgNode { 7 | //testers 8 | public boolean isOSR(); 9 | public boolean isRoot(); 10 | public boolean isLoopHeader(); 11 | public boolean isLoopMember(); 12 | 13 | //getters 14 | public int getLevel(); 15 | public int getLoopDepth(); 16 | public int getLoopIndex(); 17 | public int getNodeIndex(); 18 | public CfgEdge[] getInputEdges(); 19 | public CfgEdge[] getOutputEdges(); 20 | public BasicBlock getBasicBlock(); 21 | public String getDescription(); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/preferences/CFGOptionsCategory.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.preferences; 2 | 3 | import javax.swing.Icon; 4 | import javax.swing.ImageIcon; 5 | import org.netbeans.spi.options.OptionsCategory; 6 | import org.netbeans.spi.options.OptionsPanelController; 7 | import org.openide.util.ImageUtilities; 8 | 9 | /** 10 | * Descriptor for the settings page displayed in the options dialog. 11 | * 12 | * @author Bernhard Stiftner 13 | */ 14 | public class CFGOptionsCategory extends OptionsCategory { 15 | 16 | public OptionsPanelController create() { 17 | return new CFGOptionsPanelController(); 18 | } 19 | 20 | public String getCategoryName() { 21 | return "Control Flow Graph"; 22 | } 23 | 24 | @Override 25 | public Icon getIcon() { 26 | return new ImageIcon(ImageUtilities.loadImage("at/ssw/visualizer/cfg/icons/cfg32.gif")); 27 | } 28 | 29 | public String getTitle() { 30 | return "CFG Visualizer"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/preferences/CfgPreferencesDefaults.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.preferences; 2 | 3 | import java.awt.Color; 4 | import java.awt.Font; 5 | 6 | /** 7 | * Default Configuration for options panel 8 | * 9 | * @author Rumpfhuber Stefan 10 | */ 11 | public final class CfgPreferencesDefaults { 12 | public static final String DEFAULT_FLAGSTRING = "std(224,224,128);osr(224,224,0);ex(128,128,224);sr(128,224,128);llh(224,128,128);lle(224,192,192);plh(128,224,128);bb(160,0,0);ces(192,192,192)"; 13 | public static final Color DEFAUT_NODE_COLOR = new Color(208, 208, 208); 14 | public static final Color DEFAULT_BACKGROUND_COLOR = new Color(255, 255, 255); 15 | public static final Color DEFAULT_BACKEDGE_COLOR = new Color(160, 0, 0); 16 | public static final Color DEFAULT_EDGE_COLOR = new Color(0, 0, 0); 17 | public static final Color DEFAULT_SELECTION_COLOR_FOREGROUND = Color.BLUE; 18 | public static final Color DEFAULT_SELECTION_COLOR_BACKGROUND = Color.BLUE; 19 | public static final Color DEFAULT_BORDER_COLOR = new Color(0, 0, 0); 20 | public static final Color DEFAULT_EXCEPTIONEDGE_COLOR = new Color(0, 0, 160); 21 | public static final Color DEFAULT_TEXT_COLOR = new Color(0, 0, 0); 22 | public static final Font DEFAULT_TEXT_FONT = new Font("Dialog", Font.PLAIN, 18); 23 | } 24 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/preferences/FontChooserDialog.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.preferences; 2 | 3 | import java.awt.Font; 4 | import java.beans.PropertyEditor; 5 | import java.beans.PropertyEditorManager; 6 | import org.openide.DialogDescriptor; 7 | import org.openide.DialogDisplayer; 8 | 9 | /** 10 | * 11 | * @author Bernhard Stiftner 12 | */ 13 | public class FontChooserDialog { 14 | 15 | /* 16 | * Displays a font selection dialog. 17 | * @return The selected font, or the initial font if the user chose 18 | * to bail out 19 | */ 20 | public static Font show(Font initialFont) { 21 | PropertyEditor pe = PropertyEditorManager.findEditor(Font.class); 22 | if (pe == null) { 23 | throw new RuntimeException("Could not find font editor component."); 24 | } 25 | pe.setValue(initialFont); 26 | DialogDescriptor dd = new DialogDescriptor( 27 | pe.getCustomEditor(), 28 | "Choose Font"); 29 | DialogDisplayer.getDefault().createDialog(dd).setVisible(true); 30 | if (dd.getValue() == DialogDescriptor.OK_OPTION) { 31 | Font f = (Font)pe.getValue(); 32 | return f; 33 | } 34 | return initialFont; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /Control Flow Editor/src/at/ssw/visualizer/cfg/visual/WidgetCollisionCollector.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.cfg.visual; 2 | 3 | import java.util.List; 4 | import org.netbeans.api.visual.widget.Widget; 5 | 6 | 7 | public interface WidgetCollisionCollector { 8 | 9 | //returns a list of widgets which should be handled as obstacles 10 | void collectCollisions(List collisions); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Data Flow Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.dataflow. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Data Flow Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.dataflow 3 | OpenIDE-Module-Layer: at/ssw/visualizer/dataflow/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/dataflow/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Data Flow Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d94df46b 2 | build.xml.script.CRC32=c007ca78 3 | build.xml.stylesheet.CRC32=a56c6a5b@2.56.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d94df46b 7 | nbproject/build-impl.xml.script.CRC32=fb112889 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.56.1 9 | -------------------------------------------------------------------------------- /Data Flow Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Data Flow Editor 2 | -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/animate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/animate.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangeforce.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangeforce.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangeforcecluster.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangeforcecluster.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangehier.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangehier.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangehieradvanced.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangehieradvanced.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangehiercluster.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/arrangehiercluster.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/autolayout.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/autolayout.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/cluster.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/cluster.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/clusterhigh.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/clusterhigh.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/currentnode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/currentnode.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/dfg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/dfg.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/directedforce.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/directedforce.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/disk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/disk.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/expall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/expall.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/expandblock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/expandblock.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/expblocks.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/expblocks.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/fanrouter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/fanrouter.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideall.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideconst.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideconst.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideoperation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideoperation.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideparam.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hideparam.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hidephi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/hidephi.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/layout.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/layout.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/layoutinvisible.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/layoutinvisible.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/linkgrayed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/linkgrayed.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/options.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/options.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showall.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showconst.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showconst.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showoperation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showoperation.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showparam.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showparam.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showphi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/showphi.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/zoomin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/zoomin.gif -------------------------------------------------------------------------------- /Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/zoomout.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Data Flow Editor/src/at/ssw/visualizer/dataflow/icons/zoomout.gif -------------------------------------------------------------------------------- /Data Flow Graph/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.dataflow.graph. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Data Flow Graph/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.dataflow.graph 3 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/dataflow/graph/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /Data Flow Graph/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=1f3c1f90 2 | build.xml.script.CRC32=00fb7dd0 3 | build.xml.stylesheet.CRC32=a56c6a5b@2.56.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=1f3c1f90 7 | nbproject/build-impl.xml.script.CRC32=c65c0a77 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.56.1 9 | -------------------------------------------------------------------------------- /Data Flow Graph/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/IAdditionalWidgetAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | import org.netbeans.api.visual.widget.Widget; 4 | 5 | /** 6 | * 7 | * @author Stefan Loidl 8 | */ 9 | public interface IAdditionalWidgetAttribute extends INodeAttribute{ 10 | 11 | public Widget getWidget(); 12 | } 13 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/IExpandNodeAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | /** 4 | * 5 | * @author Stefan Loidl 6 | */ 7 | public interface IExpandNodeAttribute extends INodeAttribute { 8 | public boolean showBlock(); 9 | public boolean showInstruction(); 10 | } 11 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/IInvisibilityAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | /** 4 | * This interface is for reasons of grouping only. 5 | * 6 | * @author Stefan Loidl 7 | */ 8 | public interface IInvisibilityAttribute extends INodeAttribute{} 9 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/INodeAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | /** 4 | * This is the interface for attributes that can be applied 5 | * to a node. Such attributes could be: visibility or 6 | * full information... 7 | * 8 | * @author Stefan Loidl 9 | */ 10 | public interface INodeAttribute { 11 | 12 | /** 13 | * This methode is meant to return if the attribute 14 | * is active (from its own point of view). If this 15 | * method returns false and removable return true the 16 | * attribute can savely be removed from the attribute list. 17 | */ 18 | public boolean validate(); 19 | 20 | /** 21 | * Returns if the attribute can be removed from the attributelist 22 | * after validate returns true. 23 | * Some attributes are chained to nodes for lifetime. In this 24 | * case removable always returns false. 25 | */ 26 | public boolean removeable(); 27 | } 28 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/IPathHighlightAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | /** 4 | * Nodes implementing this interface are members of a highlighted 5 | * path. 6 | * 7 | * @author Stefan Loidl 8 | */ 9 | public interface IPathHighlightAttribute extends INodeAttribute{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/IPopupContributorAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | import java.awt.event.ActionListener; 4 | import javax.swing.JMenuItem; 5 | 6 | /** 7 | * 8 | * @author Stefan Loidl 9 | */ 10 | public interface IPopupContributorAttribute extends INodeAttribute, ActionListener{ 11 | public JMenuItem getMenuItem(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/ISwitchAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | /** 4 | * 5 | * @author Stefan Loidl 6 | */ 7 | public interface ISwitchAttribute extends INodeAttribute{ 8 | 9 | public void setSwitch(boolean s); 10 | 11 | public boolean getSwitch(); 12 | 13 | /** 14 | * Returns a string as description for the switch. 15 | */ 16 | public String getSwitchString(); 17 | } 18 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/InvisibleAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | /** 4 | * 5 | * @author Stefan Loidl 6 | */ 7 | public class InvisibleAttribute implements IInvisibilityAttribute{ 8 | 9 | public boolean validate() { 10 | return true; 11 | } 12 | 13 | public boolean removeable() { 14 | return true; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/InvisibleNeighbourAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | import at.ssw.visualizer.dataflow.graph.InstructionNodeWidget; 4 | import javax.swing.JToggleButton; 5 | import org.netbeans.api.visual.widget.Widget; 6 | 7 | /** 8 | * 9 | * @author Stefan Loidl 10 | */ 11 | public class InvisibleNeighbourAttribute implements IAdditionalWidgetAttribute{ 12 | 13 | private Widget widget; 14 | private InstructionNodeWidget neighbour; 15 | private boolean removeable; 16 | 17 | /** Creates a new instance of TBAdditionalWidgetAttribute */ 18 | public InvisibleNeighbourAttribute(Widget w, InstructionNodeWidget n, boolean removeable) { 19 | widget=w; 20 | neighbour=n; 21 | this.removeable=removeable; 22 | } 23 | 24 | public Widget getWidget() { 25 | return widget; 26 | } 27 | 28 | public boolean validate() { 29 | return !neighbour.isWidgetVisible(); 30 | } 31 | 32 | public boolean removeable() { 33 | return removeable; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/TBExpandAllAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | import javax.swing.JToggleButton; 4 | 5 | /** 6 | * 7 | * @author Stefan Loidl 8 | */ 9 | public class TBExpandAllAttribute implements IExpandNodeAttribute{ 10 | 11 | private JToggleButton button; 12 | 13 | /** Creates a new instance of TBExpandAllAttribute */ 14 | public TBExpandAllAttribute(JToggleButton tb) { 15 | button=tb; 16 | } 17 | 18 | public boolean showBlock() { 19 | return false; 20 | } 21 | 22 | public boolean showInstruction() { 23 | return true; 24 | } 25 | 26 | public boolean validate() { 27 | return button.isSelected(); 28 | } 29 | 30 | public boolean removeable() { 31 | return false; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/TBInvisibilityAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | import javax.swing.JToggleButton; 4 | 5 | /** 6 | * 7 | * @author Stefan Loidl 8 | */ 9 | public class TBInvisibilityAttribute implements IInvisibilityAttribute{ 10 | 11 | private JToggleButton button; 12 | 13 | /** Creates a new instance of TBVisibilityAttribute */ 14 | public TBInvisibilityAttribute(JToggleButton tb) { 15 | button=tb; 16 | } 17 | 18 | public boolean validate() { 19 | return button.isSelected(); 20 | } 21 | 22 | public boolean removeable() { 23 | return false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/attributes/TBShowBlockAttribute.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.attributes; 2 | 3 | import javax.swing.JToggleButton; 4 | 5 | /** 6 | * 7 | * @author Stefan Loidl 8 | */ 9 | public class TBShowBlockAttribute implements IExpandNodeAttribute{ 10 | 11 | private JToggleButton button; 12 | 13 | /** Creates a new instance of TBShowBlockAttribute */ 14 | public TBShowBlockAttribute(JToggleButton tb) { 15 | button=tb; 16 | } 17 | 18 | public boolean showBlock() { 19 | return true; 20 | } 21 | 22 | public boolean showInstruction() { 23 | return false; 24 | } 25 | 26 | public boolean validate() { 27 | return button.isSelected(); 28 | } 29 | 30 | public boolean removeable() { 31 | return false; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/graph/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Data Flow Graph 2 | -------------------------------------------------------------------------------- /Data Flow Graph/src/at/ssw/visualizer/dataflow/graph/InstructionSceneListener.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.graph; 2 | 3 | import java.util.Set; 4 | 5 | /** 6 | * Listener interface for the Node Graph Scene. Listeners are notified on changes 7 | * within the Scene. 8 | * 9 | * @author Stefan Loidl 10 | */ 11 | public interface InstructionSceneListener { 12 | public void doubleClicked(InstructionNodeWidget w); 13 | public void updateNodeData(); 14 | public void selectionChanged(Set w); 15 | } 16 | -------------------------------------------------------------------------------- /Data Flow View/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.dataflow.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Data Flow View/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.dataflow.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/dataflow/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/dataflow/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Data Flow View/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=2f4b3361 2 | build.xml.script.CRC32=579fa806 3 | build.xml.stylesheet.CRC32=a56c6a5b@2.56.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=2f4b3361 7 | nbproject/build-impl.xml.script.CRC32=e417993b 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.56.1 9 | -------------------------------------------------------------------------------- /Data Flow View/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Data Flow View/src/at/ssw/visualizer/dataflow/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Data Flow View 2 | -------------------------------------------------------------------------------- /Data Flow View/src/at/ssw/visualizer/dataflow/view/DataflowViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Data Flow View/src/at/ssw/visualizer/dataflow/view/DataflowViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Data Flow View/src/at/ssw/visualizer/dataflow/view/ShowDataflowViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.dataflow.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows DataflowView component. 9 | * 10 | * @author Stefan Loidl 11 | */ 12 | public class ShowDataflowViewAction extends AbstractAction { 13 | public ShowDataflowViewAction() { 14 | super("Data Flow View"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | TopComponent win = DataflowViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Data Flow View/src/at/ssw/visualizer/dataflow/view/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Draw2D Library/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project org.eclipse.draw2d. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Draw2D Library/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: org.eclipse.draw2d 3 | OpenIDE-Module-Localizing-Bundle: org/eclipse/draw2d/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /Draw2D Library/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=36988202 2 | build.xml.script.CRC32=0429cbcb 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=36988202 7 | nbproject/build-impl.xml.script.CRC32=92856d71 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Draw2D Library/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | is.autoload=true 2 | -------------------------------------------------------------------------------- /Draw2D Library/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.apisupport.project 4 | 5 | 6 | org.eclipse.draw2d 7 | 8 | 9 | 10 | org.eclipse.draw2d 11 | org.eclipse.draw2d.geometry 12 | org.eclipse.draw2d.graph 13 | org.eclipse.draw2d.internal 14 | org.eclipse.draw2d.internal.graph 15 | org.eclipse.draw2d.parts 16 | org.eclipse.draw2d.text 17 | org.eclipse.draw2d.widgets 18 | 19 | 20 | ext/org.eclipse.draw2d_3.1.0.jar 21 | release/modules/ext/org.eclipse.draw2d_3.1.0.jar 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Draw2D Library/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Draw2D Library/release/modules/ext/org.eclipse.draw2d_3.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Draw2D Library/release/modules/ext/org.eclipse.draw2d_3.1.0.jar -------------------------------------------------------------------------------- /Draw2D Library/src/org/eclipse/draw2d/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Draw2D Library 2 | -------------------------------------------------------------------------------- /FreeHep/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project org.freehep. 7 | 8 | 9 | -------------------------------------------------------------------------------- /FreeHep/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: org.freehep 3 | OpenIDE-Module-Localizing-Bundle: org/freehep/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /FreeHep/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=a55d3904 2 | build.xml.script.CRC32=737570b8 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=a55d3904 7 | nbproject/build-impl.xml.script.CRC32=fc197733 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /FreeHep/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | is.autoload=true 2 | license.file=${basedir}/LGPL.txt 3 | -------------------------------------------------------------------------------- /FreeHep/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /FreeHep/release/modules/ext/freeHep.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/FreeHep/release/modules/ext/freeHep.jar -------------------------------------------------------------------------------- /FreeHep/src/org/freehep/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=FreeHep 2 | -------------------------------------------------------------------------------- /Graph Helper/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.graphhelper. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Graph Helper/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.graphhelper 3 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/graphhelper/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /Graph Helper/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=85b34df7 2 | build.xml.script.CRC32=8a9b09bb 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=85b34df7 7 | nbproject/build-impl.xml.script.CRC32=168a6a5c 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Graph Helper/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Graph Helper/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.apisupport.project 4 | 5 | 6 | at.ssw.visualizer.graphhelper 7 | 8 | 9 | 10 | at.ssw.visualizer.graphhelper 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Graph Helper/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Graph Helper/src/at/ssw/visualizer/graphhelper/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Graph Helper 2 | -------------------------------------------------------------------------------- /Graph Helper/src/at/ssw/visualizer/graphhelper/Edge.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.graphhelper; 2 | 3 | /** 4 | * Implements the edge of an directed graph. 5 | * 6 | * @author Stefan Loidl 7 | */ 8 | public class Edge { 9 | 10 | public Node source, destination; 11 | 12 | /** data field for the use with user algorithms*/ 13 | public Object data=null; 14 | 15 | public boolean visited=false; 16 | 17 | /** 18 | * Creates a new edge form source to destination Node 19 | */ 20 | public Edge(Node source, Node destination) { 21 | this.source=source; 22 | this.destination=destination; 23 | } 24 | 25 | /** 26 | * Returns a new Edge from destination to source. 27 | */ 28 | public Edge getReverseEdge(){ 29 | return new Edge(destination,source); 30 | } 31 | 32 | /** 33 | * Reverses this Edge. 34 | */ 35 | public void reverseEdge(){ 36 | Node n=source; 37 | source=destination; 38 | destination=n; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Graph Helper/src/at/ssw/visualizer/graphhelper/Node.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.graphhelper; 2 | 3 | import java.util.LinkedList; 4 | 5 | /** 6 | * Implements a node of the directed graph. 7 | * 8 | * @author Stefan Loidl 9 | */ 10 | public class Node { 11 | 12 | /**unique identifier*/ 13 | public String ID; 14 | 15 | /** flag used within algorithms*/ 16 | public boolean visited; 17 | 18 | /** all edges adjacent to the node*/ 19 | public LinkedList edges; 20 | 21 | /** 22 | * List of successors and predecessors of the node 23 | * these lists are not meant to be changed by the user. 24 | * they are modified when inserting edges 25 | */ 26 | public LinkedList succ,pred; 27 | 28 | /** data field for the use with algorithms*/ 29 | public Object data=null; 30 | 31 | /** Creates a new instance of Node- ID should be unique within the graph*/ 32 | public Node(String ID) { 33 | this.ID=ID; 34 | visited=false; 35 | succ=new LinkedList(); 36 | pred=new LinkedList(); 37 | edges=new LinkedList(); 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /Graph Layout API/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.positionmanager. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Graph Layout API/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.positionmanager 3 | OpenIDE-Module-Localizing-Bundle: at/ssw/positionmanager/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /Graph Layout API/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=8b0f1102 2 | build.xml.script.CRC32=95a5d066 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=8b0f1102 7 | nbproject/build-impl.xml.script.CRC32=bb0f3de7 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Graph Layout API/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Graph Layout API/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.apisupport.project 4 | 5 | 6 | at.ssw.positionmanager 7 | 8 | 9 | 10 | at.ssw.positionmanager 11 | at.ssw.positionmanager.export 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Graph Layout API/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Graph Layout API 2 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/Cluster.java: -------------------------------------------------------------------------------- 1 | package at.ssw.positionmanager; 2 | 3 | import java.util.Set; 4 | 5 | /** 6 | * 7 | * @author Thomas Wuerthinger 8 | */ 9 | public interface Cluster { 10 | public Cluster getOuter(); 11 | public Set getSuccessors(); 12 | public Set getPredecessors(); 13 | } 14 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/LayoutManager.java: -------------------------------------------------------------------------------- 1 | package at.ssw.positionmanager; 2 | 3 | /** 4 | * 5 | * @author Thomas Wuerthinger 6 | */ 7 | public interface LayoutManager { 8 | 9 | public void doLayout(LayoutGraph graph); 10 | public void doRouting(LayoutGraph graph); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/Link.java: -------------------------------------------------------------------------------- 1 | package at.ssw.positionmanager; 2 | 3 | import java.awt.Point; 4 | import java.util.List; 5 | 6 | /** 7 | * 8 | * @author Thomas Wuerthinger 9 | */ 10 | public interface Link { 11 | public Port getFrom(); 12 | public Port getTo(); 13 | public List getControlPoints(); 14 | public void setControlPoints(List list); 15 | } 16 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/Port.java: -------------------------------------------------------------------------------- 1 | package at.ssw.positionmanager; 2 | 3 | import java.awt.Point; 4 | 5 | /** 6 | * 7 | * @author Thomas Wuerthinger 8 | */ 9 | public interface Port { 10 | 11 | public Vertex getVertex(); 12 | public Point getRelativePosition(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/Vertex.java: -------------------------------------------------------------------------------- 1 | package at.ssw.positionmanager; 2 | 3 | import java.awt.Dimension; 4 | import java.awt.Point; 5 | 6 | /** 7 | * 8 | * @author Thomas Wuerthinger 9 | */ 10 | public interface Vertex extends Comparable{ 11 | 12 | public Cluster getCluster(); 13 | public Dimension getSize(); 14 | public Point getPosition(); 15 | public void setPosition(Point p); 16 | public boolean isDirty(); 17 | public boolean isRoot(); 18 | 19 | public boolean isExpanded(); 20 | public boolean isFixed(); 21 | public boolean isMarked(); 22 | } 23 | -------------------------------------------------------------------------------- /Graph Layout API/src/at/ssw/positionmanager/export/LayoutGraphExporter.java: -------------------------------------------------------------------------------- 1 | package at.ssw.positionmanager.export; 2 | 3 | import at.ssw.positionmanager.LayoutGraph; 4 | 5 | /** 6 | * Instances of this interface can be used to export the LayoutGraph 7 | * to different formats. 8 | * 9 | * @author Stefan Loidl 10 | */ 11 | public interface LayoutGraphExporter { 12 | /** Returns if the export was successful*/ 13 | public boolean export(LayoutGraph lg); 14 | } 15 | -------------------------------------------------------------------------------- /Graph Layout Impl/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.dataflow. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Graph Layout Impl/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.dataflow 3 | OpenIDE-Module-Localizing-Bundle: at/ssw/dataflow/Bundle.properties 4 | OpenIDE-Module-Specification-Version: 1.0 5 | 6 | -------------------------------------------------------------------------------- /Graph Layout Impl/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=401a6d7b 2 | build.xml.script.CRC32=aabf6362 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=401a6d7b 7 | nbproject/build-impl.xml.script.CRC32=831678b7 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Graph Layout Impl/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Graph Layout Impl/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/dataflow/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Graph Layout Impl 2 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/dataflow/layout/ExternalGraphLayouter.java: -------------------------------------------------------------------------------- 1 | package at.ssw.dataflow.layout; 2 | 3 | import at.ssw.positionmanager.LayoutManager; 4 | import at.ssw.dataflow.options.OptionProvider; 5 | 6 | /** 7 | * Extended Interface for LayoutManager supporting options and advanced 8 | * features like clustering and movemement. 9 | * 10 | * @author Stefan Loidl 11 | */ 12 | public interface ExternalGraphLayouter extends OptionProvider, LayoutManager{ 13 | 14 | /** Does the algorithm support clustering? */ 15 | public boolean isClusteringSupported(); 16 | /** Is the routing algorithms fast enough to handle an animation task? */ 17 | public boolean isAnimationSupported(); 18 | /** Is routing possible independet from the layout task? */ 19 | public boolean isMovementSupported(); 20 | 21 | /**Defines if the layouter should build on the current node positions*/ 22 | public void setUseCurrentNodePositions(boolean b); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/dataflow/layout/doublePoint.java: -------------------------------------------------------------------------------- 1 | package at.ssw.dataflow.layout; 2 | 3 | import java.awt.geom.Point2D; 4 | 5 | /** 6 | * Simple helper class for the force-directed layouts. 7 | * 8 | * @author Stefan Loidl 9 | */ 10 | 11 | class doublePoint extends Point2D{ 12 | private double x,y; 13 | 14 | public doublePoint(double x, double y){this.x=x; this.y=y;} 15 | 16 | public double getX() {return x;} 17 | 18 | public double getY() {return y;} 19 | 20 | public void setLocation(double x, double y) {this.x=x; this.y=y;} 21 | } 22 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/dataflow/options/BooleanStringValidator.java: -------------------------------------------------------------------------------- 1 | package at.ssw.dataflow.options; 2 | 3 | /** 4 | * Validates if the option is parsable as Boolean 5 | * 6 | * @author Stefan Loidl 7 | */ 8 | public class BooleanStringValidator implements Validator{ 9 | 10 | private String error=null; 11 | 12 | public boolean validate(Object option) { 13 | try{ 14 | Boolean.parseBoolean((String)option); 15 | return true; 16 | }catch(Exception e){ 17 | error="Option not parseable as Boolean"; 18 | return false; 19 | } 20 | } 21 | 22 | public String getLastErrorMessage() { 23 | return error; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/dataflow/options/OptionProvider.java: -------------------------------------------------------------------------------- 1 | package at.ssw.dataflow.options; 2 | 3 | /** 4 | * Interface for classes that want to publish options. 5 | * 6 | * @author Stefan Loidl 7 | */ 8 | public interface OptionProvider { 9 | 10 | /** 11 | * Returns all keys for existing options. 12 | */ 13 | public String[] getOptionKeys(); 14 | 15 | /** 16 | * Sets the option defined by key. 17 | */ 18 | public boolean setOption(String key, Object value); 19 | 20 | /** 21 | * Gets the option defined by key. 22 | */ 23 | public Object getOption(String key); 24 | 25 | /** 26 | * Returns the class the option should passed as. 27 | */ 28 | public Class getOptionClass(String key); 29 | 30 | /** 31 | * Returns a validator for a option. 32 | */ 33 | public Validator getOptionValidator(String key); 34 | 35 | /** 36 | * Return the description for the option. 37 | */ 38 | public String getOptionDescription(String key); 39 | } 40 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/dataflow/options/Validator.java: -------------------------------------------------------------------------------- 1 | package at.ssw.dataflow.options; 2 | 3 | /** 4 | * A Validator is used to verifiy if an option has the correct format. 5 | * 6 | * @author Stefan Loidl 7 | */ 8 | public interface Validator { 9 | 10 | /** 11 | * Validates if the option has correct format. 12 | */ 13 | public boolean validate(Object option); 14 | 15 | /** 16 | * Returns the Error Message of the last validation or null 17 | * if it was okay. 18 | */ 19 | public String getLastErrorMessage(); 20 | } 21 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/graphanalyzer/positioning/BasicLineGenerator.java: -------------------------------------------------------------------------------- 1 | package at.ssw.graphanalyzer.positioning; 2 | 3 | import java.awt.Point; 4 | import java.util.List; 5 | 6 | /** 7 | * 8 | * @author Thomas Wuerthinger 9 | */ 10 | public class BasicLineGenerator implements LineGenerator { 11 | public List createLine(List line, Point startRefPoint, Point endRefPoint) { 12 | return line; 13 | } 14 | 15 | public String iconResource() { 16 | return "at/ssw/graphanalyzer/coordinator/images/polygon_lines.gif"; 17 | } 18 | 19 | public String getName() { 20 | return "Polygon lines"; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/graphanalyzer/positioning/BezierLineGenerator.java: -------------------------------------------------------------------------------- 1 | package at.ssw.graphanalyzer.positioning; 2 | 3 | import java.awt.Point; 4 | import java.util.List; 5 | 6 | /** 7 | * 8 | * @author Thomas Wuerthinger 9 | */ 10 | public class BezierLineGenerator implements LineGenerator{ 11 | public List createLine(List lines, Point startRefPoint, Point endRefPoint) { 12 | return Curves.convertToBezier(lines, startRefPoint, endRefPoint, 0.2, 100); 13 | } 14 | 15 | public String iconResource() { 16 | return "at/ssw/graphanalyzer/coordinator/images/bezier_lines.gif"; 17 | } 18 | 19 | public String getName() { 20 | return "Bezier lines"; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/graphanalyzer/positioning/ClusterEdge.java: -------------------------------------------------------------------------------- 1 | package at.ssw.graphanalyzer.positioning; 2 | 3 | import at.ssw.positionmanager.Link; 4 | import at.ssw.positionmanager.Port; 5 | import java.awt.Point; 6 | import java.util.List; 7 | 8 | /** 9 | * 10 | * @author Thomas Wuerthinger 11 | */ 12 | public class ClusterEdge implements Link{ 13 | 14 | private ClusterNode from; 15 | private ClusterNode to; 16 | private List points; 17 | 18 | public ClusterEdge(ClusterNode from, ClusterNode to) { 19 | assert from != null; 20 | assert to != null; 21 | this.from = from; 22 | this.to = to; 23 | } 24 | 25 | public Port getTo() { 26 | return to.getInputSlot(); 27 | } 28 | 29 | public Port getFrom() { 30 | return from.getInputSlot(); 31 | } 32 | 33 | public void setControlPoints(List p) { 34 | this.points = p; 35 | } 36 | 37 | public List getControlPoints() { 38 | return points; 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/graphanalyzer/positioning/ClusterOutgoingConnection.java: -------------------------------------------------------------------------------- 1 | package at.ssw.graphanalyzer.positioning; 2 | 3 | import at.ssw.positionmanager.Link; 4 | import at.ssw.positionmanager.Port; 5 | import java.awt.Point; 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | /** 10 | * 11 | * @author Thomas Wuerthinger 12 | */ 13 | public class ClusterOutgoingConnection implements Link{ 14 | 15 | private List intermediatePoints; 16 | private ClusterOutputSlotNode outputSlotNode; 17 | private Link connection; 18 | private Port inputSlot; 19 | private Port outputSlot; 20 | 21 | public ClusterOutgoingConnection(ClusterOutputSlotNode outputSlotNode, Link c) { 22 | this.outputSlotNode = outputSlotNode; 23 | this.connection = c; 24 | this.intermediatePoints = new ArrayList(); 25 | 26 | outputSlot = c.getFrom(); 27 | inputSlot = outputSlotNode.getInputSlot(); 28 | } 29 | 30 | public Port getTo() { 31 | return inputSlot; 32 | } 33 | 34 | public Port getFrom() { 35 | return outputSlot; 36 | } 37 | 38 | public void setControlPoints(List p) { 39 | this.intermediatePoints = p; 40 | } 41 | 42 | public List getControlPoints() { 43 | return intermediatePoints; 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/graphanalyzer/positioning/LineGenerator.java: -------------------------------------------------------------------------------- 1 | package at.ssw.graphanalyzer.positioning; 2 | 3 | import java.awt.Point; 4 | import java.util.List; 5 | 6 | /** 7 | * 8 | * @author Thomas Wuerthinger 9 | */ 10 | public interface LineGenerator { 11 | 12 | public List createLine(List line, Point startRefPoint, Point endRefPoint); 13 | public String iconResource(); 14 | public String getName(); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /Graph Layout Impl/src/at/ssw/graphanalyzer/positioning/SplineLineGenerator.java: -------------------------------------------------------------------------------- 1 | package at.ssw.graphanalyzer.positioning; 2 | 3 | import java.awt.Point; 4 | import java.util.List; 5 | 6 | /** 7 | * 8 | * @author Thomas Wuerthinger 9 | */ 10 | public class SplineLineGenerator implements LineGenerator{ 11 | 12 | public SplineLineGenerator() { 13 | } 14 | 15 | public List createLine(List line, Point startRefPoint, Point endRefPoint) { 16 | return Curves.bsplines(line, startRefPoint, endRefPoint, 30); 17 | } 18 | 19 | public String iconResource() { 20 | return "at/ssw/graphanalyzer/coordinator/images/spline_lines.gif"; 21 | } 22 | 23 | public String getName() { 24 | return "Splines"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Intermediate Code Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.ir. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Intermediate Code Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.ir 3 | OpenIDE-Module-Layer: at/ssw/visualizer/ir/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/ir/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Intermediate Code Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=4c4a902c 2 | build.xml.script.CRC32=dc6cefc9 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.45.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=4c4a902c 7 | nbproject/build-impl.xml.script.CRC32=fc995980 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1 9 | -------------------------------------------------------------------------------- /Intermediate Code Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Intermediate Code Editor/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Intermediate Code Editor 2 | 3 | text/x-compilation-ir=Intermediate Representation 4 | ir-block=Block 5 | ir-lir=LIR 6 | ir-hir=HIR 7 | ir-other=Other 8 | ir-whitespace=Whitespace 9 | ir-default=Default 10 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/IREditor.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir; 2 | 3 | import at.ssw.visualizer.texteditor.Editor; 4 | import org.openide.windows.CloneableTopComponent; 5 | 6 | /** 7 | * The actual editor component for displaying IR text. 8 | * 9 | * @author Bernhard Stiftner 10 | * @author Christian Wimmer 11 | * @author Alexander Reder 12 | */ 13 | public class IREditor extends Editor { 14 | 15 | public IREditor(IREditorSupport support) { 16 | super(support); 17 | } 18 | 19 | @Override 20 | protected CloneableTopComponent createClonedObject() { 21 | IREditor editor = new IREditor((IREditorSupport) cloneableEditorSupport()); 22 | editor.setActivatedNodes(getActivatedNodes()); 23 | return editor; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/IREditorSupport.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir; 2 | 3 | import at.ssw.visualizer.ir.icons.Icons; 4 | import at.ssw.visualizer.model.cfg.ControlFlowGraph; 5 | import at.ssw.visualizer.ir.model.IRTextBuilder; 6 | import at.ssw.visualizer.texteditor.EditorSupport; 7 | import org.openide.text.CloneableEditor; 8 | import org.openide.util.ImageUtilities; 9 | 10 | /** 11 | * Connects a ControlFlowGraph to a NetBeans text editor. 12 | * 13 | * @author Bernhard Stiftner 14 | * @author Christian Wimmer 15 | * @author Alexander Reder 16 | */ 17 | public class IREditorSupport extends EditorSupport { 18 | 19 | public static final String MIME_TYPE = "text/x-compilation-ir"; 20 | 21 | public IREditorSupport(ControlFlowGraph cfg) { 22 | super(cfg); 23 | this.text = new IRTextBuilder().buildDocument(cfg); 24 | } 25 | 26 | @Override 27 | public String getMimeType() { 28 | return MIME_TYPE; 29 | } 30 | 31 | @Override 32 | protected CloneableEditor createCloneableEditor() { 33 | return new IREditor(this); 34 | } 35 | 36 | 37 | @Override 38 | protected void initializeCloneableEditor(CloneableEditor editor) { 39 | super.initializeCloneableEditor(editor); 40 | editor.setIcon(ImageUtilities.loadImage(Icons.IR)); 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/action/CollapseAllAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.action; 2 | 3 | import at.ssw.visualizer.ir.icons.Icons; 4 | import javax.swing.text.JTextComponent; 5 | import org.netbeans.api.editor.fold.FoldHierarchy; 6 | import org.netbeans.api.editor.fold.FoldUtilities; 7 | import org.netbeans.editor.Utilities; 8 | import org.openide.util.HelpCtx; 9 | import org.openide.util.actions.CallableSystemAction; 10 | 11 | public final class CollapseAllAction extends CallableSystemAction { 12 | public void performAction() { 13 | JTextComponent comp = Utilities.getFocusedComponent(); 14 | FoldHierarchy hierarchy = FoldHierarchy.get(comp); 15 | FoldUtilities.collapseAll(hierarchy); 16 | } 17 | 18 | public String getName() { 19 | return "Collapse All"; 20 | } 21 | 22 | @Override 23 | protected String iconResource() { 24 | return Icons.COLLAPSE_ALL; 25 | } 26 | 27 | public HelpCtx getHelpCtx() { 28 | return HelpCtx.DEFAULT_HELP; 29 | } 30 | 31 | @Override 32 | protected boolean asynchronous() { 33 | return false; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/action/ExpandAllAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.action; 2 | 3 | import at.ssw.visualizer.ir.icons.Icons; 4 | import javax.swing.text.JTextComponent; 5 | import org.netbeans.api.editor.fold.FoldHierarchy; 6 | import org.netbeans.api.editor.fold.FoldUtilities; 7 | import org.netbeans.editor.Utilities; 8 | import org.openide.util.HelpCtx; 9 | import org.openide.util.actions.CallableSystemAction; 10 | 11 | public final class ExpandAllAction extends CallableSystemAction { 12 | public void performAction() { 13 | JTextComponent comp = Utilities.getFocusedComponent(); 14 | FoldHierarchy hierarchy = FoldHierarchy.get(comp); 15 | FoldUtilities.expandAll(hierarchy); 16 | } 17 | 18 | public String getName() { 19 | return "Expand All"; 20 | } 21 | 22 | @Override 23 | protected String iconResource() { 24 | return Icons.EXPAND_ALL; 25 | } 26 | 27 | public HelpCtx getHelpCtx() { 28 | return HelpCtx.DEFAULT_HELP; 29 | } 30 | 31 | @Override 32 | protected boolean asynchronous() { 33 | return false; 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/action/ExpandLIRAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.action; 2 | 3 | import at.ssw.visualizer.ir.icons.Icons; 4 | import at.ssw.visualizer.ir.model.IRTextBuilder; 5 | import javax.swing.text.JTextComponent; 6 | import org.netbeans.api.editor.fold.FoldHierarchy; 7 | import org.netbeans.api.editor.fold.FoldUtilities; 8 | import org.netbeans.editor.Utilities; 9 | import org.openide.util.HelpCtx; 10 | import org.openide.util.actions.CallableSystemAction; 11 | 12 | public final class ExpandLIRAction extends CallableSystemAction { 13 | public void performAction() { 14 | JTextComponent comp = Utilities.getFocusedComponent(); 15 | FoldHierarchy hierarchy = FoldHierarchy.get(comp); 16 | FoldUtilities.collapseAll(hierarchy); 17 | FoldUtilities.expand(hierarchy, IRTextBuilder.KIND_LIR); 18 | FoldUtilities.expand(hierarchy, IRTextBuilder.KIND_BLOCK); 19 | } 20 | 21 | public String getName() { 22 | return "Expand LIR"; 23 | } 24 | 25 | @Override 26 | protected String iconResource() { 27 | return Icons.EXPAND_LIR; 28 | } 29 | 30 | public HelpCtx getHelpCtx() { 31 | return HelpCtx.DEFAULT_HELP; 32 | } 33 | 34 | @Override 35 | protected boolean asynchronous() { 36 | return false; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.icons; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public class Icons { 8 | private static final String PATH = "at/ssw/visualizer/ir/icons/"; 9 | 10 | public static final String IR = PATH + "ir.gif"; 11 | public static final String EXPAND_HIR = PATH + "expandhir.gif"; 12 | public static final String EXPAND_LIR = PATH + "expandlir.gif"; 13 | public static final String EXPAND_ALL = PATH + "expandall.gif"; 14 | public static final String COLLAPSE_ALL = PATH + "collapseall.gif"; 15 | 16 | private Icons() { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/collapseall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/collapseall.gif -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/expandall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/expandall.gif -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/expandhir.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/expandhir.gif -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/expandlir.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/expandlir.gif -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/ir.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Intermediate Code Editor/src/at/ssw/visualizer/ir/icons/ir.gif -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/model/IRExample: -------------------------------------------------------------------------------- 1 | B0 <- B6 -> B7,B1 dom B6 [0, 6] std 2 | Locals size 6 [virtual jint java.lang.String.hashCode()] 3 | 0 a6 4 | __bci__use__tid__result___instr___________________________ (HIR) 5 | . 1 4 i7 [R58|I] a6._20 (I) 6 | 6 2 i8 0 7 | . 6 0 v9 if i7 != i8 then B7 else B1 8 | __nr___instr______________________________________________ (LIR) 9 | 8 label [label:0x2d692b4] 10 | 10 move [Base:[R57|L] Disp: 20|I] [R58|I] 11 | 12 cmp [R58|I] [int:0|I] 12 | 14 branch [NE] [B7] 13 | 16 branch [AL] [B1] 14 | -------------------------------------------------------------------------------- /Intermediate Code Editor/src/at/ssw/visualizer/ir/model/NetBeans-IR-fontsColors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Intermediate Code Views/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.ir.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Intermediate Code Views/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.ir.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/ir/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/ir/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Intermediate Code Views/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=a030ac53 2 | build.xml.script.CRC32=da64ec43 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.45.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=a030ac53 7 | nbproject/build-impl.xml.script.CRC32=c3c19f06 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1 9 | -------------------------------------------------------------------------------- /Intermediate Code Views/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Intermediate Code Views/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Intermediate Code Views 2 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/HIRViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/HIRViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/LIRViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/LIRViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/ShowHIRViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows the HIRView component. 9 | * 10 | * @author Bernhard Stiftner 11 | */ 12 | public class ShowHIRViewAction extends AbstractAction { 13 | public ShowHIRViewAction() { 14 | super("HIR View"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | TopComponent win = HIRViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/ShowLIRViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows the LIRView component. 9 | * 10 | * @author Bernhard Stiftner 11 | */ 12 | public class ShowLIRViewAction extends AbstractAction { 13 | public ShowLIRViewAction() { 14 | super("LIR View"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | TopComponent win = LIRViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/ShowStateViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.ir.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.windows.TopComponent; 6 | 7 | /** 8 | * Action which shows the StateView component. 9 | * 10 | * @author Bernhard Stiftner 11 | */ 12 | public class ShowStateViewAction extends AbstractAction { 13 | public ShowStateViewAction() { 14 | super("State View"); 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | TopComponent win = StateViewTopComponent.findInstance(); 19 | win.open(); 20 | win.requestActive(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/StateViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Intermediate Code Views/src/at/ssw/visualizer/ir/view/StateViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Interval Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.interval. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Interval Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.interval 3 | OpenIDE-Module-Layer: at/ssw/visualizer/interval/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/interval/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Interval Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=d8e7386b 2 | build.xml.script.CRC32=2192db8c 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.46.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=d8e7386b 7 | nbproject/build-impl.xml.script.CRC32=2fb41981 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.46.1 9 | -------------------------------------------------------------------------------- /Interval Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Interval Editor/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Interval Editor 2 | -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.interval.icons; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public class Icons { 8 | private static final String PATH = "at/ssw/visualizer/interval/icons/"; 9 | 10 | public static final String INTERVALS = PATH + "intervals.gif"; 11 | 12 | public static final String HSIZE_LARGE = PATH + "hsizelarge.gif"; 13 | public static final String HSIZE_MEDIUM = PATH + "hsizemedium.gif"; 14 | public static final String HSIZE_SMALL = PATH + "hsizesmall.gif"; 15 | public static final String VSIZE_LARGE = PATH + "vsizelarge.gif"; 16 | public static final String VSIZE_MEDIUM = PATH + "vsizemedium.gif"; 17 | public static final String VSIZE_SMALL = PATH + "vsizesmall.gif"; 18 | 19 | private Icons() { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/hsizelarge.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/hsizelarge.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/hsizemedium.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/hsizemedium.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/hsizesmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/hsizesmall.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/intervals.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/intervals.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/vsizelarge.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/vsizelarge.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/vsizemedium.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/vsizemedium.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/icons/vsizesmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Interval Editor/src/at/ssw/visualizer/interval/icons/vsizesmall.gif -------------------------------------------------------------------------------- /Interval Editor/src/at/ssw/visualizer/interval/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Interval View/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.interval.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Interval View/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.interval.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/interval/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/interval/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Interval View/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=c888dd8a 2 | build.xml.script.CRC32=b240785e 3 | build.xml.stylesheet.CRC32=15ca8a54@2.80 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=c888dd8a 7 | nbproject/build-impl.xml.script.CRC32=ff35ade4 8 | nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.80 9 | -------------------------------------------------------------------------------- /Interval View/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Interval View/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Interval View/src/at/ssw/visualizer/interval/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Interval View 2 | -------------------------------------------------------------------------------- /Interval View/src/at/ssw/visualizer/interval/view/IntervalViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Interval View/src/at/ssw/visualizer/interval/view/IntervalViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Interval View/src/at/ssw/visualizer/interval/view/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Native Code Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.nc. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Native Code Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.nc 3 | OpenIDE-Module-Layer: at/ssw/visualizer/nc/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/nc/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Native Code Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=44069d60 2 | build.xml.script.CRC32=3a123232 3 | build.xml.stylesheet.CRC32=a56c6a5b@2.47.2 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=44069d60 7 | nbproject/build-impl.xml.script.CRC32=d370f1d5 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.47.2 9 | -------------------------------------------------------------------------------- /Native Code Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Native Code Editor/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Native Code Editor/release/modules/ext/hcfdis.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Native Code Editor/release/modules/ext/hcfdis.jar -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Native Code Editor 2 | 3 | text/x-compilation-nc=Native Code 4 | nc-whitespace=Whitespace 5 | nc-other=Other 6 | nc-address=Address 7 | nc-instruction=Instruction 8 | nc-register=Register 9 | nc-block=Block 10 | nc-comment=Comment 11 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/NCEditor.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc; 2 | 3 | import at.ssw.visualizer.texteditor.Editor; 4 | import org.openide.windows.CloneableTopComponent; 5 | 6 | /** 7 | * 8 | * @author Alexander Reder 9 | */ 10 | public class NCEditor extends Editor { 11 | 12 | public NCEditor(NCEditorSupport support) { 13 | super(support); 14 | } 15 | 16 | @Override 17 | protected CloneableTopComponent createClonedObject() { 18 | NCEditor editor = new NCEditor((NCEditorSupport) cloneableEditorSupport()); 19 | editor.setActivatedNodes(getActivatedNodes()); 20 | return editor; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/NCEditorSupport.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc; 2 | 3 | import at.ssw.visualizer.model.cfg.ControlFlowGraph; 4 | import at.ssw.visualizer.nc.icons.Icons; 5 | import at.ssw.visualizer.nc.model.NCTextBuilder; 6 | import at.ssw.visualizer.texteditor.EditorSupport; 7 | import org.openide.text.CloneableEditor; 8 | import org.openide.util.ImageUtilities; 9 | 10 | 11 | /** 12 | * 13 | * @author Alexander Reder 14 | */ 15 | public class NCEditorSupport extends EditorSupport { 16 | 17 | public static final String MIME_TYPE = "text/x-compilation-nc"; 18 | 19 | public NCEditorSupport(ControlFlowGraph cfg) { 20 | super(cfg); 21 | this.text = new NCTextBuilder().buildDocument(cfg); 22 | } 23 | 24 | public String getMimeType() { 25 | return MIME_TYPE; 26 | } 27 | 28 | @Override 29 | protected CloneableEditor createCloneableEditor() { 30 | return new NCEditor(this); 31 | } 32 | 33 | @Override 34 | protected void initializeCloneableEditor(CloneableEditor editor) { 35 | super.initializeCloneableEditor(editor); 36 | editor.setIcon(ImageUtilities.loadImage(Icons.NATIVECODE)); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/action/CollapseCommentsAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc.action; 2 | 3 | import at.ssw.visualizer.nc.icons.Icons; 4 | import at.ssw.visualizer.nc.model.NCTextBuilder; 5 | import javax.swing.text.JTextComponent; 6 | import org.netbeans.api.editor.fold.FoldHierarchy; 7 | import org.netbeans.api.editor.fold.FoldUtilities; 8 | import org.netbeans.editor.Utilities; 9 | import org.openide.util.HelpCtx; 10 | import org.openide.util.actions.CallableSystemAction; 11 | 12 | public final class CollapseCommentsAction extends CallableSystemAction { 13 | 14 | public void performAction() { 15 | JTextComponent comp = Utilities.getFocusedComponent(); 16 | FoldHierarchy hierarchy = FoldHierarchy.get(comp); 17 | FoldUtilities.collapse(hierarchy, NCTextBuilder.LIR_BLOCK); 18 | } 19 | 20 | public String getName() { 21 | return "Collapse LIR Comments"; 22 | } 23 | 24 | @Override 25 | protected String iconResource() { 26 | return Icons.COLLAPSE_COMMENTS; 27 | } 28 | 29 | public HelpCtx getHelpCtx() { 30 | return HelpCtx.DEFAULT_HELP; 31 | } 32 | 33 | @Override 34 | protected boolean asynchronous() { 35 | return false; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/action/ExpandCommentsAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc.action; 2 | 3 | import at.ssw.visualizer.nc.icons.Icons; 4 | import at.ssw.visualizer.nc.model.NCTextBuilder; 5 | import javax.swing.text.JTextComponent; 6 | import org.netbeans.api.editor.fold.FoldHierarchy; 7 | import org.netbeans.api.editor.fold.FoldUtilities; 8 | import org.netbeans.editor.Utilities; 9 | import org.openide.util.HelpCtx; 10 | import org.openide.util.actions.CallableSystemAction; 11 | 12 | public final class ExpandCommentsAction extends CallableSystemAction { 13 | 14 | public void performAction() { 15 | JTextComponent comp = Utilities.getFocusedComponent(); 16 | FoldHierarchy hierarchy = FoldHierarchy.get(comp); 17 | FoldUtilities.expand(hierarchy, NCTextBuilder.LIR_BLOCK); 18 | } 19 | 20 | public String getName() { 21 | return "Expand LIR Comments"; 22 | } 23 | 24 | @Override 25 | protected String iconResource() { 26 | return Icons.EXPAND_COMMENTS; 27 | } 28 | 29 | public HelpCtx getHelpCtx() { 30 | return HelpCtx.DEFAULT_HELP; 31 | } 32 | 33 | @Override 34 | protected boolean asynchronous() { 35 | return false; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/icons/Icons.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc.icons; 2 | 3 | /** 4 | * 5 | * @author Alexander Reder 6 | */ 7 | public class Icons { 8 | private static final String PATH = "at/ssw/visualizer/nc/icons/"; 9 | 10 | public static final String NATIVECODE = PATH + "nativecode.gif"; 11 | public static final String EXPAND_COMMENTS = PATH + "expandlir.gif"; 12 | public static final String COLLAPSE_COMMENTS = PATH + "collapselir.gif"; 13 | } 14 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/icons/collapselir.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Native Code Editor/src/at/ssw/visualizer/nc/icons/collapselir.gif -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/icons/expandlir.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Native Code Editor/src/at/ssw/visualizer/nc/icons/expandlir.gif -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/icons/nativecode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/Native Code Editor/src/at/ssw/visualizer/nc/icons/nativecode.gif -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/model/HexCodeFileSupport.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc.model; 2 | 3 | 4 | public class HexCodeFileSupport { 5 | public static String decode(String text) { 6 | return com.oracle.max.hcfdis.HexCodeFileDis.processEmbeddedString(text); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/model/NCExample: -------------------------------------------------------------------------------- 1 | [Entry Point] 2 | B0 <- B6 -> B2,B1 dom B6 [0, 6] std 3 | ;; 8 label [label:0x9ea954] 4 | ;; 10 move [Base:[ecx|L] Disp: 20|I] [eax|I] 5 | 0x00b0087f: movl 0x14(%ecx),%eax 6 | ;; 12 cmp [eax|I] [int:0|I] 7 | 0x00b00882: cmpl $0x0,%eax 8 | ;; 14 branch [NE] [B2] 9 | 0x00b00885: jne 0xb008ce 10 | -------------------------------------------------------------------------------- /Native Code Editor/src/at/ssw/visualizer/nc/model/NetBeans-NC-fontsColors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Native Code View/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.nc.view. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Native Code View/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.nc.view 3 | OpenIDE-Module-Layer: at/ssw/visualizer/nc/view/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/nc/view/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Native Code View/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=f37d7ccd 2 | build.xml.script.CRC32=bd7f5a1f 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.45.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=f37d7ccd 7 | nbproject/build-impl.xml.script.CRC32=0fc23d15 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1 9 | -------------------------------------------------------------------------------- /Native Code View/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Native Code View/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Native Code View/src/at/ssw/visualizer/nc/view/Bundle.properties: -------------------------------------------------------------------------------- 1 | CTL_NCViewAction=NCView 2 | CTL_NCViewTopComponent=NCView Window 3 | HINT_NCViewTopComponent=This is a NCView window 4 | OpenIDE-Module-Name=Native Code View 5 | -------------------------------------------------------------------------------- /Native Code View/src/at/ssw/visualizer/nc/view/NCViewAction.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.nc.view; 2 | 3 | import java.awt.event.ActionEvent; 4 | import javax.swing.AbstractAction; 5 | import org.openide.util.NbBundle; 6 | import org.openide.windows.TopComponent; 7 | 8 | /** 9 | * 10 | * @author Alexander Reder 11 | */ 12 | public class NCViewAction extends AbstractAction { 13 | 14 | public NCViewAction() { 15 | super(NbBundle.getMessage(NCViewAction.class, "CTL_NCViewAction")); 16 | } 17 | 18 | public void actionPerformed(ActionEvent evt) { 19 | TopComponent win = NCViewTopComponent.findInstance(); 20 | win.open(); 21 | win.requestActive(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Native Code View/src/at/ssw/visualizer/nc/view/NCViewTopComponentSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Native Code View/src/at/ssw/visualizer/nc/view/NCViewTopComponentWstcref.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Native Code View/src/at/ssw/visualizer/nc/view/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Text Editor/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer.texteditor. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Text Editor/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer.texteditor 3 | OpenIDE-Module-Layer: at/ssw/visualizer/texteditor/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/texteditor/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Text Editor/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=4ca56a60 2 | build.xml.script.CRC32=eccfca0f 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.45.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=4ca56a60 7 | nbproject/build-impl.xml.script.CRC32=72c794c1 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.45.1 9 | -------------------------------------------------------------------------------- /Text Editor/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Text Editor/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Text Editor 2 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/EditorKit.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.texteditor; 2 | 3 | import at.ssw.visualizer.texteditor.tooltip.ToolTipAction; 4 | import javax.swing.Action; 5 | import javax.swing.text.TextAction; 6 | import org.netbeans.modules.editor.NbEditorKit; 7 | 8 | /** 9 | * Abstract template class of a EditorKit class of the Visualizer. 10 | * 11 | * The scanner field must be initialized with the 12 | * custom Scanner implementation and the method 13 | * getContentType must be overwritten and return the mime type 14 | * for the editor. 15 | * 16 | * @author Alexander Reder 17 | */ 18 | public abstract class EditorKit extends NbEditorKit { 19 | 20 | @Override 21 | protected Action[] getCustomActions() { 22 | Action[] prev = super.getCustomActions(); 23 | Action[] added = new Action[]{new ToolTipAction()}; 24 | if (prev != null) { 25 | return TextAction.augmentList(prev, added); 26 | } else { 27 | return added; 28 | } 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/layer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/model/BlockRegion.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.texteditor.model; 2 | 3 | import at.ssw.visualizer.model.cfg.BasicBlock; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | */ 9 | public class BlockRegion extends TextRegion { 10 | 11 | private BasicBlock block; 12 | 13 | private int nameStart; 14 | private int nameEnd; 15 | 16 | public BlockRegion(BasicBlock block, int start, int end, int nameStart, int nameEnd) { 17 | super(start, end); 18 | this.block = block; 19 | this.nameStart = nameStart; 20 | this.nameEnd = nameEnd; 21 | } 22 | 23 | 24 | public BasicBlock getBlock() { 25 | return block; 26 | } 27 | 28 | public int getNameStart() { 29 | return nameStart; 30 | } 31 | 32 | public int getNameEnd() { 33 | return nameEnd; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/model/FoldingRegion.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.texteditor.model; 2 | 3 | import org.netbeans.api.editor.fold.FoldType; 4 | 5 | /** 6 | * 7 | * @author Christian Wimmer 8 | * @author Alexander Reder 9 | */ 10 | public class FoldingRegion extends TextRegion { 11 | 12 | 13 | private FoldType kind; 14 | private boolean initallyCollapsed; 15 | 16 | 17 | public FoldingRegion(FoldType kind, int start, int end, boolean initiallyCollapsed) { 18 | super(start, end); 19 | this.kind = kind; 20 | this.initallyCollapsed = initiallyCollapsed; 21 | } 22 | 23 | 24 | public FoldType getKind() { 25 | return kind; 26 | } 27 | 28 | public boolean isInitiallyCollapsed() { 29 | return initallyCollapsed; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/model/TextRegion.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.texteditor.model; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | * @author Alexander Reder 7 | */ 8 | public class TextRegion { 9 | 10 | private int start; 11 | private int end; 12 | 13 | public TextRegion(int start, int end) { 14 | this.start = start; 15 | this.end = end; 16 | } 17 | 18 | 19 | public int getStart() { 20 | return start; 21 | } 22 | 23 | public int getEnd() { 24 | return end; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Text Editor/src/at/ssw/visualizer/texteditor/preferences.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Visualizer UI/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Builds, tests, and runs the project at.ssw.visualizer. 7 | 8 | 9 | -------------------------------------------------------------------------------- /Visualizer UI/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | OpenIDE-Module: at.ssw.visualizer 3 | OpenIDE-Module-Layer: at/ssw/visualizer/layer.xml 4 | OpenIDE-Module-Localizing-Bundle: at/ssw/visualizer/Bundle.properties 5 | OpenIDE-Module-Specification-Version: 1.0 6 | 7 | -------------------------------------------------------------------------------- /Visualizer UI/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=887eeedf 2 | build.xml.script.CRC32=3713e294 3 | build.xml.stylesheet.CRC32=a56c6a5b@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=887eeedf 7 | nbproject/build-impl.xml.script.CRC32=6573a706 8 | nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1 9 | -------------------------------------------------------------------------------- /Visualizer UI/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | javac.source=1.5 2 | javac.compilerargs=-Xlint -Xlint:-serial 3 | -------------------------------------------------------------------------------- /Visualizer UI/nbproject/suite.properties: -------------------------------------------------------------------------------- 1 | suite.dir=${basedir}/.. 2 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/Bundle.properties: -------------------------------------------------------------------------------- 1 | OpenIDE-Module-Name=Visualizer UI 2 | 3 | # Coloring profile name 4 | Editors/FontsColors/NetBeans=Default 5 | 6 | # Syntax Colorings 7 | default=Default 8 | 9 | # Highlighting 10 | selection=Selected Text 11 | guarded=Guarded Block 12 | block-search=Search Block 13 | status-bar=Status Bar 14 | status-bar-bold=Bold Status Bar 15 | inc-search=Incremental Search 16 | line-number=Line Number 17 | code-folding-bar=Code Folding Bar 18 | code-folding=Code Folding 19 | highlight-search=Highlight Search 20 | highlight-caret-row=Highlight Caret Row 21 | caret-color-insert-mode=Caret Color 22 | text-limit-line-color=Text Limit Line 23 | at-ssw-visualizer-highlight=Reference Highlights 24 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/DefaultExample: -------------------------------------------------------------------------------- 1 | Default Text 2 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/NetBeans-fontsColors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/bottomLeftWsmode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/bottomRightWsmode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/core/focus/Focus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this template, choose Tools | Templates 3 | * and open the template in the editor. 4 | */ 5 | 6 | package at.ssw.visualizer.core.focus; 7 | 8 | import at.ssw.visualizer.core.selection.SelectionProvider; 9 | import org.openide.windows.TopComponent; 10 | 11 | public class Focus { 12 | public static interface SelectionClosure { 13 | public boolean matches(TopComponent tc); 14 | } 15 | 16 | public static boolean findEditor(Class c, Object data) { 17 | for (TopComponent tc : TopComponent.getRegistry().getOpened()) { 18 | if (tc.getClass() == c && ((SelectionProvider)tc).getSelection().get(data.getClass()) == data) { 19 | // WindowManager wm = WindowManager.getDefault(); 20 | // Mode mode = wm.findMode(tc); 21 | // if(mode != null && mode != wm.getCurrentMaximizedMode()) { 22 | // wm.switchMaximizedMode(null); 23 | // } 24 | tc.requestActive(); 25 | return true; 26 | } 27 | } 28 | return false; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/core/selection/SelectionProvider.java: -------------------------------------------------------------------------------- 1 | package at.ssw.visualizer.core.selection; 2 | 3 | /** 4 | * 5 | * @author Christian Wimmer 6 | */ 7 | public interface SelectionProvider { 8 | public Selection getSelection(); 9 | } 10 | -------------------------------------------------------------------------------- /Visualizer UI/src/at/ssw/visualizer/leftWsmode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /branding.jnlp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ${app.title} 6 | ${app.title} vendor 7 | ${app.name} application 8 | 9 | 10 | ${jnlp.permissions} 11 | 12 | ${jnlp.branding.jars} 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /branding/core/core.jar/org/netbeans/core/startup/Bundle.properties: -------------------------------------------------------------------------------- 1 | #Updated by 'ant build-brand' 2 | #Wed, 29 Nov 2017 10:09:05 +0100 3 | currentVersion=Java HotSpot Client Compiler Visualizer 1.7 4 | LBL_splash_window_title=Starting Java HotSpot Client Compiler Visualizer 5 | SplashProgressBarBounds=0,258,472,3 6 | SplashProgressBarColor=0x80 7 | SplashRunningTextBounds=15,245,452,12 8 | SplashRunningTextColor=0x80 9 | -------------------------------------------------------------------------------- /branding/core/core.jar/org/netbeans/core/startup/frame.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/branding/core/core.jar/org/netbeans/core/startup/frame.gif -------------------------------------------------------------------------------- /branding/core/core.jar/org/netbeans/core/startup/frame48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/branding/core/core.jar/org/netbeans/core/startup/frame48.gif -------------------------------------------------------------------------------- /branding/core/core.jar/org/netbeans/core/startup/splash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisseaton/c1visualizer/a8568ae552c68a21784bf71bcaffa57b64ad552a/branding/core/core.jar/org/netbeans/core/startup/splash.gif -------------------------------------------------------------------------------- /branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties: -------------------------------------------------------------------------------- 1 | #Updated by 'ant build-brand' 2 | #Wed, 29 Nov 2017 10:09:05 +0100 3 | CTL_MainWindow_Title=Java HotSpot Client Compiler Visualizer 1.7 4 | CTL_MainWindow_Title_No_Project=Java HotSpot Client Compiler Visualizer 1.7 5 | -------------------------------------------------------------------------------- /master.jnlp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ${app.title} 6 | ${app.title} vendor 7 | ${app.name} application 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | --branding 23 | ${branding.token} 24 | 25 | 26 | -------------------------------------------------------------------------------- /nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=0207e819 2 | build.xml.script.CRC32=67214d23 3 | build.xml.stylesheet.CRC32=eaf9f76a@1.42.1 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=0207e819 7 | nbproject/build-impl.xml.script.CRC32=bc268f90 8 | nbproject/build-impl.xml.stylesheet.CRC32=473dc988@2.80 9 | nbproject/platform.xml.data.CRC32=0207e819 10 | nbproject/platform.xml.script.CRC32=db9e1f43 11 | nbproject/platform.xml.stylesheet.CRC32=df8ac4dd@2.50.1 12 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.apisupport.project.suite 4 | 5 | 6 | C1Visualizer 7 | 8 | 9 | 10 | --------------------------------------------------------------------------------