本文整理汇总了Java中org.openide.explorer.propertysheet.InplaceEditor类的典型用法代码示例。如果您正苦于以下问题:Java InplaceEditor类的具体用法?Java InplaceEditor怎么用?Java InplaceEditor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
InplaceEditor类属于org.openide.explorer.propertysheet包,在下文中一共展示了InplaceEditor类的17个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new ButtonInplaceEditor("Emit!");
ed.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
SceneApplication.getApplication().enqueue(new Callable<Object>() {
public Object call() throws Exception {
pe.getEmitter().killAllParticles();
pe.getEmitter().emitAllParticles();
return null;
}
});
}
});
}
return ed;
}
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:22,代码来源:JmeParticleEmitterButtonProperty.java
示例2: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
@Override
public InplaceEditor getInplaceEditor() {
if (editor == null) {
editor = new PasswordInplaceEditor();
}
return editor;
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:RemotePlatformNode.java
示例3: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
@Override
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new ButtonInplaceEditor("Refresh");
ed.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
SceneApplication.getApplication().enqueue(new Callable<Object>() {
@Override
public Object call() throws Exception {
EnvironmentCamera envCam = SceneApplication.getApplication().getStateManager().getState(EnvironmentCamera.class);
SceneToolController toolController = SceneApplication.getApplication().getStateManager().getState(SceneToolController.class);
if (toolController != null) {
envCam.setPosition(toolController.getCursorLocation());
} else {
envCam.setPosition(new Vector3f(0, 0, 0));
}
LightProbeFactory.updateProbe(probe.getLightProbe(), envCam, spatial, new JmeLightProbeProgressHandler());
probe.setModified();
return null;
}
});
}
});
}
return ed;
}
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:28,代码来源:JmeLightProbeButtonProperty.java
示例4: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
@Override
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new ComboBoxInplaceEditor(modelerFile, comboBoxListener);
}
return ed;
}
开发者ID:jeddict,项目名称:NBModeler,代码行数:8,代码来源:ComboBoxPropertyEditorSupport.java
示例5: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
/**
* Fetch or create an inplace editor instance.
*
* @return An inplace editor instance
*/
@Override
public InplaceEditor getInplaceEditor() {
if (em == null) { // only do this once
em = ((ExplorerManager.Provider) WindowManager.getDefault().findTopComponent("DataNavigatorTopComponent")).getExplorerManager();
}
return new CutterInplaceEditor();
}
开发者ID:billooms,项目名称:COrnLathe,代码行数:13,代码来源:CutterEditorInplace.java
示例6: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
/**
* Fetch or create an inplace editor instance.
*
* @return An inplace editor instance
*/
@Override
public InplaceEditor getInplaceEditor() {
if (em == null) { // only do this once
em = ((ExplorerManager.Provider) WindowManager.getDefault().findTopComponent("DataNavigatorTopComponent")).getExplorerManager();
}
return new ProfileInplaceEditor();
}
开发者ID:billooms,项目名称:COrnLathe,代码行数:13,代码来源:ProfileEditorInplace.java
示例7: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
/**
* Fetch or create an inplace editor instance.
*
* @return An inplace editor instance
*/
@Override
public InplaceEditor getInplaceEditor() {
if (em == null) { // only do this once
em = ((ExplorerManager.Provider) WindowManager.getDefault().findTopComponent("DataNavigatorTopComponent")).getExplorerManager();
}
return new PatternInplaceEditor();
}
开发者ID:billooms,项目名称:COrnLathe,代码行数:13,代码来源:PatternEditorInplace.java
示例8: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new Inplace();
//ed.addActionListener(this);
}
return ed;
}
开发者ID:opensim-org,项目名称:opensim-gui,代码行数:8,代码来源:BodyNameEditor.java
示例9: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new Inplace();
///ed.setValue(value);
}
return ed;
}
开发者ID:opensim-org,项目名称:opensim-gui,代码行数:8,代码来源:DisplayPreferenceEditor.java
示例10: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new Inplace();
}
return ed;
}
开发者ID:opensim-org,项目名称:opensim-gui,代码行数:8,代码来源:FrameNameEditor.java
示例11: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
@Override
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new InplaceUserManagerSwitch(scenario);
}
return ed;
}
开发者ID:donatellosantoro,项目名称:Llunatic,代码行数:8,代码来源:UserManagerSwitch.java
示例12: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public InplaceEditor getInplaceEditor() {
if (ed == null) {
Collection<String> costManager = costManagerProvider.getAll();
// JComboBox comboBox = new JComboBox<ICostManager>(costManager.toArray(new ICostManager[costManager.size()]));
JComboBox comboBox = new JComboBox(costManager.toArray(new String[costManager.size()]));
comboBox.setEditable(false);
ed = new InplaceComboBoxEditor(comboBox);
}
return ed;
}
开发者ID:donatellosantoro,项目名称:Llunatic,代码行数:13,代码来源:CostManagerEditor.java
示例13: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public InplaceEditor getInplaceEditor() {
if (ed == null) {
Collection<IUserManager> userManagers = userManagerProvider.getAll(scenario);
JComboBox comboBox = new JComboBox(userManagers.toArray(new IUserManager[userManagers.size()]));
comboBox.setEditable(false);
ed = new InplaceComboBoxEditor(comboBox);
}
return ed;
}
开发者ID:donatellosantoro,项目名称:Llunatic,代码行数:12,代码来源:UserManagerEditor.java
示例14: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
return editor;
}
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:4,代码来源:VectorPropertyEditor.java
示例15: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
return ed;
}
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:4,代码来源:SliderPropertyEditor.java
示例16: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
public InplaceEditor getInplaceEditor() {
if (ed == null) {
ed = new Inplace();
}
return ed;
}
开发者ID:opensim-org,项目名称:opensim-gui,代码行数:7,代码来源:SliderPropertyEditor.java
示例17: getInplaceEditor
import org.openide.explorer.propertysheet.InplaceEditor; //导入依赖的package包/类
/**
* Fetch or create an inplace editor instance.
*
* @return An inplace editor instance
*/
@Override
public InplaceEditor getInplaceEditor() {
return new ProfileInplaceEditor();
}
开发者ID:billooms,项目名称:COrnLathe,代码行数:10,代码来源:SpiralEditorInplace.java
注:本文中的org.openide.explorer.propertysheet.InplaceEditor类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论