- aggiunte classi e costanti per gestione plugin in EgtCAM5
This commit is contained in:
@@ -234,6 +234,8 @@
|
||||
<Compile Include="btnZoomOut.vb">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PluginUtility\ConstPlugin.vb" />
|
||||
<Compile Include="PluginUtility\IControl.vb" />
|
||||
<Compile Include="Controller.vb" />
|
||||
<Compile Include="EgtInterface.vb" />
|
||||
<Compile Include="gbLookFrom.Designer.vb">
|
||||
@@ -258,6 +260,7 @@
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="PluginUtility\IPluginConfigData.vb" />
|
||||
<Compile Include="rbtnHiddenLine.Designer.vb">
|
||||
<DependentUpon>rbtnHiddenLine.vb</DependentUpon>
|
||||
</Compile>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
Public Module ConstPlugin
|
||||
|
||||
Public Const PLUGIN_CONFIGURATION_DATA As String = "ConfigurationData"
|
||||
|
||||
Public Const PLUGIN_LEFT_TRAY As String = "LeftTray"
|
||||
Public Const PLUGIN_RIGHT_TRAY As String = "RightTray"
|
||||
|
||||
End Module
|
||||
@@ -0,0 +1,8 @@
|
||||
Public Interface IPluginControl
|
||||
|
||||
ReadOnly Property DockSide As DockStyle
|
||||
|
||||
Event UpdateProjectName(ProjectName As String)
|
||||
Event UpdateUI()
|
||||
|
||||
End Interface
|
||||
@@ -0,0 +1,38 @@
|
||||
Imports System.Collections.Generic
|
||||
|
||||
Public Interface IPluginConfigData
|
||||
|
||||
ReadOnly Property ControlList As List(Of PluginControl)
|
||||
|
||||
End Interface
|
||||
|
||||
' visibilita' dei pannelli grafici
|
||||
Public Enum ViewPanelStates As Integer
|
||||
NEVER = 0
|
||||
ONLYDRAW = 1
|
||||
ONLYMACHINING = 2
|
||||
ALWAYS = 3
|
||||
End Enum
|
||||
|
||||
Public Class PluginControl
|
||||
|
||||
Private m_ViewPanelState As ViewPanelStates
|
||||
Public ReadOnly Property ViewPanelState As ViewPanelStates
|
||||
Get
|
||||
Return m_ViewPanelState
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Private m_Name As String
|
||||
Public ReadOnly Property Name As String
|
||||
Get
|
||||
Return m_Name
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Sub New(Name As String, ViewPanelState As ViewPanelStates)
|
||||
m_Name = Name
|
||||
m_ViewPanelState = ViewPanelState
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
Reference in New Issue
Block a user