Java Doc for EditorDescriptor.java in » IDE-Eclipse » ui-workbench » org » eclipse » ui » internal » registry » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
IDE Eclipse
»
ui workbench
»
org.eclipse.ui.internal.registry
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.eclipse.ui.internal.registry
.EditorDescriptor
EditorDescriptor
final
public
class EditorDescriptor implements
IEditorDescriptor
,
Serializable
,
IPluginContribution
(Code)
See Also:
IEditorDescriptor
Field Summary
final
public
static int
OPEN_EXTERNAL
Open external constant.
final
public
static int
OPEN_INPLACE
Open in place constant.
final
public
static int
OPEN_INTERNAL
Open internal constant.
Constructor Summary
EditorDescriptor
(
String
id2, IConfigurationElement element)
Create a new instance of an editor descriptor.
EditorDescriptor
()
Create a new instance of an editor descriptor.
Method Summary
public
IEditorActionBarContributor
createActionBarContributor
()
Create the editor action bar contributor for editors of this type.
public
IEditorPart
createEditor
()
Create an editor part based on this descriptor.
public
static
EditorDescriptor
createForProgram
(
String
filename)
Creates a descriptor for an external program.
public
String
getClassName
()
Return the editor class name.
public
IConfigurationElement
getConfigurationElement
()
Return the configuration element used to define this editor, or
null
.
public
IEditorMatchingStrategy
getEditorMatchingStrategy
()
public
String
getFileName
()
Return the file name of the command to execute for this editor.
public
String
getId
()
Return the id for this editor.
public
ImageDescriptor
getImageDescriptor
()
Return the image descriptor describing this editor.
public
String
getImageFilename
()
The name of the image describing this editor.
public
String
getLabel
()
Return the user printable label for this editor.
public
String
getLauncher
()
Returns the class name of the launcher.
public
String
getLocalId
()
public
String
getPluginID
()
Return the contributing plugin id.
public
String
getPluginId
()
public
Program
getProgram
()
Get the program for the receiver if there is one.
public
boolean
isInternal
()
public
boolean
isOpenExternal
()
public
boolean
isOpenInPlace
()
protected
boolean
loadValues
(
IMemento
memento)
Load the object properties from a memento.
protected
void
saveValues
(
IMemento
memento)
void
setClassName
(
String
newClassName)
Set the class name of an internal editor.
void
setConfigurationElement
(IConfigurationElement newConfigurationElement)
Set the configuration element which contributed this editor.
void
setFileName
(
String
aFileName)
Set the filename of an external editor.
void
setID
(
String
anID)
Set the id of the editor.
void
setImageDescriptor
(ImageDescriptor desc)
void
setImageFilename
(
String
aFileName)
The name of the image to use for this editor.
void
setLauncher
(
String
newLauncher)
void
setName
(
String
newName)
The label to show for this editor.
public
void
setOpenMode
(int mode)
Sets the open mode of this editor descriptor.
void
setPluginIdentifier
(
String
anID)
The id of the plugin which contributed this editor, null for external editors.
void
setProgram
(Program newProgram)
Set the receivers program.
public
String
toString
()
For debugging purposes only.
Field Detail
OPEN_EXTERNAL
final
public
static int OPEN_EXTERNAL
(Code)
Open external constant. Value
0x04
.
OPEN_INPLACE
final
public
static int OPEN_INPLACE
(Code)
Open in place constant. Value
0x02
.
OPEN_INTERNAL
final
public
static int OPEN_INTERNAL
(Code)
Open internal constant. Value
0x01
.
Constructor Detail
EditorDescriptor
EditorDescriptor(
String
id2, IConfigurationElement element)
(Code)
Create a new instance of an editor descriptor. Limited to internal framework calls.
Parameters:
element -
Parameters:
id2 -
EditorDescriptor
EditorDescriptor()
(Code)
Create a new instance of an editor descriptor. Limited to internal framework calls.
Method Detail
createActionBarContributor
public
IEditorActionBarContributor
createActionBarContributor()
(Code)
Create the editor action bar contributor for editors of this type. the action bar contributor, or
null
createEditor
public
IEditorPart
createEditor() throws CoreException
(Code)
Create an editor part based on this descriptor. the editor part
throws:
CoreException - thrown if there is an issue creating the editor
createForProgram
public
static
EditorDescriptor
createForProgram(
String
filename)
(Code)
Creates a descriptor for an external program.
Parameters:
filename - the external editor full path and filename the editor descriptor
getClassName
public
String
getClassName()
(Code)
Return the editor class name. the class name
getConfigurationElement
public
IConfigurationElement getConfigurationElement()
(Code)
Return the configuration element used to define this editor, or
null
. the element or null
getEditorMatchingStrategy
public
IEditorMatchingStrategy
getEditorMatchingStrategy()
(Code)
getFileName
public
String
getFileName()
(Code)
Return the file name of the command to execute for this editor. the file name to execute
getId
public
String
getId()
(Code)
Return the id for this editor. the id
getImageDescriptor
public
ImageDescriptor getImageDescriptor()
(Code)
Return the image descriptor describing this editor. the image descriptor
getImageFilename
public
String
getImageFilename()
(Code)
The name of the image describing this editor. the image file name
getLabel
public
String
getLabel()
(Code)
Return the user printable label for this editor. the label
getLauncher
public
String
getLauncher()
(Code)
Returns the class name of the launcher. the launcher class name
getLocalId
public
String
getLocalId()
(Code)
getPluginID
public
String
getPluginID()
(Code)
Return the contributing plugin id. the contributing plugin id
getPluginId
public
String
getPluginId()
(Code)
getProgram
public
Program getProgram()
(Code)
Get the program for the receiver if there is one. Program
isInternal
public
boolean isInternal()
(Code)
isOpenExternal
public
boolean isOpenExternal()
(Code)
isOpenInPlace
public
boolean isOpenInPlace()
(Code)
loadValues
protected
boolean loadValues(
IMemento
memento)
(Code)
Load the object properties from a memento.
true
if the values are valid,
false
otherwise
saveValues
protected
void saveValues(
IMemento
memento)
(Code)
Save the object values in a IMemento
setClassName
void setClassName(
String
newClassName)
(Code)
Set the class name of an internal editor.
setConfigurationElement
void setConfigurationElement(IConfigurationElement newConfigurationElement)
(Code)
Set the configuration element which contributed this editor.
setFileName
void setFileName(
String
aFileName)
(Code)
Set the filename of an external editor.
setID
void setID(
String
anID)
(Code)
Set the id of the editor. For internal editors this is the id as provided in the extension point For external editors it is path and filename of the editor
setImageDescriptor
void setImageDescriptor(ImageDescriptor desc)
(Code)
The Image to use to repesent this editor
setImageFilename
void setImageFilename(
String
aFileName)
(Code)
The name of the image to use for this editor.
setLauncher
void setLauncher(
String
newLauncher)
(Code)
Sets the new launcher class name
Parameters:
newLauncher - the new launcher
setName
void setName(
String
newName)
(Code)
The label to show for this editor.
setOpenMode
public
void setOpenMode(int mode)
(Code)
Sets the open mode of this editor descriptor.
Parameters:
mode - the open mode
setPluginIdentifier
void setPluginIdentifier(
String
anID)
(Code)
The id of the plugin which contributed this editor, null for external editors.
setProgram
void setProgram(Program newProgram)
(Code)
Set the receivers program.
Parameters:
newProgram -
toString
public
String
toString()
(Code)
For debugging purposes only.
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.