本文整理汇总了Java中eu.mihosoft.vrl.system.VPluginAPI类的典型用法代码示例。如果您正苦于以下问题:Java VPluginAPI类的具体用法?Java VPluginAPI怎么用?Java VPluginAPI使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
VPluginAPI类属于eu.mihosoft.vrl.system包,在下文中一共展示了VPluginAPI类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: register
import eu.mihosoft.vrl.system.VPluginAPI; //导入依赖的package包/类
@Override
public void register(PluginAPI api) {
//
VPluginAPI vapi = (VPluginAPI) api;
vapi.addAction(new VAction("NeuGen-Test") {
@Override
public void actionPerformed(ActionEvent e, Object owner) {
NeuGenApp.main(logPropFile, new String[]{});
}
}, ActionDelelator.TOOL_MENU);
vapi.addTypeRepresentation(VCanvas3DType.class);
vapi.addComponent(DensityVisualizationParamsInput.class);
}
示例2: register
import eu.mihosoft.vrl.system.VPluginAPI; //导入依赖的package包/类
@Override
public void register(PluginAPI api) {
// register plugin with canvas
if (api instanceof VPluginAPI) {
VPluginAPI vapi = (VPluginAPI) api;
vapi.addComponent(SWCLoadStackComponent.class);
vapi.addComponent(ComputeSWCDensity.class);
vapi.addComponent(ComputeSWCDistance.class);
// vapi.addTypeRepresentation(MyType.class);
}
}
开发者ID:stephanmg,项目名称:VRL-SWC-Density-Vis,代码行数:12,代码来源:SWCDensityVisualizationPluginConfigurator.java
示例3: register
import eu.mihosoft.vrl.system.VPluginAPI; //导入依赖的package包/类
@Override
public void register(PluginAPI api) {
// register plugin with canvas
if (api instanceof VPluginAPI) {
VPluginAPI vapi = (VPluginAPI) api;
// Register visual components:
//
// Here you can add additional components,
// type representations, styles etc.
//
// ** NOTE **
//
// To ensure compatibility with future versions of VRL,
// you should only use the vapi or api object for registration.
// If you directly use the canvas or its properties, please make
// sure that you specify the VRL versions you are compatible with
// in the constructor of this plugin configurator because the
// internal api is likely to change.
//
// examples:
//
// vapi.addComponent(MyComponent.class);
// vapi.addTypeRepresentation(MyType.class);
// vapi.addComponent(NeuronComponent01.class);
vapi.addComponent(AMPA.class);
vapi.addComponent(NMDA.class);
vapi.addComponent(PMCA.class);
vapi.addComponent(NCX.class);
vapi.addComponent(Mapper.class);
vapi.addComponent(HOC.class);
vapi.addTypeRepresentation(InterpreterType.class);
vapi.addComponent(Solver.class);
// vapi.addComponent(AdvecetionDiffusion.class);
}
}
示例4: register
import eu.mihosoft.vrl.system.VPluginAPI; //导入依赖的package包/类
@Override
/**
* @brief register components
* @param api
*/
public void register(PluginAPI api) {
// register plugin with canvas
if (api instanceof VPluginAPI) {
VPluginAPI vapi = (VPluginAPI) api;
/// defaults
vapi.addComponent(MembranePotentialMapping.class);
vapi.addComponent(MembranePotentialMappingSolver.class);
/// types
vapi.addTypeRepresentation(ClampType.class);
vapi.addTypeRepresentation(ClampArrayType.class);
vapi.addTypeRepresentation(LoadHOCFileStringType.class);
vapi.addTypeRepresentation(LoadHOCFileType.class);
vapi.addTypeRepresentation(SectionType.class);
vapi.addTypeRepresentation(SectionArrayType.class);
vapi.addTypeRepresentation(DoubleSliderType.class);
/// userdata
vapi.addComponent(Clamp.class);
/// util
vapi.addComponent(PlotFile.class);
/// hoc
vapi.addComponent(HOCExecuteStatement.class);
vapi.addComponent(HOCGeometryLoader.class);
vapi.addComponent(HOCStimulationLoader.class);
vapi.addComponent(HOCTimeStepper.class);
vapi.addComponent(HOCCleanup.class);
vapi.addComponent(HOCMembraneMechanismInserter.class);
vapi.addComponent(IClamp.class);
vapi.addComponent(VClamp.class);
vapi.addComponent(SEClamp.class);
}
}
开发者ID:NeuroBox3D,项目名称:VRL-Neuron-Plugin,代码行数:44,代码来源:MembranePotentialMappingPluginConfigurator.java